Wednesday, March 26, 2014

BITS service is missing

The other night I encountered something I've never seen before, the Background Intelligent Transfer Service(BITS) was completely missing from a Windows 2003 Server.. yup, gone, non-existent. This was most likely due to the fact that someone pushed a WSUS update out that disabled and or stopped the BITS and wuauserv service on all the servers in the domain.

If the Automatic Updates service is missing:
      1. Open an Elavated PowerShell prompt
      2. Type the following command:
%windir%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\au.inf

If Background Intelligent Transfer Service is missing:
     1. Open an Elavated PowerShell prompt
     2 . Type the following command:
%windir%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\qmgr.inf

If you are prompted to insert your operating system CD, type the following path in the Copy files from box as this is where the most recently updated service pack files are stored.:
%windir%\ServicePackFiles\i386


Take a look at services.msc and you should now have all services. At this time I ran the following command:

wuauclt /detectnow /register /reportnow

 This will make the server you are logged onto check into WSUS. All done, onto the next server.... 

Another thing that could help -- re-registering the various dll files that Windows Update requires to run.

regsvr32 wuapi.dll
regsvr32 wups.dll
regsvr32 wuaueng.dll
regsvr32 wucltui.dll
regsvr32 atl.dll
regsvr32 msxml3.dll