Try this batch file with task manager not running:

set __COMPAT_LAYER=RUNASINVOKER
taskmgr

If it works; you can create a shortcut to launch it.

🌐
Wise Cleaner
wisecleaner.com › how-to › 278-how-to-uninstall-an-app-with-administrator-privileges-on-windows-11.html
How to Uninstall an App with Administrator Privileges on Windows 11
If you cannot remove an app in Settings, try revoking its admin privileges and uinstalling it in CMD, PowerShell, Safe Mode or via Wise Program Uninstaller.
🌐
Reddit
reddit.com › r/windowshelp › how to stop a specific program from asking to run as administrator?
r/WindowsHelp on Reddit: How to stop a specific program from asking to run as administrator?
December 10, 2024 -

I've downloaded an .exe file which I use regulary. However everytime I open it, it asks for administrator privileges and it's getting annoying.

Is there anyway to make it stop asking for privilages? Also note that I don't want to disable this completely for every program, just this specific one because it is technically a security feature.

Thanks

Top answer
1 of 5
1
Hi u/Euphoric-Minimum-132 , thanks for posting to r/WindowsHelp ! Don't worry, your post has not been removed. To let us help you better, try to include as much of the following information as possible! Posts with insufficient details might be removed at the moderator's discretion. Model of your computer - For example: "HP Spectre X360 14-EA0023DX" Your Windows and device specifications - You can find them by going to go to Settings > "System" > "About" What troubleshooting steps you have performed - Even sharing little things you tried (like rebooting) can help us find a better solution! Any error messages you have encountered - Those long error codes are not gibberish to us! Any screenshots or logs of the issue - You can upload screenshots other useful information in your post or comment, and use Pastebin for text (such as logs). You can learn how to take screenshots here . All posts must be help/support related. If everything is working without issue, then this probably is not the subreddit for you, so you should also post on a discussion focused subreddit like r/Windows . As a reminder, this is a help subreddit, all comments must be a sincere attempt to help the OP or otherwise positively contribute. This is not a subreddit for jokes and satirical advice. These comments may be removed and can result in a ban. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2 of 5
1
Try https://www.elevenforum.com/t/create-elevated-shortcut-without-uac-prompt-in-windows-11.4765/
Top answer
1 of 6
9

Try this batch file with task manager not running:

set __COMPAT_LAYER=RUNASINVOKER
taskmgr

If it works; you can create a shortcut to launch it.

2 of 6
16

That's an interesting question. Why? Because the task manager runs by default with highestAvailable privilege, meaning that if you're an Admin - it'll run elevated, otherwise it won't.

Also: there's no compatibility tab in System32 folder, by design. So how do you force something that's in there to always run as Admin? Well, there are several ways, and since I (and obviously - you ;]) have no idea what you did before, let me explore some of the possibilities:


  1. The simplest and most well-known: create a shortcut to whatever in System32 you want to run as Admin, open its Properties -> Advanced (button in the "Shortcut" tab) -> check Run as administrator. Done.

    But wait, it gets more interesting. Using task manager as an example: if you click on the Start menu and start typing task manager it'll appear at the top of the list. Right click on the item, select Open file location, and you'll end up... no, not in the System32 folder. It'll be

    C:\ProgramData\Microsoft\Windows\Start Menu\Programs\System Tools

    Now guess what happens if you overwrite the shortcut there with the one you just created (or just change the properties of an existing one)?
    Yes, launching task manager via Start menu now requires Admin elevation.


  1. Unfortunately, the above solution won't work if you right click on the Start menu and choose task manager from the list. Why? Because it's a different shortcut of course!

    The more detailed explanation is as follows:

    C:\ProgramData\Microsoft\Windows\Start Menu\Programs\System Tools

    is actually accessible by the so-called %ALLUSERSPROFILE% (which equals C:\ProgramData and also C:\Users\All Users) and, as the name suggests, changes the behavior of - in our example: task manager ran via searching in start menu - for each user (even the ones created after the change).

    The right click on the start menu shortcuts are located elsewhere - in

    C:\Users<USERNAME>\AppData\Local\Microsoft\Windows\WinX

    and (as far as I know, correct me if I'm wrong) are user-specific, meaning that the shortcuts have to be modified for every (existing) user separately. The shortcut to the task manager is in the Group2 folder - modify the shortcut there and the right click on the start menu option is done.


  1. The only thing left is a Ctrl+Alt+Del and Ctrl+Shift+Tab combination. The one sure way to tackle it that I know of is to use Windows registry feature called Image File Execution Options. This is an advanced debugging option (often used by malware) that, when set, will run the application of your choice instead of whatever you clicked on. And yes, It MAY be the same application, but with a surprise ;]

    To manage the feature run regedit and navigate to the following key:

    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options

    If taskmgr.exe is not present there you need to create a new key named taskmgr.exe, right click it and add a new string value (REG_SZ). The name of the value should be Debugger, and the value data is the path to the application you want to run instead of the task manager (in our example). To try it out just put calc.exe there - and try to run the task manager ;]

    A crude but working example of a command that will always elevate the task manager (copy as a single line and put in the value data of the Debugger key):

    cmd.exe /Q /C "@AT>NUL||echo set shell=CreateObject("Shell.Application"):shell.ShellExecute "taskmgr.exe",,"%CD%", "runas", 1:set shell=nothing>%temp%\n0.vbs&start %temp%\n0.vbs /realtime& timeout 1 /NOBREAK>nul& del /Q %temp%\n0.vbs&cls&exit"


