zoukankan      html  css  js  c++  java
  • Always run a program in administrator mode in Windows 10

    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.

  • 相关阅读:
    C#基础知识之GC 垃圾回收
    获取地址栏参数并转化为对象
    input type属性为number时,去掉右边的上下箭头
    vscode用服务打开html
    富文本的原理和插件使用
    原生js拖拽、jQuery拖拽、vue自定义指令拖拽
    js的call()方法
    js继承
    网页禁止复制和解除禁止复制
    ES6-解构赋值
  • 原文地址:https://www.cnblogs.com/time-is-life/p/9008720.html
Copyright © 2011-2022 走看看