Hey everyone,
I have a problem I am hoping one of you could solve.
1. If you open GPEDIT.MSC As Admin
2.Then navigate to “Computer Configuration > Administrative Templates > Windows Components > Windows Update
3. You’ll see "Specify intranet Microsoft update service location"
I want to use Powershell to set that to “Not Configured”. Because in our enviroment it is set to Enabled.
I’ve configured it through GPEDIT and found that it deletes 3 registry keys and doesn’t change any other values under the registry keys listed below. I know because I took screen shots and compaired.
Under HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate it deletes:
- WUServer
- WUStatusServer
And Under HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU it deletes:
- UseWUServer
I have a Test Machine that is a VM and I have created a snapshot before I began doing anything. So When I restored my VM to a prior snapshot, I tried deleting these 3 keys myself then starting up GPEDIT.MSC and it was still set to Enabled. So I rebooted and checked again, still…Enabled.
According to a spreadsheet I downloaded from Microsoft it only lists that location for that particular policy. I also scoured the net and each page I found also lists that location. So right now, I am at a loss. My theory is there is 1 or more keys someplace else in the registry that needs to be changed and/or deleted besides the keys I mentioned above.
If someone can point me in the right direction, I would much appreciate it. Remember GPEDIT is a Local Policy Editor. So I shouldn't have to do anything Server Side to a GPO.