Windows 8 – How to Use Task Manager Without Elevation

elevationtask-managerwindows 8windows 8.1

In Windows Vista and Windows 7, the task manager ran non-elevated, and you didn't face a UAC prompt unless you chose "View Processes of All Users".

In Windows 8 Preview, out of the box the Task Manager starts elevated every time. How can I configure it to start non-elevated so I don't get hit with a UAC prompt every time I check CPU usage or view the list of running processes to see if an application closed completely?

(I am not looking for answers which involve weakening UAC, and I ask the community's help in downvoting any such suggestions.)

Best Answer

Compatibility "shims" can be used to override the manifest; you can start Task Manager with the __compat_layer environment variable set to runasinvoker, e.g. from a command prompt:
set __compat_layer=runasinvoker
taskmgr

Or, use Compatibility Administrator to apply the "RunAsInvoker" compatibility fix to taskmgr.exe so it automatically launches non-elevated.

Reference: http://csi-windows.com/toolkit/uac-prompt-guide


The RunAsInvoker compatibility shim can be enabled in the registry, without needing the Application Compatibility Toolkit or even installation of an SDB. Here is a registry script to do so (adjust the path as appropriate for your system):

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Windows\\System32\\taskmgr.exe"="RunAsInvoker"