Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
@GW VS When the Process Explorer option to replace task manager is set Process explorer uses Window's Image File Execution Options registry key. This key is located at HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options. It is a machine-wide setting and elevated privileges as an Administrator are needed to write to it.
For example, on my Win10 22H2 system the registry change made by Process Explorer looks like this -
Of course, the path to the Process Explorer executable depends on where you saved it after extracting it from the distribution zip file.
Every time I reboot, it resets to the default Windows 11 Task Manager, and I would like to use Process Explorer exclusively.
Ordinarily, this would persist across system restarts. However, the Image File Execution Options key is often abused by malware so its possible that security software in your environment is deleting or changing this registry data.
You may be able to achieve persistence by using a scheduled task to recreate the Process Explorer registry data when your system starts or when you log on. The following example XML when imported into Task Scheduler creates a scheduled task that runs when the system starts up and creates/recreates the Process Explorer data
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Description>Use Process Explorer instead of Task Manager</Description>
<URI>\Replace Task Manager</URI>
</RegistrationInfo>
<Triggers>
<BootTrigger>
<Enabled>true</Enabled>
</BootTrigger>
</Triggers>
<Principals>
<Principal id="Author">
<UserId>S-1-5-18</UserId>
<RunLevel>LeastPrivilege</RunLevel>
</Principal>
</Principals>
<Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
<UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
<Priority>7</Priority>
</Settings>
<Actions Context="Author">
<Exec>
<Command>%windir%\system32\reg.exe</Command>
<Arguments>add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe" /v Debugger /t REG_SZ /d "\"C:\Program Files\Sysinternals\Procexp\procexp64.exe\""</Arguments>
</Exec>
</Actions>
</Task>
You would need to edit the task for the path to Process Explorer on your own system.