Windows Update can't be completely stopped unless you delete Windows Update service:

sc delete wuauserv

I did that on a machine we had, because of strict policies about updates.

Now I'm gonna install Microsoft Visual C++ Redistributable and I receive this error that the specified service does not exist:

enter image description here

As I searched it seems that this package's installation is done through Windows Update (stupid) and I need to re-install Windows Update back so that I can install this package, and remove it again.

But I can't find a solution on how to re-install Windows Update on Windows Server 2012. All I found is about WSUS, or about some other trouble that assumes that Windows Update is already working, or about DSIM which can't be found on my machine, etc.

So, anyone can help me re-installing the Windows Update service, AKA wuauserv?

  • 6
    It's not stupid to install Windows components using Windows Update. Forcefully disabling updates on a server by removing the service is. – Esa Jokinen Jan 12 at 11:49
  • 1
    Do you have another 2012 server you could export the key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv from and import that on this computer? I would probably then restart the computer. Otherwise, maybe another CurrentControlSet on this computer has the service entry? E.g. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\wuauserv You could export from that to a .reg and then rename the ControlSet001 to CurrentControlSet and import. If this doesn't work, I assume a sc.exe command to create the service might also work. – HelpingHand Jan 12 at 12:58
  • Yeah, sc create is the way to go. You'll need to find or install a pristine Windows 2012 server (or a Windows 8 machine would do at a pinch) to look up the correct configuration details. – Harry Johnston Jan 12 at 22:38
  • @EsaJokinen, stupid is when OS doesn't obey you. Policy is policy. A server might not want update in any circumstances. That's a policy and let's not talk about that. But how to prevent it when internet connection is always on? Go ahead, find a solution for stupid Windows. We did that, because even when you disable the Windows Update service, after a while it gets enabled again. – Saeed Neamati Jan 13 at 9:16
  • Windows Update can be configured to schedule the updates on a time more appropriate and even only update when you manually launch the process. Not updating at all is a stupid policy. – Esa Jokinen Jan 13 at 9:19

You have to reinstall Windows Server.
Since you deleted a system service, you can't trust this server anymore because nobody can tell you which system components/services are now broken.

When the server is reinstalled, you can disable Windows Update with this group policy:

Computer configuration -> Administrative templates -> Windows Components -> Windows Update -> "Configure automatic updates" set it to "disabled".

  • Your solution to car problems is like buying a new car if you took out a simple wire, instead of fixing it. That's not the solution. For any reason, we deleted a system service. There has to be a way to fix it, and that way should not be to reinstall the whole server. – Saeed Neamati Jan 14 at 7:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.