Posted on 1 Comment

Windows XP fails all updates error 0x80240020

One machine I’ve cleaned of viruses and was trying to get the latest security patches has been giving me huge fits of grief with the WindowsUpdate.log growing large with error 0x80240020. Finally I discovered this registry change that seems to have fixed the problem!

Open the registry editor and navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
Check for the existence of a Notify_Disabled subkey under Winlogon. If that
subkey exists, delete it.

Now, navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\Not­ify
Check for the existence of a SensLogn subkey. If SensLogn does not exist,
you will need to add this missing key and its values. Copy/paste the
following, between but not including the two sets of asterisks, into Notepad
and then Save as a file named SensLogn.reg
NOTE: the [HKEY_LOCAL_MACHINE\SOFTWARE\……\Notify\SensLogn] line in this
post will wrap to two lines…it needs to be on one line in Notepad. Also,
ensure that you have the blank line at the end.

********************
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\Notify\SensLogn]

“DLLName”=”WlNotify.dll”
“Lock”=”SensLockEvent”
“Logon”=”SensLogonEvent”
“Logoff”=”SensLogoffEvent”
“Safe”=dword:00000001
“MaxWait”=dword:00000258
“StartScreenSaver”=”SensStartScreenSaverEvent”
“StopScreenSaver”=”SensStopScreenSaverEvent”
“Startup”=”SensStartupEvent”
“Shutdown”=”SensShutdownEvent”
“StartShell”=”SensStartShellEvent”
“PostShell”=”SensPostShellEvent”
“Disconnect”=”SensDisconnectEvent”
“Reconnect”=”SensReconnectEvent”
“Unlock”=”SensUnlockEvent”
“Impersonate”=dword:00000001
“Asynchronous”=dword:00000001

********************
Once you have created and saved the SensLogn.reg file, double-click on it,
then click on Yes when asked if you want to merge the information into the
registry. Restart your computer for the changes to take effect.
[Source]

This ( start then run and type PROXYCFG -U and press enter ) might have helped. See also, also, and also. And had I read this more closely this could have been solved yesterday.

1 thought on “Windows XP fails all updates error 0x80240020

  1. Hey, that text document did not work for me so i made a batch file that does the trick. Others may find this useful.

    Copy and paste this into notepad, then save as, under the file type drop down pick all types, and make sure to name it something.bat

    @Echo Off
    Set key=”HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\SensLogn”
    REG ADD %key% /v Asynchronous /t REG_DWORD /d 1
    REG ADD %key% /v Safe /t REG_DWORD /d 1
    REG ADD %key% /v MaxWait /t REG_DWORD /d 258
    REG ADD %key% /v Impersonate /t REG_DWORD /d 1
    REG ADD %key% /v DLLName /d WlNotify.dll
    REG ADD %key% /v Lock /d SensLockEvent
    REG ADD %key% /v Logon /d SensLogonEvent
    REG ADD %key% /v StartShell /d SensStartShellEvent
    REG ADD %key% /v PostShell /d SensPostShellEvent
    REG ADD %key% /v Disconnect /d SensDisconnectEvent
    REG ADD %key% /v Reconnect /d SensReconnectEvent
    REG ADD %key% /v Unlock /d SensUnlockEvent
    REG ADD %key% /v Logoff /d SensLogoffEvent
    REG ADD %key% /v StartScreenSaver /d SensStartScreenSaverEvent
    REG ADD %key% /v StopScreenSaver /d SensStopScreenSaverEvent
    REG ADD %key% /v Startup /d SensStartupEvent
    REG ADD %key% /v Shutdown /d SensShutdownEvent

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.