💻 Software
How can I query the Log on as user of a Windows service using the command line?
Fresh5 days ago
Mar 15, 202618741 viewsConfidence Score0%
0%
Problem
Currently shows service name, display name and other attributes of the services installed on my box. However it does not tell me what the Log on as setting is. How can I get this information using the command line?
Error Output
sc query
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I query the Log on as user of a Windows service using the command line?
Low Risk
You can use "WMIC" (WMI Command Line Interface) for this: StartName LocalSystem Here's an example for a different service: StartName NT AUTHORITY\NetworkService
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix