(imported topic written by weberch)
When we created our corporate image a year ago, it was decided that we should remove the Windows Update service so that end users could not update I.E., java, etc. In retrospect it wasn’t the wise choice.
Now we have Win7 patches failing due to the service missing. We need to re-install the service.
The following commands will work when run at the local level (with local admin rights), but they do not work properly when run in TEM. the commands run successfully, however the service isn’t installed (due to the account that is running the command I suspect.
// register DLLS to enable Windows Update Service
wait cmd.exe /C c:\windows\SysWOW64\Regsvr32.exe /s c:\windows\SysWOW64\wuapi.dll
wait cmd.exe /C c:\windows\SysWOW64\Regsvr32.exe /s c:\windows\SysWOW64\wuaueng.dll
wait cmd.exe /C c:\windows\SysWOW64\Regsvr32.exe /s c:\windows\SysWOW64\wups.dll
wait cmd.exe /C c:\windows\SysWOW64\Regsvr32.exe /s c:\windows\SysWOW64\wups2.dll
wait cmd.exe /C c:\windows\SysWOW64\Regsvr32.exe /s c:\windows\SysWOW64\wuwebv.dll
wait cmd.exe /C c:\windows\SysWOW64\Regsvr32.exe /s c:\windows\SysWOW64\wucltux.dll
I am looking for thoughts on how to modify the action script above in order to get the service to install. (on Win7 32 and 64)
Thank you for any information you may have.