Discussion:
What file is missing?
(too old to reply)
Chris
2005-11-06 16:15:22 UTC
Permalink
My attempts at downloading updates from Microsoft Updates are failing. I've
traced the problem to the BITS service not running. I get an event id 7024
when I attempt to start the service. I downloaded and installed the WinXP
SP2 Support Tools and ran the bitsadmin tool. Here are the results:


C:\>bitsadmin.exe /UTIL /REPAIRSERVICE

BITSADMIN version 2.0 [ 6.6.2600.2180 ]
BITS administration utility.
(C) Copyright 2000-2004 Microsoft Corp.

Attempting to instantiate BITS main interface, IBackgroundCopyManager...
The BITS service will be started if not already running.
Failed to instantiate BITS Manager interface... - 0x80080005
Server execution failed

Detailed error code retrieved - 0x00000002
The system cannot find the file specified.

The error code ERROR_FILE_NOT_FOUND usually can be fixed by recreating the
key 'Parameters' associated with the BITS service. Attempting fix...
Setting the value of the registry key
HKLM\SYSTEM\CurrentControlSet\Services\BIT
S\Parameters\ServiceDll to %SystemRoot%\System32\qmgr.dll.

Attempting to instantiate BITS main interface, IBackgroundCopyManager...
The BITS service will be started if not already running.
Failed to instantiate BITS Manager interface... - 0x80080005
Server execution failed

For more information about known issues with BITS, see the KB article
Q331716
'List of Known Issues for Background Intelligent Transfer Service (BITS)' in
the Microsoft Knowledge Base at
http://go.microsoft.com/fwlink/?linkid=15107.
You can also post BITS-related questions and comments to the
microsoft.public.windows.backgroundtransfer newsgroup.
ERROR - failed to repair the BITS service. Error code - 0x80070002
The system cannot find the file specified.


Notice that "The system cannot find the file specified" was mentioned twice
in the output. What file is missing? How should I proceed? Q331716 did not
contain and applicable information. Thanks.
Chris
2005-11-06 17:13:18 UTC
Permalink
I noticed that the bitsadmin /util /repairservice also has a "/FORCE" flag.
I re-ran bitsadmin using the flag. No success. Here are the results:

C:\>bitsadmin /util /repairservice /force

BITSADMIN version 2.0 [ 6.6.2600.2180 ]
BITS administration utility.
(C) Copyright 2000-2004 Microsoft Corp.

Attempting to instantiate BITS main interface, IBackgroundCopyManager...
The BITS service will be started if not already running.
Failed to instantiate BITS Manager interface... - 0x80080005
Server execution failed

Detailed error code retrieved - 0x00000002
The system cannot find the file specified.

The error code ERROR_FILE_NOT_FOUND usually can be fixed by recreating the
key 'Parameters' associated with the BITS service. Attempting fix...
The value for Parameters key is correct.

Attempting to instantiate BITS main interface, IBackgroundCopyManager...
The BITS service will be started if not already running.
Failed to instantiate BITS Manager interface... - 0x80080005
Server execution failed

For more information about known issues with BITS, see the KB article
Q331716
'List of Known Issues for Background Intelligent Transfer Service (BITS)' in
the Microsoft Knowledge Base at
http://go.microsoft.com/fwlink/?linkid=15107.
You can also post BITS-related questions and comments to the
microsoft.public.windows.backgroundtransfer newsgroup.

Force mode was specified -- forcing the deletion and recreation of the BITS
serv
ice.
Deleting the BITS service...
Recreating the BITS service...
Attempt #1 to create the BITS service... Succeeded.
Setting the value of the registry key
HKLM\SYSTEM\CurrentControlSet\Services\BIT
S\Parameters\ServiceDll to %SystemRoot%\System32\qmgr.dll.

Attempting to instantiate BITS main interface, IBackgroundCopyManager...
The BITS service will be started if not already running.
Failed to instantiate BITS Manager interface... - 0x80080005
Server execution failed

Detailed error code retrieved - 0x00000002
The system cannot find the file specified.

The error code ERROR_FILE_NOT_FOUND usually can be fixed by recreating the
key 'Parameters' associated with the BITS service. Attempting fix...
The value for Parameters key is correct.

Attempting to instantiate BITS main interface, IBackgroundCopyManager...
The BITS service will be started if not already running.
Failed to instantiate BITS Manager interface... - 0x80080005
Server execution failed

For more information about known issues with BITS, see the KB article
Q331716
'List of Known Issues for Background Intelligent Transfer Service (BITS)' in
the Microsoft Knowledge Base at
http://go.microsoft.com/fwlink/?linkid=15107.
You can also post BITS-related questions and comments to the
microsoft.public.windows.backgroundtransfer newsgroup.
ERROR - failed to repair the BITS service. Error code - 0x80070002
The system cannot find the file specified.


Again, it mentions that a file is missing, but doesn't identify the file.
Neo
2005-11-10 03:51:04 UTC
Permalink
Chris,
Try uninstalling KB842773 by running
C:\WINDOWS\$NtUninstallKB8442773\spuninst\spuninst.exe.

Neo
Post by Chris
My attempts at downloading updates from Microsoft Updates are failing. I've
traced the problem to the BITS service not running. I get an event id 7024
when I attempt to start the service. I downloaded and installed the WinXP
C:\>bitsadmin.exe /UTIL /REPAIRSERVICE
BITSADMIN version 2.0 [ 6.6.2600.2180 ]
BITS administration utility.
(C) Copyright 2000-2004 Microsoft Corp.
Attempting to instantiate BITS main interface, IBackgroundCopyManager...
The BITS service will be started if not already running.
Failed to instantiate BITS Manager interface... - 0x80080005
Server execution failed
Detailed error code retrieved - 0x00000002
The system cannot find the file specified.
The error code ERROR_FILE_NOT_FOUND usually can be fixed by recreating the
key 'Parameters' associated with the BITS service. Attempting fix...
Setting the value of the registry key
HKLM\SYSTEM\CurrentControlSet\Services\BIT
S\Parameters\ServiceDll to %SystemRoot%\System32\qmgr.dll.
Attempting to instantiate BITS main interface, IBackgroundCopyManager...
The BITS service will be started if not already running.
Failed to instantiate BITS Manager interface... - 0x80080005
Server execution failed
For more information about known issues with BITS, see the KB article
Q331716
'List of Known Issues for Background Intelligent Transfer Service (BITS)' in
the Microsoft Knowledge Base at
http://go.microsoft.com/fwlink/?linkid=15107.
You can also post BITS-related questions and comments to the
microsoft.public.windows.backgroundtransfer newsgroup.
ERROR - failed to repair the BITS service. Error code - 0x80070002
The system cannot find the file specified.
Notice that "The system cannot find the file specified" was mentioned twice
in the output. What file is missing? How should I proceed? Q331716 did not
contain and applicable information. Thanks.
f***@online.microsoft.com
2005-11-16 07:44:21 UTC
Permalink
BITS 2.0(KB842773) is required by windows update, so please don't uninstall it.

Please try to see if the following 3 fixes work for you.
(1)
80070002, 0x2 (ERROR_FILE_NOT_FOUND)
Backup key missing
reg query HKLM\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup Reg add HKLM\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup

(2)
80070002, 0x2 (ERROR_FILE_NOT_FOUND)
BITS is unable to start because the following directory does not exist: "%allusersprofile%\application data". BITS stores it metadata files in the directory: "%allusersprofile%\application data\Microsoft\network\downloader". If the downloader directory doesn’t exist BITS will try to create it. But it doesn’t create the parent directories.

Did the customer change the location for user profiles in the registry or did he/she change value for the ALLUSERSPROFILE environment variable? Check the values under the following reg key and make sure those directories exist.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

If the “Application data” is missing it could affect other software as well on this machine.


(3)
0x2 (ERROR_FILE_NOT_FOUND)
80070002 1.0, 1.2 Parameters key of service is missing Reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS\Parameters /v ServiceDll /t REG_EXPAND_SZ /d %windir%\System32\qmgr.dll Platform: w2k, XP, W2k3
Thanks!
Frank

-----Original Message-----
From: Neo
Posted At: Wednesday, November 09, 2005 7:51 PM
Posted To: Microsoft.public.windows.backgroundtransfer
Conversation: What file is missing?
Subject: RE: What file is missing?



Chris,
Try uninstalling KB842773 by running
C:\WINDOWS\$NtUninstallKB8442773\spuninst\spuninst.exe.

Neo
Post by Chris
My attempts at downloading updates from Microsoft Updates are failing.
I've traced the problem to the BITS service not running. I get an
event id 7024 when I attempt to start the service. I downloaded and
installed the WinXP
C:\>bitsadmin.exe /UTIL /REPAIRSERVICE
BITSADMIN version 2.0 [ 6.6.2600.2180 ] BITS administration utility.
(C) Copyright 2000-2004 Microsoft Corp.
Attempting to instantiate BITS main interface, IBackgroundCopyManager...
The BITS service will be started if not already running.
Failed to instantiate BITS Manager interface... - 0x80080005 Server
execution failed
Detailed error code retrieved - 0x00000002 The system cannot find the
file specified.
The error code ERROR_FILE_NOT_FOUND usually can be fixed by recreating
the key 'Parameters' associated with the BITS service. Attempting fix...
Setting the value of the registry key
HKLM\SYSTEM\CurrentControlSet\Services\BIT
S\Parameters\ServiceDll to %SystemRoot%\System32\qmgr.dll.
Attempting to instantiate BITS main interface, IBackgroundCopyManager...
The BITS service will be started if not already running.
Failed to instantiate BITS Manager interface... - 0x80080005 Server
execution failed
For more information about known issues with BITS, see the KB article
Q331716
'List of Known Issues for Background Intelligent Transfer Service
(BITS)' in the Microsoft Knowledge Base at
http://go.microsoft.com/fwlink/?linkid=15107.
You can also post BITS-related questions and comments to the
microsoft.public.windows.backgroundtransfer newsgroup.
ERROR - failed to repair the BITS service. Error code - 0x80070002
The system cannot find the file specified.
Notice that "The system cannot find the file specified" was mentioned
twice in the output. What file is missing? How should I proceed?
Q331716 did not contain and applicable information. Thanks.
Continue reading on narkive:
Loading...