Note: the steps described in #3 will override both #1 and #2!

🌐
Quora
quora.com › How-do-I-turn-off-administrator-permission-for-a-program
How to turn off administrator permission for a program - Quora
Answer (1 of 4): Q: How do I turn off administrator permission for a program? I find this question is ambiguous. Do you mean that you do not want a user, even an administrator, to use the program; or do you mean that you want to allow non-administrator users to have access to a program that is n...
🌐
AOMEI Software
aomeitech.com › aomei software › windows tips › how to disable the administrator privileges in windows 10/11
How to Disable the Administrator Privileges in Windows 10/11
December 23, 2024 - 2. In the Local Group Policy Editor, click "Computer Configuration" - "Windows Settings" - "Windows Settings" - "Security Settings" - "Local Policies" - "Security Options". 3. Then, find the "Accounts: Administrator account status" on the right ...
🌐
TechBloat
techbloat.com › home › how to remove administrator permission from an application windows 11
How to remove adminIstrator permIssion from an application Windows 11 - TechBloat
March 13, 2025 - Before proceeding further, it is essential to test if the application still functions correctly without administrator permissions. Launch the application by double-clicking its shortcut or executable file. Check whether it performs the desired tasks without any issues. If the application runs without needing administrator privileges, the changes were successful. However, if you encounter issues, you may need to consider restoring the previous settings. If you’re using Windows 11 Pro or Enterprise, you have the option of using the Group Policy Editor to manage applications that require administrative permissions.
Find elsewhere
🌐
Microsoft Support
support.microsoft.com › en-us › windows › app-permissions-aea98a7c-b61a-1930-6ed0-47f0ed2ee15c
App permissions - Microsoft Support
In Windows 11, use the Privacy page to choose which apps can use a particular feature. Select Start > Settings > Privacy & security.
🌐
Itechtics
itechtics.com › microsoft › windows › windows 11 › how to disable, remove “run as administrator” on windows
How To Disable, Remove "Run As Administrator" On Windows
December 28, 2023 - Back on the Properties window, unselect “Run this program as an administrator” again. ... Click Apply and Ok again. At this point, you will still see the shield in the app’s icon.
🌐
Quora
quora.com › How-do-I-get-a-program-to-stop-asking-for-administrator-permission
How to get a program to stop asking for administrator permission - Quora
Answer (1 of 5): If you’re a ... Control. Load the control panel, type “user account control” in the search bar, then in the resulting panel, drag the selector to the bottom, “Never notify,” and hit OK....
🌐
Eleven Forum
elevenforum.com › windows support forums › general support
Full administrator privileges? | Windows 11 Forum
November 15, 2024 - An owner is assigned to an object when that object is created. By default, the owner is the creator of the object. No matter what permissions are... www.elevenforum.com The above shows how to change the Owner ... You must log in or register to reply here. Reset Local Administrator Privileges or Other Fix?