1
I'd like to create a Batch file that I can then remotely execute on machines in a workgroup in order to point them at a WSUS installation. I understand it is via the use registry keys:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\WUServer
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\WUStatusServer
And then the following key set to 1:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
Then to run a wuauclt /reportnow and /detectnow.
Is this possible via batch? Can you create and edit registry keys via batch files?
Thanks!