Geeks With Blogs
Robert's Sysadmin Blog Unraveling the datacenter one fibre at a time

When installing the latest version of the Windows Update Client, you may recieve an error that references this code: 0x8007041d

0x8007041d simply refers to not being able to stop, restart or manipulate in some way, the Windows Update service.

With a recent version of the Windows Update agent installed, the C:\windows\WindowsUpdate.log file will produce and error similair to the following:

Windows Update Client standalone setup : eula file path is d:\72535cf0e694fc12f4c5a4\en\eula.rtf
2005-11-14 12:26:23 23248 68f8 Setup *************
2005-11-14 12:26:23 23248 68f8 Setup ** START **  Setup: Installing client binaries
2005-11-14 12:26:23 23248 68f8 Setup *********
2005-11-14 12:26:23 23248 68f8 Setup   * Download directory: d:\72535cf0e694fc12f4c5a4\
2005-11-14 12:26:23 23248 68f8 Setup   * Stop and start service: Yes
2005-11-14 12:26:53 23248 68f8 Setup FATAL: SelfUpdate: Failed to stop service wuauserv, error = 0x8007041D
2005-11-14 12:26:53 23248 68f8 Setup   * WARNING: Exit code = 0x8007041D
2005-11-14 12:26:53 23248 68f8 Setup *********
2005-11-14 12:26:53 23248 68f8 Setup **  END  **  Setup: Installing client binaries
2005-11-14 12:26:53 23248 68f8 Setup *************
2005-11-14 12:26:53 23248 68f8 Setup FATAL: InstallUpdatedBinaries failed with error 0x8007041d

This can occur with the Standalone Installer, as in the example above, but also when updating your Windows Update client though the Windows Update homepage.

