Forum Discussion
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.
- 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
- 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!
- 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
- 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!
- 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".
- Zombie13x33Copper Contributor
Hello and good day. I have done what the instructions said and it's still asking for permission when I start the game. It's a game from STEAM. I have it downloaded on my external HD that's duck taped to my $1600 asus gaming laptop lol. I also have not done a restart as I had just done one literally right before and didn't think of it until typing this... I'm having no issues at the moment either except I would like to have this permission thing changed for this one game. It's the only game that asks for it every time so it's just annoying I guess. I learned I could do this from doing a Google search. Maybe I'll go back into the properties and take a second look or just try again. I just don't want to go poking around and mess things up by poking aroundand tryingto change things. Thanks for reading and taking the time to respond if you do. I did not even look at the date from the original post but you folks are usually pretty fast to respond considering the sheer size of the company and its customer base. Thanks.
Brad
- JasonBurnettCopper Contributor
I have a nice program called QuickLook that I simply want installed in Program Files instead of User/myname/AppData which I think is absolutely retarded.
So rather than give admin access to the c:/program files/ directory to every app I want to install, I would like to run the installer as Admin. This should grant RW access to the program files directory.
I can't find the Run As Admin option in the context menu and can't set the compatibility mode settings they are greyed out. Is it impossible to run an .msi file as admin? Any suggestions - Khant_Ko_KoCopper ContributorYou can easily right-click the Icon from taskbar. Then right-click the "visual studio xxxx", choose "Properties". Go to "Shortcut" tab. Then click "Advanced...". There you can see "Run as admin" checkbox.
- mkh4730Copper Contributor
Where is it?
- Nobel_BaynesIron ContributorWhy some of the app asks for admin permission when opening it up? Is this a normal behaviour?
- cccruzeniaCopper ContributorThis is something related to app packaging software. If it is running as admin, the packed app will requires admin permission as well.
- ChandlereCopper ContributorIs it safe to grant admin permission when some app asks?
- DianiaCopper ContributorIt depends on what kind of app it is. For popular & famous app, it is ok to go!