I've got a script which runs when a user switches off their machine that checks the value in the registry key 'HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\AUState' and if it's a 5, adds it into an ini file. This is the current state of a windows 'automatic update' at the time of shutdown (5 being Install Pending. During the night all the machines in the ini file are switched on by wol, finish the install and switch back off again, thus avoiding any restarts during the day.
This worked fine when I was using an SUS V2 update server. Now we are using a WSUS and all i'm getting in my log file is a blank entry (,,) instead of the value of the registry key (,5,).
Does anyone know if things have changed somewhere along the lines, i.e. Does windows still use the "AUState" registry key?
Apologies if this is not very clear. This is what we are using
Thanks in advance
Griff
This worked fine when I was using an SUS V2 update server. Now we are using a WSUS and all i'm getting in my log file is a blank entry (,,) instead of the value of the registry key (,5,).
Does anyone know if things have changed somewhere along the lines, i.e. Does windows still use the "AUState" registry key?
Apologies if this is not very clear. This is what we are using
Thanks in advance
Griff