Problem specifiying Proxy for deploy user

I have a job that triggers Microsoft Windows update using powershell module pswindowsupdate. To install module it uses Nuget. In our environment we have to specify wpad file to reach internet. Step one removes the check mark next to automatically detect setting. The second step sets the wpad file using command. reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v AutoConfigURL /t REG_SZ /d "http://<wpad file>.dat" /f. When it comes time to download the module it fails with following error:

WARNING: Unable to download from URI '' to ''.
WARNING: Unable to download the list of available providers. Check your internet connection.

When I log into workstation and run the command in powershell, it works. It just doesn't work from PDQ Deploy. Is there a way to specify wpad file for deploy user?



1 comment
Date Votes
  • Official comment

    To my knowledge, that method of setting a proxy only works for interactive sessions which is why is works when you sign in to perform that action but fails when you run it using PDQ Deploy. You might have better success using DHCP option 252 or use netsh winhttp to set the proxy manually in the job before saving the file.

    Configure device proxy and Internet connection settings | Microsoft Docs

Please sign in to leave a comment.

Didn't find what you were looking for?

New post