Is there a way to find out if a Windows 7 workstation has updates turned off in the control panel?

0

I have a domain with a group policy to run updates every night at 3AM.

If the computer is turned off, the next time a user logs into the computer, the updates are downloaded. When the users shuts down the computer, the updates are installed.

I noticed by chance that a couple of computers had their windows updates completely turned off in control panel. I'm wondering how this could happen, considering that all of the computer are joined to the domain and part of an OU that gets the Windows Updates GPO.

Lastly, I was wondering if there is a powershell script that I could run to check which computers have automatic updates turned off.

David Killingsworth

Posted 2014-03-18T16:38:23.173

Reputation: 3

I'd look at ways to prevent turning off updates, or to control it remotely. As they say, an ounce of prevention is worth a pound of cure. – vonbrand – 2014-03-18T17:20:21.270

Answers

1

You can check the status of the service on a remote system using Windows in-built sc (service control) command line utility:

sc \\<computer name or IP> query wuauserv

You could use that in a script in combination with a list of computer names to check the status on many systems.

IMO you're better off just taking control of the service(s)...

You can use Group Policy to force the start up of the Windows Update service to "automatic".

Look under Computer Configuration -> Windows Settings -> Security Settings -> System Services

It may take a reboot or two after the policy is set for it to take effect (one reboot to apply the policy, and one reboot to actually enable the service if it was previously disabled).

Ƭᴇcʜιᴇ007

Posted 2014-03-18T16:38:23.173

Reputation: 103 763

Hi, it turned out that the GPO that I thought that I had in place to force Windows updates at 3AM was not actually enabled or linked to an OU. – David Killingsworth – 2014-11-05T04:51:22.733