Avatar of Robert
Robert
Flag for United States of America

asked on 

Windows Server 2016 - Server service broken

I have a Windows Server, where the server service (aka svchost.exe -k smbsvcs) will not start.  At first, the error I received was:


Windows could not start the Server service on Local Computer
Error 1075: The dependency service does not exist or has been marked for deletion


After some Googling, I found a solution to the above error by going into the registry and deleting the DependOnService string within the LanmanServer key.  While that did resolve the above error, I now have a new error when I try to start the Server service:


Windows could not start the Server service on Local Computer
Error 2: The system could not find the file specified


Obviously, the C:\Windows\System32\svchost.exe file exists, otherwise I would have a LOT more problems.  However, I don't know how to investigate the smbsvcs module.

Also, as a related issue, I am seeing the following error repeated in Event Viewer:
Log Name: Application
Source: Perfnet
EventID: 2004
Message: Unable to openthe Server service performance object.  The first four bytes (DWORD) of the Data section contains the status code


-Robert
* file sharingWindows Server 2016

Avatar of undefined
Last Comment
Robert

8/22/2022 - Mon