batcmd.com Windows 11 Services

Secondary Logon - Windows 11 Service

Enables starting processes under alternate credentials. If this service is stopped, this type of logon access will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start.

This service also exists in Windows 10, 7, 8, Vista and XP.

Startup Type

Windows 11 version Home Pro Education Enterprise
21H2 Manual Manual Manual Manual
22H2 Manual Manual Manual Manual
23H2 Manual Manual Manual Manual
24H2 Manual Manual Manual Manual

Default Properties

Display name:Secondary Logon
Service name:seclogon
Type:share
Path:%WinDir%\system32\svchost.exe -k netsvcs -p
File:%windir%\system32\seclogon.dll
Error control:normal
Object:LocalSystem
Privileges:
  • SeTcbPrivilege
  • SeRestorePrivilege
  • SeBackupPrivilege
  • SeAssignPrimaryTokenPrivilege
  • SeIncreaseQuotaPrivilege
  • SeImpersonatePrivilege

Default Behavior

The Secondary Logon service is running as LocalSystem in a shared process of svchost.exe. Other services might run in the same process. If Secondary Logon fails to start, the error is logged. Windows 11 startup proceeds, but a message box is displayed informing you that the seclogon service has failed to start.

Restore Default Startup Type for Secondary Logon

Automated Restore

1. Select your Windows 11 edition and release, and then click on the Download button below.

2. Save the RestoreSecondaryLogonWindows11.bat file to any folder on a local drive such as SSD or a hard disk.

3. Right-click the downloaded batch file and select Properties.

4. Check the Unblock checkbox and click OK.

5. Right-click the batch file again and select Run as administrator.

6. Restart the computer to save changes.

Note. Make sure that the seclogon.dll file exists in the %windir%\system32 folder. If this file is missing you can try to restore it from your Windows 11 installation media.

Yea, though I walk through the valley of the shadow of death, I will fear no evil: for thou art with me; thy rod and thy staff they comfort me.