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)
Cloud Maturity Is Hampering AI Adoption
This ITPro article explores how cloud maturity gaps are slowing AI adoption, highlighting the importance of governance and infrastructure re...
-
When it comes to digital transformation, becoming more efficient has always been a top priority, especially with regard to natural resources...
-
In a global industry where efficiency and consistency are everything, Lantmännen Unibake faced the challenge of connecting complex operation...
-
Microsoft Dynamics 365 Sales enables companies to increase sales efficiency and improve effectiveness. These benefits are driven by better d...
No comments:
Post a Comment