3

I acidentially typed in my cmd: sc delete WSUSService. And now my WSUS gives the error: One or more Updates Service components could not be contacted. Check your server status and ensure that Windows Server Update Services is running. Non-running services: WSUSService. I can still see all my updates and computers tho. How can I re-get the WSUSService?

EDIT: Another problem (or maybe the same): In my Server Manager @ Services it tells me the WSUSService is stopped. When I try to start it, it tells me: Failed, one or more services cannot be started

EDIT2: After trying to start WSUSService in the services. I got the error: Error 2: the system cannot find the file specified. My wsuscontent folder is in c:

Thanks in advance

user3201911
  • 157
  • 8

2 Answers2

5

I honestly don't know if this will work but you are welcome to try it.

You can try to recreate the service with:

sc create WSUSService binpath= "C:\Program Files\Update Services\Service\bin\WsusService.exe" start= auto

I would make sure that Network Service is the logon account and set it to "restart on failure".

TheCleaner
  • 32,352
  • 26
  • 126
  • 188
  • I did the `sc create WSUSService binpath= "C:\Program Files\Update Services\Service\bin\WsusService.exe" start= auto` and rebooted, but it didnt help. Where can I set my logon account to restart on failure? thanks for helping me out – user3201911 Aug 05 '15 at 13:09
  • On the "recovery" tab. but make sure on the Log On tab you have changed it to "This Account" and used NETWORK SERVICE as the account name (no password). (To specify that the service uses the Network Service account, click This account , and then type NT AUTHORITY\NetworkService_ -- but again if this doesn't work I would look at contacting MS support if you want to retain your existing database/environment. – TheCleaner Aug 05 '15 at 13:43
  • I cannot find the recovery tab, I am using Windows server 2012. Also I edited my question, to make the problem a bit more clear – user3201911 Aug 05 '15 at 13:46
  • I would then recommend backing up the database and content folders and then removing WSUS and reinstalling it. But if you are paranoid I'd hit up MS support. – TheCleaner Aug 05 '15 at 13:56
  • I tried to remove WSUS before, but i cannot find it in programs and features. anyways, thanks for helping me out – user3201911 Aug 05 '15 at 13:56
1

I don´t know why you have execute sc delete WSUSService but anyway: Do you have checked the sc command? sc create ...should solve your problem. On the other side: You could repair WSUS like described on the Technet (Long articel - I won´t copy and paste the whole article). And on the other side: Do you have tried to repair the software or reinstall?

UsersUser
  • 119
  • 6