Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Need to turn off the Windows 7 Automatic Driver Installation and Automatic Windows Update using Powershell

$
0
0

Hi - I just started learning Powershell a couple months ago.  Posted once on this forum when I was just getting started and people were very helpful with directing me to links for the basics.

I am writing a Powershell script to automate a Windows 7 PC build.  Have been doing fairly well getting a lot of things done (adding user accounts, changing passwords, changing the computer name, adding printer drivers and printers, et al), but I'm running into a wall trying to find anything online that tells how to use Powershell toturn OFF the Windows 7 Automatic Driver Installation (becomes a big problem when the system tries to install a driver that does not work with some of our devices) or how toturn off the Automatic Windows Update (we will update as needed as we go along). 

I of course know how to do these manually - "change device installation settings" and click on "No, let me choose what to do," then "Never install drivers software from Windows Update".  And for Windows Update, go to "change settings" and choose "Never check for updates (not recommended)" under "Important updates".  I would also need to uncheck "allow all users to install updates on this computer."

How can I change to those settings via Powershell?

Thank you!


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>