On the web you will find references to Norton virusscanner possibly causing this, but its not the only reason this can happen. ( http://www.kbalertz.com/kbNamed_902322/902322.aspx ) In fact there are any number of reasons a Windows server can fail to unload.

The Windows Update service is launched by the system, under system account credentials, and with the following command line: C:\windows\system32\svchost.exe -k wugroup

If the service is trapped in the “stopping” state, you may wanna kill the process manually, however, you can only do this on a Windows 2000 machine! As I will show below…

But because the service is launced via cvchost, you might have a hard time recognising which instance of cvchost to kill.

Wu_service_stopping

Process Explorer has an option to show the command line with which all system processes have been started. This is simply a column you have to turn on in the main view.

Wu_service_px

The Windows XP / W2K3 command tasklist.exe will give you much the same data:

On a Windows 2000 Server:

tasklist /FI "IMAGENAME eq SVCHOST.EXE" /SVC

Image Name                   PID Services
========================= ====== =============================================
svchost.exe                  636 RpcSs
svchost.exe                  780 EventSystem, Netman, NtmsSvc, RasMan, SENS
svchost.exe                 2512 TapiSrv
svchost.exe                26864 BITS
svchost.exe                30912 wuauserv

 

A Windows Server 2003 machine:

Image Name                   PID Services
========================= ====== ============================================
svchost.exe                 1504 DcomLaunch
svchost.exe                 1580 RpcSs
svchost.exe                 1636 Dhcp, Dnscache
svchost.exe                 1780 LmHosts, W32Time
svchost.exe                 1820 AeLookupSvc, BITS, CryptSvc, dmserver,
                                 EventSystem, helpsvc, lanmanserver,
                                 lanmanworkstation, Netman, Nla, sacsvr,
                                 Schedule, seclogon, SENS, SharedAccess,
                                 ShellHWDetection, TrkWks, winmgmt, wuauserv
svchost.exe                  692 ERSvc
svchost.exe                 1120 RemoteRegistry
svchost.exe                 2824 W3SVC
svchost.exe                 2948 TermService



A Windows XP machine:

Image Name                   PID Services
========================= ====== ============================================
SVCHOST.EXE                  940 DcomLaunch, TermService
SVCHOST.EXE                 1008 RpcSs
SVCHOST.EXE                 1104 AudioSrv, BITS, Browser, CryptSvc, Dhcp,
                                 dmserver, ERSvc, EventSystem, helpsvc,
                                 lanmanserver, lanmanworkstation, Netman,
                                 Nla, RasMan, Schedule, seclogon, SENS,
                                 SharedAccess, ShellHWDetection, srservice,
                                 TapiSrv, Themes, TrkWks, w32time, winmgmt,
                                 Wmi, wuauserv, WZCSVC
SVCHOST.EXE                 1196 Dnscache
SVCHOST.EXE                 1308 LmHosts, RemoteRegistry, SSDPSRV, WebClient
SVCHOST.EXE                 3320 stisvc

A funny thing to note here is the difference between Windows 2000 and Windows XP / W2K3. On Windows 2000 Server, the wuauserv service is run as a completely seperate process, with its own ID.
This means you can kill it seperatly.

But on Windows XP / W2K3, it is launched as part of the Network Services group. This is reflected in the command line in which it is launched:
C:\WINDOWS\system32\svchost.exe -k netsvcs

You cant simply kill svchost.exe in this case, it will crash the system.
Recommended is to disable the service, reboot, and after reboot install the standalone Windows Update Agent.

 

Posted on Monday, November 14, 2005 4:09 PM | Back to top


Comments on this post: Installing Windows Update client error 0x8007041d

# re: Installing Windows Update client error 0x8007041d
Requesting Gravatar...
test post
Left by Robert on Dec 20, 2005 6:20 AM

# re: Installing Windows Update client error 0x8007041d
Requesting Gravatar...
I have also seen the above problem generate error code

0x80070428

Funny to google this and come across my very own blogpost from half a year ago :D
Left by Robert on Jul 12, 2006 3:26 PM

# re: Installing Windows Update client error 0x00015bb1c
Requesting Gravatar...
I have a problem about client. My server is running for 2-3 hours. It's appear eror. Help me plzzzzzzzzzzzzzz
Left by zahara on Jun 15, 2007 9:40 PM

# re: Installing Windows Update client error 0x8007041d
Requesting Gravatar...
i have problems to create client computer.
Can you help me please...
Left by eddie on Jul 06, 2008 8:57 PM

# re: Installing Windows Update client error 0x8007041d
Requesting Gravatar...
hi!this is rajesh from nepal .this problem occus when i try to install avg 8.5.i dont know what i am supposed to do ?could you please help me in this matter?
Left by rajesh on Jul 31, 2009 5:31 AM

# re: Installing Windows Update client error 0x8007041d
Requesting Gravatar...
OK, JOVENES, SI PUEDEN LEER ESPAƑOL ESTE ES EL PROBLEMA REAL, NO ES PROBLEMA DEL NOD 32 NI NADA DE ANTIVIRUS NI DE LAS ACTUALZIACIONES AUTOMATICAS Y DE NINGUN SERVICIO DE WINDOWS

LO QUE YO HICE FUE IR A ADD OR REMOVE PROGRAMAS EN PANEL DE CONTROL Y OBSERVER QUE MI SERVICE PACK 3 NO ME DABA OPCION DE REMOVER POR LO CUAL SUPUSE QUE ERA UNA FALLA DEL SP3

LO QUE HICE FUE REINSTALARLO YA QUE NO LO PUDE REMOVER DESDE WINDOWS NI CON NINGUN SOFTWARE, REINICIE MI EQUIPO, ENTRE DE NEUVO A WINDOWS UPDATE Y WALAAAAAA!!!!!1 FUNCIONO. SUERTE
Left by sick_ranch on Sep 28, 2009 9:22 PM

# re: Installing Windows Update client error 0x8007041d
Requesting Gravatar...
We had this issue a Windows Server 2003 64bit and deleting the follow registry value solved it:
HKLM\SYSTEM\CurrentControlSet\Services\wuauserv
WOW64=0x1 <-- Delete this
Left by Luke on Feb 24, 2010 9:49 PM

# re: Installing Windows Update client error 0x8007041d
Requesting Gravatar...
Simply go to administrative tools, then services. Find Network provisionning service, properties, put startup type to automatic then start the service. No need to reboot. It works for me after hours of trying anything found on the net. ;)))
Left by schwift on Jul 03, 2010 3:22 AM

# re: Installing Windows Update client error 0x8007041d
Requesting Gravatar...
BUENAS UTILIDADES
Left by HUGO on Sep 10, 2010 10:47 PM

# re: Installing Windows Update client error 0x8007041d
Requesting Gravatar...
Thanks Luke, that just fixed a problem that I've had for a few weeks now.
Left by Dave on Jan 03, 2012 6:34 AM

# re: Installing Windows Update client error 0x8007041d
Requesting Gravatar...
Excellent. Just did a clean install of XP SP1a, then SP2, then IE8, then SP3 and had the error. Found your post on here and fixed it within 5mibs. Cheers Schwift
Left by Lee on Nov 04, 2012 7:38 AM

Your comment:
 (will show your gravatar)
 


Copyright © Robert Kloosterhuis | Powered by: GeeksWithBlogs.net | Join free