Come to the experts for good honest advice!!

Security Center won't start after virus infection

Windows Security Center can't be started

Security Center won’t start after virus infection

23 November 2014
|
0 Comments
|

Had a Vista Home Premium PC in the workshop the other day infected with viruses & malware, after being fully cleaned started getting a warning in the tray saying that the Windows Security Center could not be started..

Windows Security Center can't be started

After closer inspection of the services (Services.msc) it appeared to be totally missing, which is why it would not start, So i had to get the service replaced in order to get it to start, after lots of googling I found the registry keys that needed to replaced..

Copy the text below in red..

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wscsvc]
“DisplayName”=”@%SystemRoot%\\System32\\wscsvc.dll,-200”
“ErrorControl”=dword:00000001
“ImagePath”=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,65,00,72,00,76,00,69,00,63,\
00,65,00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,00,52,00,65,00,73,00,74,00,\
72,00,69,00,63,00,74,00,65,00,64,00,00,00
“Start”=dword:00000002
“Type”=dword:00000020
“Description”=”@%SystemRoot%\\System32\\wscsvc.dll,-201”
“DependOnService”=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,57,00,69,00,6e,00,\
4d,00,67,00,6d,00,74,00,00,00,00,00
“ObjectName”=”NT AUTHORITY\\LocalService”
“ServiceSidType”=dword:00000001
“RequiredPrivileges”=hex(7):53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,\
00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,\
67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,72,00,73,00,6f,00,6e,\
00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,\
00,00,00,00
“DelayedAutoStart”=dword:00000001
“FailureActions”=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wscsvc\Parameters]
“ServiceDllUnloadOnStop”=dword:00000001
“ServiceDll”=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
77,00,73,00,63,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wscsvc\Security]
“Security”=hex:01,00,14,80,c8,00,00,00,d4,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,98,00,06,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,14,00,9d,01,02,00,01,01,00,00,00,00,00,05,04,00,00,00,00,\
00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,00,00,14,00,00,01,\
00,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,00,28,00,15,00,00,00,01,06,00,\
00,00,00,00,05,50,00,00,00,49,59,9d,77,91,56,e5,55,dc,f4,e2,0e,a7,8b,eb,ca,\
7b,42,13,56,01,01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,\
00,00,00

Right click the desktop & create a new file & rename to Security Center.reg, right click & edit and paste in the text from above and save, Then right click & merge and you should get a confirmation the the keys & values have been successfully added to the registry.

Press the Windows key + R & type in services.msc,  The service was now listed but would not start, a bit more googling I found that its dependancies were the Remote procedure call (RPC) & the Windows Management Instrumentation  services, I checked & the Remote procedure call (RPC) was running, I then checked the Windows Management Instrumentation  service and it was missing as well which explained the service failing to start.

Created a new file on the desktop called WMI.reg and pasted the following in red to it

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winmgmt]
“DisplayName”=”Windows Management Instrumentation”
“ImagePath”=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
“Description”=”Provides a common interface and object model to access management information about operating system, devices, applications and services. If this service is stopped, most Windows-based software will not function properly. If this service is disabled, any services that explicitly depend on it will fail to start.”
“ObjectName”=”localSystem”
“ErrorControl”=dword:00000000
“Start”=dword:00000002
“Type”=dword:00000020
“DependOnService”=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,00,00
“ServiceSidType”=dword:00000001
“FailureActions”=hex:80,51,01,00,00,00,00,00,00,00,00,00,02,00,00,00,14,00,00,\
00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winmgmt\Parameters]
“ServiceDllUnloadOnStop”=dword:00000001
“ServiceDll”=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
77,00,62,00,65,00,6d,00,5c,00,57,00,4d,00,49,00,73,00,76,00,63,00,2e,00,64,\
00,6c,00,6c,00,00,00
“ServiceMain”=”ServiceMain”

Saved, then merged with the registry, I then checked services.msc & found it was now there, I right clicked the Windows Management Instrumentation  service and clicked Start which it did..

Security Center

All sorted and Security Center is happy 🙂

P.S. The above information should also be good for Windows 7 as well BUT please check the info above yourself before you play with the registry as it easy to trash & have a non booting windows, And ALWAYS create a system restore point before making any changes..