
12-26-2008
|
|
|
|
Re: Updates are downloaded but fail to install
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
"Patti MacLeod" wrote:
> Hi Gordon,
>
> The 80240020 error is oftentimes caused by a missing SensLogn key in the
> registry. Copy/paste the following, between 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.
>
> Copy/paste the appropriate one for the operating system that you are using.
>
> For WIN2K
>
> ********************
> REGEDIT4
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> NT\CurrentVersion\WinLogon\Notify\SensLogn]
>
> "Asynchronous"=dword:00000001
> "DLLName"="WlNotify.dll"
> "Impersonate"=dword:00000001
> "Lock"="SensLockEvent"
> "Logoff"="SensLogoffEvent"
> "Logon"="SensLogonEvent"
> "MaxWait"=dword:00000258
> "Safe"=dword:00000001
> "Shutdown"="SensShutdownEvent"
> "StartScreenSaver"="SensStartScreenSaverEvent"
> "StartShell"="SensStartShellEvent"
> "Startup"="SensStartupEvent"
> "StopScreenSaver"="SensStopScreenSaverEvent"
> "Unlock"="SensUnlockEvent"
>
> ********************
>
>
> For WINXP
>
> ********************
> REGEDIT4
>
> [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.
>
>
>
> Regards,
>
> --
> Patti MacLeod
> Microsoft MVP - Windows Shell/User
>
> "Gordon" <Gordon@discussions.microsoft.com> wrote in message
> news:A90738F9-AF9C-46DB-9598-0A719D97794A@microsoft.com...
> > When I try to download and install updates with Windows Update (or
> Microsoft
> > Update) all updates are downloaded but fail to install.
> >
> > The following error is shown:
> >
> > "Failed Updates
> >
> > Problem: A problem on your computer is preventing updates from being
> > downloaded or installed"
> >
> > This happens when I try to install any or all updates available.
> >
> > The WindowsUpdate.log file shows:
> >
> > "[CallerId = WindowsUpdate]
> > 2005-12-15 16:57:28 1036 70c Agent *********
> > 2005-12-15 16:57:28 1036 70c Agent * Updates to install = 1
> > 2005-12-15 16:57:28 1036 70c Agent * Title = <NULL>
> > 2005-12-15 16:57:28 1036 70c Agent * UpdateId =
> > {C88C7BCC-2E77-4D95-A27F-1E04330B4BD7}.100
> > 2005-12-15 16:57:29 1036 70c Service WARNING: GetUserTokenFromSessionId
> > failed with hr 0x800704dd
> > 2005-12-15 16:57:29 1036 70c Agent * WARNING: Exit code = 0x80240020
> > 2005-12-15 16:57:29 1036 70c Agent *********
> > 2005-12-15 16:57:29 1036 70c Agent ** END ** Agent: Installing updates
> > [CallerId = WindowsUpdate]
> > 2005-12-15 16:57:29 1036 70c Agent *************
> > 2005-12-15 16:57:29 1036 70c Agent WARNING: WU client failed installing
> > updates with error 0x80240020
> > 2005-12-15 16:57:29 2712 594 COMAPI >>-- RESUMED -- COMAPI: Install
> > [ClientId = WindowsUpdate]
> > 2005-12-15 16:57:29 2712 594 COMAPI - Install call failed
> > 2005-12-15 16:57:29 2712 594 COMAPI - Reboot required = No
> > 2005-12-15 16:57:29 2712 594 COMAPI - WARNING: Exit code = 0x80240FFF;
> > Call error code = 0x80240020
> > 2005-12-15 16:57:29 2712 594 COMAPI ---------
> > 2005-12-15 16:57:29 2712 594 COMAPI -- END -- COMAPI: Install [ClientId
> =
> > WindowsUpdate]
> > 2005-12-15 16:57:29 2712 594 COMAPI -------------
> > 2005-12-15 16:57:30 2712 aa0 COMAPI WARNING: Operation failed due to
> earlier
> > error, hr=80240020"
> >
> > Any help would be appreciated.
> >
> > Gordon
>
>
>
|