This has been on my mind for sometime. I can open task manager by pressing Ctrl + Shift + Esc and on the second tab (Processes), I can easily press Alt + S -- Show processes from all users to elevate my task manager without any prompts whatsoever. And voila, I have a powerful tool to play with. I've been unable to find any documents explaining this and I'm very curious about how this feat is achieved; since the button should actually ask for a prompt but does not.
相关问题
- the application was unable to start correctly 0xc0
- Handle button click in another application
- win32 Python - pythoncom error - ImportError: No m
- How to prevent windows from accessing and detectin
- Getting the output from a process created by Creat
相关文章
- Why windows 64 still makes use of user32.dll etc?
- Can WM_NEXTDLGCTL be used with non-dialog windows?
- Windows EventLog: How fast are operations with it?
- Are resource files compiled as UNICODE or ANSI cod
- Looking for documentation on the “right” way to in
- user32 and kernel method list for C# [closed]
- Writing to the middle of the file (without ove
- Does winapi's bcrypt.h actually support bcrypt
What you are describing is called Auto Elevation. It is done by a lot more than just task manager, but there is no way to make your program do it. To auto elevate the following requirements must be met.
<autoElevate>true</autoElevate>
must be in the assembly manifest.%SystemRoot%\System32
and most of its subdirectories,%SystemRoot%\Ehome
, as well as a handful of directories under%ProgramFiles%
that include Windows Defender and Windows Journal.You can do number 1 and 2 yourself, but there is no way you can fulfill requirement #3.