随笔 - 547  文章 - 213 评论 - 417 阅读 - 107万

From: https://www.cnet.com/how-to/always-run-a-program-in-administrator-mode-in-windows-10/

 

If you're sick of seeing those UAC pop-ups, you can get rid of them by setting programs to run in administrator mode by default.

 

 

 

Some of our Windows 10 tips involve tweaking the Registry (for example, this tip on how to get rid of default cloud service icons in File Explorer) or running a few lines of code in the Command Prompt or the Windows PowerShell.

If you're beyond basic Windows 10 customization -- and comfortable working in the Registry or the Command Prompt -- you've probably noticed that you can't run programs as an administrator by default. Instead, you have to right-click on the shortcut in the Start menu, click Run as administrator, and then click Yes when the User Account Control (UAC) window pops up. This is the case even if you have an administrator's account. It's a minor inconvenience, but if you're in the middle of adjusting your system, it can get pretty annoying.

Here's how to set a program to always run in administrator mode, so you don't have to go through the UAC warning every time you want to use the Run command box. Remember -- the UAC warning is there to keep you from inadvertently making big changes to your system, so it's important that you only apply this tip to programs you're completely comfortable using.

 

Step 1: Open the Start menu and click All apps. Find the program you want to always run in administrator mode and right-click on the shortcut. In the pop-up menu, click Open file location. Only desktop programs (not native Windows 10 apps) will have this option.

 

 

Step 2: A File Explorer window will open to the location of the program you want to access. Right-click on the program and click Properties from the pop-up menu.

 

 

Step 3: In the Properties window, click the Shortcut tab and then click Advanced...

 

 

 

Step 4: In the Advanced Properties window, check the box next to Run as administrator and click OK.

Step 5: The program will now open in administrator mode when you click the shortcut from the Start menu. You'll need to repeat these steps for each program you want to have this feature.

Pretty simple, right? There is a way to set all programs to always run in administrator mode without changing the properties for each individual app, but it's better to start slow (and it involves a Registry edit), so maybe we'll tackle that next week.

posted on   今夜太冷  阅读(360)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
历史上的今天:
2017-05-08 为什么有的需要安全连接的的application只有开Fiddler才好用?
2011-05-08 程序数据层研究(二) NHibernate入门
点击右上角即可分享
微信分享提示