Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Turning off Windows 7 Automatic Driver Installation and Windows Automatic Update

$
0
0

I am writing a Powershell script (and I am brand new to Powershell) to automatically build Windows 7 PCs.  I've gotten pretty far along, but am NOT finding anything on how to turn off Windows 7 Automatic Driver Installation (most of the pre-loaded driver do NOT work for us) and to turn off Windows Automatic Update (we want to update what we want, when we want). 

I did however find a reg key which SHOULD work for Windows 7 Automatic Driver Installation and the Powershell command does change the Dword value for me:

Set-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching -Name SearchOrderConfig -Value 3

The Value of 3 SHOULD change it to

"No, let me choose what to do, Never install driver software from Windows update"

but even after trying a reboot, it still has the setting of "Yes, do this automatically" instead.  Why isn't it changing?

Does anyone know a better way to turn off Windows Automatic Driver Installation and Windows Automatic Update??

 

Thank you,
Eric


Viewing all articles
Browse latest Browse all 8583

Trending Articles