Quantcast
Channel: Network Audit and Documentation, CENTREL Solutions Blog
Viewing all articles
Browse latest Browse all 432

P/invoke CreateProcessWithLogonW causes Error 1058: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

$
0
0
If you're running the CreateProcessWithLogonW Win32 API command with P/invoke you may receive the following error

Error 1058: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
 
This can occur if the "Secondary Logon" (seclogon) service is disabled in the services control panel. 



Viewing all articles
Browse latest Browse all 432

Trending Articles