The following script is to reset the Windows Update service on a Windows based machine.
@ECHO OFF
REM ---------------------------------------------------------------------------
REM AUTHOR: Peter A. Koshakji
REM DATE: 6/15/2009
REM Batch file to fix the Windows Update Service Server 2003
REM Examples: Failed Installs/Blank Screen/Active X Issues.
REM Operating Systems: Server 2003 (Standard/Enterprise/Web/Datacenter)
REM http://support.microsoft.com/kb/555989
TITLE Fix Windows Update Service
COLOR 0e
ECHO Reregister DLL files for the windows update service.
regsvr32 c:\windows\system32\vbscript.dll
regsvr32 c:\windows\system32\mshtml.dll
regsvr32 c:\windows\system32\msjava.dll
regsvr32 c:\windows\system32\jscript.dll
regsvr32 c:\windows\system32\msxml.dll
regsvr32 c:\windows\system32\actxprxy.dll
regsvr32 c:\windows\system32\shdocvw.dll
REM Stop the Windows Update Service
net stop wuauserv
REM Start the Windows Update Service
net start wuauserv
REM Stop the Cryptographic Service
net stop cryptsvc
REM Remove the folder \Windows\System32\Catroot2
rmdir /s C:\Windows\System32\Catroot2
REM Rename the \Windows\SoftwareDistribution folder.
move /y C:\Windows\SoftwareDistribution C:\Windows\SoftwareDistribution-backup
REM Start the Cryptographic Service
net start cryptsvc
ECHO Reregister DLL files for the windows update service.
regsvr32 Softpub.dll
regsvr32 Mssip32.dll
regsvr32 Initpki.dll
regsvr32 softpub.dll
regsvr32 wintrust.dll
regsvr32 initpki.dll
regsvr32 dssenh.dll
regsvr32 rsaenh.dll
regsvr32 gpkcsp.dll
regsvr32 sccbase.dll
regsvr32 slbcsp.dll
regsvr32 cryptdlg.dll
regsvr32 Urlmon.dll
regsvr32 Shdocvw.dll
regsvr32 Msjava.dll
regsvr32 Actxprxy.dll
regsvr32 Oleaut32.dll
regsvr32 Mshtml.dll
regsvr32 msxml.dll
regsvr32 msxml2.dll
regsvr32 msxml3.dll
regsvr32 Browseui.dll
regsvr32 shell32.dll
regsvr32 wuapi.dll
regsvr32 wuaueng.dll
regsvr32 wuaueng1.dll
regsvr32 wucltui.dll
regsvr32 wups.dll
regsvr32 wuweb.dll
regsvr32 jscript.dll
regsvr32 atl.dll
regsvr32 Mssip32.dll
PAUSE
RIPEVA's official blog. Visit us at: www.ripeva.com
"A Different Kind of Company. A Different Kind Of IT."
Subscribe to:
Post Comments (Atom)
Day in the life of an account executive
Sales productivity often suffers when manual tasks overwhelm account executives. Dynamics 365 changes that by providing AI-driven insights a...
-
Ensuring that only authorized end users and applications can access your enterprise data is fundamental to strong IT security. But tradition...
-
This case study tells the success story of Lars Peterson, a citizen developer and general manager at Reliable Electric in Canada. Teaching h...
-
Dynamics 365 for Sales Professional was built to tackle the biggest challenges faced by sales professionals, especially unclear expectations...
No comments:
Post a Comment