Right-click the Command Prompt item from the context menu. But if your edition of Windows doesn't include secpol.msc you will have to do some registry hackery to enable it. However, if you want to launch the console with administrator privileges from the taskbar, use these steps: Right-click the Command Prompt button. I think this is a much more natural option than the other's offered here and is rather reminiscent of gksudo on *nix. Vista has a similar option that doesn't mention "Admin Approval Mode" but it does the same thing. You're looking for Local Policies > Security Options > User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode > Prompt for credentials. Simply open the start menu and type secpol.msc and hit enter to launch it (if it's available). which will cause the elevated process to run as them. It also gives you the option to select a completely different user and enter their password. If you have a non-Home edition of Windows (Vista thru 10) you can use the Security Policy Manager to make it prompt you to give your password whenever elevation occurs. From the results, right-click the entry for Command Prompt, and select Run as Administrator. An ideal option would make this possible using the same process you already use for privilege escalation. Swipe in from the right edge of the screen, and then tap Search.Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search.Type Command Prompt in the Search box, right-click Command Prompt, and then click Run as administrator. Open a command prompt as an administrator by typing cmd in the search field. All the existing answers require typing archaic commands and knowing the exact path to your executable. I notice this is a very old question, but the given answers are not ideal and it's already been necroed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |