Home
News & Insights
- News & Insights Home
- Innovation
- IT Careers & Skills
- Cloud
- Cyber Security
- Future of Work
- All Categories
- Marketing
- HR
- Finance
Community
- Ask question
- Community Home
- Spiceworks Originals
- Cloud
- Collaboration
- Networking
- Water Cooler
- Windows
- All forums
- How-Tos
- Scripts
- Vendors
- Meetups
Reviews
Online Events
Login Join
Login Join
SteveTheITDude
Sep 12, 2013 2 Minute Read
Spice
Reply (22)
Subscribe
- Share
SteveTheITDude
SteveTheITDude14 years in ITNetwork+, VCA-DCV
1114
Contributions
77
Best Answers
76
Helpful Posts
2
Projects
Main Areas of Contribution:
- General Networking |
- IT Jobs / Careers |
- Windows Server |
- Best Practices |
- Microsoft Exchange
Register. Track Progress. Earn Credits.
Learning has never been so easy!
Sign Up
Task Manager in Windows Vista and Windows 7 runs in non-elevated mode by default, showing only those processes running under the current user context. To be able to terminate or manage a process running under other user accounts, or to log off other users, you need to elevate Task Manager by clicking the Show processes from all users button in the Processes tab.
Alternately, you can create a desktop shortcut to Taskmgr.exe, right-click on the shortcut and click Run as administrator. But, this workaround won’t help if you mostly use the Ctrl + Shift + Esc keystroke to launch the Task Manager.
I’ve just found a way to start Task Manager in elevated mode by default when using the Ctrl + Shift + Esc keystroke or when running Taskmgr.exe directly, and sharing the knowledge in this post. The trick is to set the Debugger registry value for Taskmgr.exe, pointing to a VBScript which starts Task Manager elevated. The method which I found works perfectly fine, no matter which way you use to launch Task Manager.
Here are the instructions to make Task Manager always start in elevated mode:
- Open the C:\Windows\System32 folder.
- Make a copy of Taskmgr.exe and name the copy as Taskmgr2.exe
- Download taskmgr-elev.zip and unzip the contents to a folder
- Move the file taskmgr.vbs to C:\Windows
- Double-click taskmgr-elev.reg to run it
- Press Ctrl + Shift + Esc, or type taskmgr.exe in Start Orb to open Task Manager. It should now show the User Account Control elevation dialog. Click Continue so that Task Manager runs as administrator (elevated). And, when you run Task Manager from a standard user account, it should prompt for administrator credentials.
More Information
The registry fix above sets taskmgr.vbs as the Debugger for taskmgr.exe process, by writing to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Taskmgr.exeStarting Task Manager will now invoke the script file taskmgr.vbs, which then launches taskmgr2.exe elevated. To reverse the changes, run the Undo.reg file, and then manually delete taskmgr.vbs from the Windows directory.
The excellent Process Explorer utility uses the same technique to replace Task Manager.
One small request: If you liked this post, please share this?
One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.