Re: V5 update not working (XPproSR2)

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Al Iguana (AlIguana_at_discussions.microsoft.com)
Date: 12/14/04


Date: Tue, 14 Dec 2004 02:35:03 -0800


"Torgeir Bakken (MVP)" wrote:
> Actually, it is normal for WinXP Pro to have it's windows folder as
> C:\Windows\ (Usually you got C:\Winnt\ only if you have upgraded from
> NT/Win2k)

ah, yes, I upgraded from 2000. Sorry about that.
 
> Here is a version of the batch file that uses environment variables
> also for the placement of the Windows folder, so the batch file will
> work without modifications regardless of OS path (I have changed it
> to be totally unattended as well):
>
>
> --------------------8<----------------------
> net.exe stop wuauserv
> cd /d %windir%
> rd /s /q softwaredistribution
> regsvr32.exe /s %windir%\system32\wuapi.dll
> regsvr32.exe /s %windir%\system32\wuaueng.dll
> regsvr32.exe /s %windir%\system32\wucltui.dll
> regsvr32.exe /s %windir%\system32\wups.dll
> regsvr32.exe /s %windir%\system32\msxml3.dll
> net.exe start wuauserv
> --------------------8<----------------------

Even better. Thank you very much!



Relevant Pages

  • Re: V5 update not working (XPproSR2)
    ... > net.exe start wuauserv ... it is normal for WinXP Pro to have it's windows folder as ... Here is a version of the batch file that uses environment variables ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windowsupdate)
  • Re: V5 update not working (XPproSR2)
    ... idiot as me it would be nice to know in wich folder to save it and under what ... >> also for the placement of the Windows folder, so the batch file will ... >> net.exe start wuauserv ...
    (microsoft.public.windowsupdate)
  • Re: Error Code 0x80200001
    ... On the Start/Run line enter "net stop wuauserv" and press Enter ... Open the Windows folder, and delete the entire SoftwareDistribution folder. ... follow the instructions to change from Windows Update to Microsoft Update. ...
    (microsoft.public.windowsupdate)
  • Re: Log indicating when I rebooted computer?
    ... into a batch file and running it at boot-time to get a file with entries ... "run minimized" This will make a bootup.log file in your Windows folder ... Very cute... ...
    (microsoft.public.windowsxp.general)
  • Re: Log indicating when I rebooted computer?
    ... Already got it tucked away in my startup menu, ... Create a simple batch file ... "run minimized" This will make a bootup.log file in your Windows folder ... script using the Group Policy Editor (Computer Config. ...
    (microsoft.public.windowsxp.general)