Forum Discussion
How to Run App as Administrator by Default in Windows 11
How to Run App as Administrator by Default in Windows 11
1. When you've located the file, right-click it to open its context menu. Then, select "Properties."
2. Navigate to the "Compatibility" tab.
(external link removed by moderator)
3. Check the option next to "Run this Program as Administrator."
4. To apply this new choice, click "Apply" and then "OK" to exit the window.
31 Replies
- QbertprimeCopper Contributor
So my guess is that the OP wants what I want...
I'm sick of having to go back (only after the tedious troubleshooting resulting in the determination that one must run that app "as an Administrator".
I'm not on a network of any kind...
SO.....
Why not set an option (and it can be deep deep deep so as to not mistakenly select it...) to AUTOMATICALLY LAUNCH ALL PROGRAMS "as an Administrator".
- Arzi3Copper Contributor
I "thought" this might be how you consistently run a program as an administrator by default but it didn't work either:
START, All apps, find desired program, right-click More, Open file location; in list of programs (likely location is C:\ProgramData\Microsoft\Windows\Start Menu\Programs), right-click desired program, Properties; Open File Location [going to the location of WINWORD.EXE--or desired *.exe file--rather than the shortcut to it is very important otherwise the change will affect Word (or the desired app) only when you run it from Start menu or shortcut—going to the *.exe file takes you to the source of every app launch]; right click *.exe file, Properties; from the Security tab, under Group or user names, click Users—note only Read & execute and Read are checked; (if you compare those rights with Administrators rights, you will see that Administrators have Full control, Modify, Read & Execute, Read, and Write all checked, so you need to check all boxes for Users by changing permissions); To change permissions, click Edit; click Users; check Full control, Modify, and Write, OK, OK.
- qwlolCopper ContributorThanks this helps!
- pregretCopper Contributor
- joergsi375Copper ContributorBut in this case, you are launching Excel as admin, not the file!
Make a right mouse click on an Office Document, and try to launch this as an Administrator, that's the challenge, in my understanding.- pregretCopper Contributor
1. what you want to do, does not exist. it is impossible as you can only run .exe as admin.
2. why would you even want to do that
3. this ticket is about running an APP as admin. the user above is trying to run the app as admin by default every time, via opening a file to trigger the app, but he is not able to set it.
4. so this IS the answer: (external link removed by moderator)
- sanjeevi83Copper Contributor
Dear sir
i have done the following for run as adminstratror for windows 11.
for example i have done for excel to open as run as adminstrator, in order to update external linked data. I wish always open run as adminstrator. i have done the following,
1. locate the file , by right click,
2. properties------->
3. short cut menu
4. Advanced
5. check the box "run as administrator"
6. In this case new excel opening by short cut is opens by "run as administrator". If you save the excel file and open it again , it is not opening in run as administrator . this Troubling in windows 11.
kindly help me .
Thanks
sanjeev
- JPittwayCopper ContributorThis worked for me. Windows 11 does not have a "Compatibility" tab for C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe properties, however I launch VS2022 from a task bar icon and it does let me set "Run as Administrator" as described above.
Many thanks sangeevi - joergsi375Copper Contributor
Dear sanjeevi83,
this is, in my understanding, about the context you are starting the App (Excel).
By changing the "environment" settings in the linked app, you are launching Excel as Admin.
Clicking on the Excel-File you are starting the associated program to the .xlsx-filtype => Excel. By doing this the "environment" settings for Excel are not used.
Hope my explanation is making sense,
with kind regards,
Joerg
- CharlotteAndersonCopper ContributorGreat! thanks!