Šodienas jautājumu un atbilžu sesija mums priecājas par SuperUser - Stack Exchange dalību, kas ir kopienas vadīta Q & A tīmekļa vietņu grupa.
Jautājums
SuperUser lasītājs Jonno vēlas uzzināt, vai ir ātrs veids, kā atvērt programmu kā administratoru ar Windows 10 sistēmas iespējotu UAC:
Currently, if I want to open a command prompt on my Windows 10 system, I press the Windows Key, type CMD, then hit Enter. If I want to open it as administrator, I have to right click on it and select Run as Administrator. Is there a way that I can do this without using a mouse?
Vai ir ātrs veids, kā atvērt programmu kā administratoru ar Windows sistēmā iespējotu UAC?
Atbilde
SuperUser atbalstītāji Jonno, David Marshall un Ben N ir atbildes par mums. Pirmkārt, Jonno:
By holding Ctrl + Shift while pressing Enter, it will open as administrator. You can also hold Ctrl + Shift and left click a command prompt window on the taskbar (probably other applications too) to open a new one as administrator.
Confirmed as working on Windows 7, 8, 8.1, and 10.
Seko David Maršala atbilde:
For Windows 8.1 and 10 (English versions), you can open an administrator level command prompt window via the keyboard using Windows Key + X followed by A. For other languages, the appropriate key to use will be indicated by an underline in the pop-out menu.
Un mūsu galīgā atbilde no Ben N:
If you find yourself opening administrator level command prompt windows all the time, then you can create a shortcut on the taskbar as follows:
- Find Command Prompt in the search results (searching for CMD works).
- Right-click on it and choose Pin to Taskbar.
- Open the taskbar shortcut’s properties by right-clicking on the icon, then right-clicking the Command Prompt entry that appears and choosing Properties.
- On the Shortcut Tab, click the Advanced Button.
- Check Run as Administrator, then click OK to exit out of the properties window.
You can now open the shortcut by holding the Windows Key and pressing the number that represents the shortcut icon’s position on the taskbar (do not include the Windows 10 desktop switcher icon). For example, if your command prompt icon is the second pinned item, then pressing the Windows Key + 2 will open it. Pressing Alt + Y will ‘accept’ the UAC prompt when it appears. That is just two keyboard shortcuts with a total of four keys used (and no mouse required).
Special Note: SuperUser reader Todd Wilcox noted that if you are not using a local administrator account with the Alt + Y keyboard shortcut, then you will need to enter the user name and password of an administrator account in use on that system.
Vai kaut ko pievienot paskaidrojumam? Skatieties komentāros. Vēlaties lasīt citas atbildes no citiem tehnoloģiju savvy Stack Exchange lietotājiem? Šeit skatiet pilnu diskusiju pavedienu.