Medium
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
How to fix error error-invalid-logon-type in Windows 11
ERROR_INVALID_LOGON_TYPE = 1367
Fix based on community reports and expert analysis. Last verified: 2026-08-12
· How we verify fixes
| Error Code | error-invalid-logon-type |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | Medium |
| Estimated Time | 15 min |
| Requires Admin Rights | ⚠️ Yes |
Solution Steps
- 1 Press Win+R, type 'services.msc', and press Enter. Find the service that's failing. Right-click and select Properties. Go to the 'Log On' tab. Ensure the logon type is appropriate: for most services, 'Local System account' is correct. If it's set to 'This account', verify the account has the 'Log on as a service' right.
- 2 To grant the 'Log on as a service' right: Press Win+R, type 'secpol.msc', and press Enter. Go to Security Settings → Local Policies → User Rights Assignment. Double-click 'Log on as a service'. Add the account that the service uses. This is often the fix.
- 3 If the service uses a specific logon type (like 'NetworkService'), ensure it's set correctly in the service properties. You can also use the command line: open Command Prompt as admin and type 'sc qc [ServiceName]' to view the service configuration. Look for 'SERVICE_START_NAME' — it should be 'LocalSystem', 'NT AUTHORITY\NetworkService', etc.
- 4 If the error is from a scheduled task, open Task Scheduler (Win+R, taskschd.msc). Find the task, right-click, and select Properties. Go to the 'General' tab. Under 'Security options', select 'Run whether user is logged on or not' and ensure the account is correct. Also, check 'Run with highest privileges' if needed.
- 5 If the error persists, check the registry for the service's logon type: Press Win+R, type 'regedit', and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[ServiceName]. Look for the 'ObjectName' value. It should be a valid account name like 'LocalSystem' or 'NT AUTHORITY\NetworkService'. Correct it if necessary.
🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:
🔧 Still having issues?
Describe your exact problem to Error Buddy and get a personalized fix in seconds.
🛠️ Try Error Buddy — It's Free