We would like to point out a key difference with this method: you will launch it not simply with administrative privileges, but as the Windows built-in Administrator account as well. This is another way to launch the Control Panel as an administrator. Run Control Panel as administrator using command line You may experience a User Access Control (UAC) prompt when running the Control Panel with administrative rights – click Yes. Any configurations that you were previously unable to do can now be done with the privileges required. You can now simply run the newly-created Control Panel shortcut and it will run with administrative rights. You can now close all properties windows by clicking Apply and Ok. In Advanced Properties, check the box next to Run as administrator and then click Ok. In the Properties window, switch to the Shortcut tab and then click Advanced. Right-click the shortcut and click Properties from the context menu. The shortcut has been created, but you now need to set it to always run with administrative privileges. On the next page, enter the name for the shortcut and click Finish. In the Create Shortcut window, paste the following path for the Control Panel into the text field, and then click Next: C:\Windows\System32\control.exe Right-click the blank space on your desktop, expand New, and then select Shortcut. Two Ways to Open the Control Panel as an Administrator In Windows 10 Run Control Panel as administrator using shortcutĪ decent way to launch the Control Panel with administrative privileges is by creating a dedicated shortcut to always run as admin. How to check if user account has administrative privileges.Run Control Panel as administrator using command line.Run Control Panel as administrator using shortcut.Two Ways to Open the Control Panel as an Administrator In Windows 10.I put all of the files onto GitHub at the link below. I added keyboard shortcuts using Shift+F10, Shift+Context menu key, or Shift-Right click, and then a given letter for the desired option, which you can modify in the registry. Here is a link to an article about the shell variables: Powershell -WindowStyle Hidden "start cmd \"/k cd /d %w\" -v runAs" Powershell -WindowStyle Hidden "start cmd \"/k cd /d %V\" -v runAs"įor the file context-menu: (right-clicking on a file in an Explorer Powershell -WindowStyle Hidden "start cmd \"/k cd /d %1\" -v runAs"įor the background context-menu: (right-clicking on the background of Here is a link to an article that has the commands and a link to a ZIP with a REG file:įor the folder context-menu: (right-clicking on a folder in an explorer window) I am hoping that you can use and adapt the commands and use the existing Windows shortcut system that allows you to set keyboard shortcuts. I know that you wanted a keyboard shortcut. I added the commands to the Explorer context menu in the registry for the background, folders, and files. To open an administrative Command Prompt window in the current folder, use this hidden Windows 10 feature: Navigate to the folder you want to use, then hold Alt and type F, S, A (that keyboard shortcut is the same as switching to the File tab on the ribbon, then choose Open command prompt as administrator).That opens a non-admin Command Prompt session in the selected location. In a File Explorer window, hold down Shift as you right-click on a folder or drive.That opens a non-admin Command Prompt session in the current folder. From File Explorer, click in the address bar to select its contents then type cmd and press Enter.To open the session as an administrator, press Alt+Shift+Enter. Type cmd in the search box, then press Enter to open the highlighted Command Prompt shortcut.You can also use keyboard shortcuts for this route: Windows key + X, followed by C (non-admin) or A (admin). Right-click Start & choose Command Prompt or Command Prompt (Admin) from the Quick Link menu.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |