After my niece used my computer this week, I came home to discover my system infected with a nasty virus that deleted the windows update service along with the Background Intelligent Transfer Service along with all sorts of other nasty things. This has nothing to do with System Center, but thought I would log it anyway since I had to create the service manually after an automated fix from Microsoft failed to restore the service to a functional state and I found no love in other forums.
First, check this link, it may help:
http://support.microsoft.com/kb/971058/en-us
From an Administrative command prompt, type the following to restore BITS (Background Intelligent Transfer Service)
sc create BITS type= share start= delayed-auto binPath= "C:\Windows\System32\svchost.exe -k netsvcs" tag= no DisplayName= "Background Intelligent Transfer Service"
There should be trailing spaces right after the equal signs. The service registered successfully and picked up the dependencies as well without having to add those manually. The service is dependent on RPCSs and EventSystem in the event you do have to add those.
Thank you very much man. Looked low and high for a solution without having to repair and this is the only one that worked.
ReplyDeleteGreat! Glad it was useful. Figured if I spent all day on the problem, it was worth sharing.
DeleteHey man, thanks for this. It restored my BITS back to the services list, but when I try to start it, it says:
ReplyDelete"Windows could not start the BITS service on the local computer
Error2: The system cannot find the file specified"
Im, really, really trying to avoid a reinstall of the OS. Please help. I dont see RPCS and EvenSystem in my services. Could that be the issue? Any help would be greatly apprecaited
I actually found the RPCS was started and is there and if the EventSystem is "COM+ Event System" then I have that as well and its started fine.
ReplyDeleteIm starting to think that actual files for BITS is missing..how do I fix this?
Did you try the link I provided? That will re-register a number of dependent files automatically. You may want to look at the manual method in the link and take note of the files and see if those are on your computer. Notice also that the service runs as a component of svchost, which is a requirement of most of the other windows services. If that weren't there, the OS would have major problems. Unfortunately, there are a lot of variables. For instance, my svchost was replaced by the virus and I had to grab a backup copy. You could also attempt to run the SFC utility to restore missing system files from cache.
ReplyDeleteI found myself on another forum and a guy had the exact same problem (post-virus collateral damage). And he mentioned the registry values might have been changed involving the qmgr dll...but someone with a clean PC verified what he had for his calues was correct. So anyway, I used the info provided to get to the correct registry parts that involved BITS. I booted up my other machine, a laptop, and saw it was missing 3 subfolders under the main bits directory. I copied and exported it out. Then put them on my affected main PC, reboot. Wala BITs started finally and everything is back to normal with windows update..Thanks for leading me down the right path. Never woulda got there id I didnt start here!
ReplyDeleteI meant after looking/comparing to my laptop, I noticed the problem pc was missing the 3 subfolders* hope that's more clear
ReplyDeleteThanks for sharing. Now that you mention it, I had done something similar. I had the same issue with qmgr.dll, which I copied from my Windows 7 laptop that was functioning. That is where I got the parameters initially for recreating the BITS service as well. Having another functioning machine around definitely helps in these situations.
ReplyDeleteYea..that's for sure. Now that I think about it I don't know what I would have done with out it. For me its not about finding the solution to these problems. Its more about finding what the problem actually is, and what its effecting. That right there to me is the hard part. What questions to ask, rather than the solution itself..Having another computer to compare to helps a lot in that regard.
DeleteWhere is this BITS directory you mentioned?
ReplyDeleteYour command line fixed my issue after recovering from a virus. Thanks so much! Sure beats a complete re-install or even repair install.
ReplyDeleteThanks I have a problem with BITS more than once and this was the fastest and simplest solution
ReplyDeleteThanks for the post
By far, this has been the most popular post. Glad it has been helpful. I figured the solution was weird enough to warrant posting and appreciate the other input submitted by others as well. Thanks for stopping by.
ReplyDeleteWorked like a charm, I owe you a beer, this is exactly the information I was looking for! Thanks!!!
ReplyDeleteI'm quite the novice...I tried the command prompt listed above but got: [SC] OpenSCManager FAILED 5: Access is denied
ReplyDeleteI'm logged in as an administrator so I'm not sure of the problem. Help?
actually, I figured that out, but the dependencies didn't add correctly and I can't start the BITS service. It seems to have added the service as a line-item, but it doesn't seem to be functional. Help?
ReplyDeleteThanks you after an hour or so of googling
ReplyDeleteWhy doesnt microsoft fix it tools do this !!
Stating , not asking !
Thanks again win 8 downloading
Searched for 2 weeks both with Bing then Google and finally found this page for the answer to missing Bits for Win 7 64-bit, Microsoft suggestions were a total waste of time. Your suggestion worked like a charm and in about 5 minutes Win 7 was updating once again. Not sure what Microsoft is doing these days, but you guys rock! Thank you!
ReplyDeleteHey, I got BITS back on the service list but i'm having the same problem as Jason. It won't let me start it because it can't find the specified file.
ReplyDeleteWere you able to grab a copy of qmgr.dll from another location? Having a secondary system helps a lot to recover this service.
ReplyDeleteFantastic!
ReplyDeleteThat CLI command solved the issue neither Microsoft's Fix-It, nor the manual attempt could. No idea why I was lacking this service, but it sure prevented me to update.
I try to use Windows less and less these days, but some things just have to be done using it, and then it's really annoying to not get it working properly.
Thanks a lot!
I have done every the article said to do and your command line, I have replaced the qmgr.dll from another Fista machine and overwritten it but still I get the Error 2 message - any help would be greatly appreciated and also if someone can tell me the directories that keep getting mentioned above that would be helpful!
ReplyDeleteThanks. Worked like a charm. Great share indeed.
ReplyDelete