Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Corrupted WindowsUpdate.Log File

Reply
Thread Tools Display Modes

Corrupted WindowsUpdate.Log File

 
 
Jorge C
Guest
Posts: n/a

 
      03-13-2005
How can I delete or replace the WindowsUpdate.log file? I can't open the
file because it is corrupted. I ran chkdsk /f but the problem did not go
away. The corrupted file prevents Windows Update from working. My laptop is
running XP Home SP2. Thanks in advance for any help.
 
Reply With Quote
 
 
 
 
Pat Walters [MSFT]
Guest
Posts: n/a

 
      03-14-2005
"Jorge C",

This is a great question! Thank you for providing enough detail for a good
answer.

Conventions:
- In these instructions, keys on the keyboard are wrapped, such as: <Enter>,
so an instruction of: Type: cmd <Enter> means type the three letters cmd and
then press <Enter>.
- Combinations such as <Ctrl>+<S> mean to hold the <Ctrl> while then
pressing the <S>.

1. Click Start
2. Click Run
3. Type: cmd <Enter>
4. In the Command Prompt, type: cd %windir% <Enter>
5. Type: net stop wuauserv <Enter>
6. Type: del WindowsUpdate.log <Enter>
7. Type: notepad WindowsUpdate.log <Enter>
8. Confirm that you wish to create a new file by clicking Yes
9. Save the file by pressing <Ctrl>+<S>
10. Close the new WindowsUpdate.log file.
11. Type: In the Command Prompt again, type: net start wuauserv <Enter>

This next step is OPTIONAL, and only used if you have tracing enabled and
want to start writing to the WindowsUpdate.log again.
12. (OPTIONAL) Type:REG DELETE
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Win dowsUpdate\Trace /f
<-- This will remove tracing, if you have it enabled.

Write back and let us know how this goes.

Sincerely,

Pat Walters [MSFT]


"Jorge C" <> wrote in message
news:8200442D-6606-43DB-82BE-...
> How can I delete or replace the WindowsUpdate.log file? I can't open the
> file because it is corrupted. I ran chkdsk /f but the problem did not go
> away. The corrupted file prevents Windows Update from working. My laptop

is
> running XP Home SP2. Thanks in advance for any help.



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted file in Recycle Bin? Charles W Davis Windows Vista General Discussion 4 02-22-2009 04:54 PM
File corrupted?? Audrey Windows Vista Music, Pictures and Video 2 11-10-2007 10:28 AM
File May Be Corrupted Smudjj Windows Vista Security 7 06-13-2007 04:37 PM
possible to upgrade missing/corrupted font files via windowsupdate? TR Windows Update 3 02-08-2005 12:06 AM
Window file corrupted Dicky Windows Update 1 03-05-2004 03:37 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59