Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

BITS Service error 0x80070002


  • Please log in to reply
3 replies to this topic

#1 DutchWolf

DutchWolf

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:05:54 PM

Posted 13 July 2015 - 12:04 PM

Hi guys,

I have a nasty problem on Windows 8.1

My BITS Service won't start (and therefor Update, Store, etc are all down).

Event log shows two error events;

The BITS service failed to start. Error 0x80070002.
The Background Intelligent Transfer Service service terminated with the following service-specific error:
The system cannot find the file specified.

Addditionally another error appears every now and then:
The ScRegSetValueExW call failed for FailureActions with the following error:
Access is denied.

I've tried so far:
wsreset.exe
Windows Update Troubleshooter -> first few times it just said it coudn't fix my problem, now it just hangs on starting BITS
sfc /scannow -> no errors found
Microsoft FixIT for Win Update
System Restore
Refreshing the image using DISM
I checked all the registery keys for BITS with another build 9600 pc and made them matching, no effect.

I cleared the Data Store folder and restarted Win update serv. No effect on BITS

Any thoughts?

 

EDIT:

I found a new error in event log that might be related:
The server {4991D34B-80A1-4291-83B6-3328366B9097} did not register with DCOM within the required timeout.

Source: DistributedCOM


Edited by DutchWolf, 13 July 2015 - 04:47 PM.


BC AdBot (Login to Remove)

 


#2 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,714 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:08:54 AM

Posted 14 July 2015 - 09:50 AM

Press the Windows key and the X key together.

 

In the menu that opens select Command Prompt (Admin).

 

When the Elevated Command Prompt opens copy and then paste the command below, then press Enter.

 

sc start bits

 

By the way.  You have this same topic open at Windows Seven Forums.  This can create confusion for those helping you when they are unaware of what the other is suggesting.  You should let them know that you have posted elsewhere as well.


Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#3 DutchWolf

DutchWolf
  • Topic Starter

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:05:54 PM

Posted 15 July 2015 - 08:52 AM

Thanks for the advice.

 

Tried that, didn't work.



#4 FreeBooter

FreeBooter

  • Members
  • 3,137 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Turkey - Adana
  • Local time:06:54 PM

Posted 16 July 2015 - 08:56 PM

Create a System Restore Point. Open notepad and copy paste below commands save it as BITS.bat make sure file not save with .txt file extension.

Rem Batch script created by FreeBooter
@Echo Off & Cls
Call :IsAdmin
Rem Stop the BITS service, the Windows Update service, and the Cryptographic service. 
                   Net stop bits     2>&1 >>%temp%\WinUpResetLog.txt
                   Net stop wuauserv 2>&1 >>%temp%\WinUpResetLog.txt
                   Net stop appidsvc 2>&1 >>%temp%\WinUpResetLog.txt
                   Net stop cryptsvc 2>&1 >>%temp%\WinUpResetLog.txt
                   Ipconfig /flushdns 2>&1 >>%temp%\WinUpResetLog.txt

Rem Creating the  BITS (Background Intelligent Transfer Service) Service
Sc Create BITS type= share start= delayed-auto binPath= "C:\Windows\System32\svchost.exe -k netsvcs" tag= no DisplayName= "Background Intelligent Transfer Service"

Rem Change Directory.
Cd /d %Windir%\System32 1>nul

Rem Re-register the BITS dynamic-link librarys and the Windows Update dynamic-link librarys.
    Regsvr32.exe /s atl.dll      2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s urlmon.dll   2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s mshtml.dll   2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s shdocvw.dll  2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s browseui.dll 2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s jscript.dll  2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s vbscript.dll 2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s scrrun.dll   2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s msxml.dll    2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s msxml3.dll   2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s msxml6.dll   2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s actxprxy.dll 2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s softpub.dll  2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s wintrust.dll 2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s dssenh.dll   2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s rsaenh.dll   2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s gpkcsp.dll   2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s sccbase.dll  2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s slbcsp.dll   2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s cryptdlg.dll 2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s oleaut32.dll 2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s ole32.dll    2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s shell32.dll  2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s initpki.dll  2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s wuapi.dll    2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s wuaueng.dll  2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s wuaueng1.dll 2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s wucltui.dll  2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s wups.dll     2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s wups2.dll    2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s wuweb.dll    2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s qmgr.dll     2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s qmgrprxy.dll 2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s wucltux.dll  2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s muweb.dll    2>&1 >>%temp%\WinUpResetLog.txt
    Regsvr32.exe /s wuwebv.dll   2>&1 >>%temp%\WinUpResetLog.txt

Rem Restart the BITS service, the Windows Update service, and the Cryptographic service. 
    Net start bits     2>&1 >>%temp%\WinUpResetLog.txt
    Net start wuauserv 2>&1 >>%temp%\WinUpResetLog.txt
    Net start appidsvc 2>&1 >>%temp%\WinUpResetLog.txt
    Net start cryptsvc 2>&1 >>%temp%\WinUpResetLog.txt

Rem Cancels all jobs in the transfer queue that the all users owns..
    Bitsadmin.exe /reset /allusers 2>&1 >>%temp%\WinUpResetLog.txt


:_ASK
Rem RESTART THE COMPUTER.
Cls & Mode CON  LINES=14 COLS=48 & Color 0E & Title FreeBooter 
Echo.
Echo.
Echo         THIS COMPUTER NEED TO REBOOT 
Echo.
Echo.
Echo         PLEASE SAVE ALL WORK IN PROGRESS
Echo. 
Echo.
Echo         DO YOU WANT TO REBOOT NOW [Y/N]
Echo. 
Echo.
Set /p input= RESPONSE: 

If "%input%"=="" Goto :_ASK

If /i  Not %input%==Y (Goto :_Ex) Else (Goto :_Reboot)

:_Ex
If /i Not %input%==N (Goto :_ASK) Else (Goto :EOF)

:_Reboot
Shutdown -r -t 1 2>&1 >Nul
Cls
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo                  SYSTEM REBOOTING
Pause >Nul


:IsAdmin
Reg query "HKU\S-1-5-19\Environment"
If Not %ERRORLEVEL% EQU 0 (
 Cls & Mode CON  LINES=5 COLS=48 & Color 0C & Title - WARNING -
 Echo.
 Echo. 
 Echo  YOU MUST HAVE ADMINISTRATOR RIGHTS TO CONTINUE 
 Pause >Nul & Exit
)
Cls
Goto :EOF

Right click BITS.bat batch script and select "Run as administrator".


Edited by FreeBooter, 17 July 2015 - 07:06 PM.

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users