Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When we are applying the hotfix https://support.microsoft.com/kb/970635 we would required to modify the registry value HKEY_LOCAL_MACHINE\Software\Microsoft\Sms\Mobile Client\Reboot Management\JobCounter to zero for the systems which has already been havingthis issue.
As a part of this we need to do these three steps
- Stop the SMS Agent Host (CcmExec.exe) service on a System Center Configuration Manager 2007 SP1 client computer.
- Location the following registry subkey and change its value to 0:
HKEY_LOCAL_MACHINE\Software\Microsoft\Sms\Mobile Client\Reboot Management\JobCounter - Start the SMS Agent Host (ccmExec.exe) service on the client computer
Script is
=============================================================
'This script will modify the registry value HKEY_LOCAL_MACHINE\Software\Microsoft\Sms\Mobile Client\Reboot Management\JobCounter to Zero.
Dim objShell, RegLocate, RegLocate1
Set objShell = WScript.CreateObject("WScript.Shell")
On Error Resume Next
RegLocate = "HKEY_LOCAL_MACHINE\Software\Microsoft\Sms\Mobile Client\Reboot Management\JobCounter"
objShell.RegWrite RegLocate,"0","REG_DWORD"
WScript.Quit
==============================================================
Hope this will be helpful