In Windows 8, as in previous versions Windows, a number of system administration and management tasks are performed through the command line interface ( cmd.exe). However, as in previous versions of Windows, a number of similar tasks require administrator rights to be performed. In this article we will talk about how open command prompt with. Due to the fact that Microsoft has slightly redesigned the interface of this operating system, this procedure will be slightly different from the one we are used to in Windows 7 (there is no menu Start). The problem is that when you click right click mouse over the program shortcut on the Metro start screen, menu “ Runasadministrator" does not appear.

In Windows 8, you can launch the Command Prompt using administrator rights in several ways:

  1. From the start screen
  2. From the Explorer menu
  3. Using Task Manager
  4. Using the Win+X menu

Let's describe each of these methods of opening a command line with admin rights in Win8 in more detail.

Open the command line from the Metro UI interface

In the "Search" line Windows interface 8 Metro UI, you need to dial cmd" (or "command prompt ”) , As a result, the found application will be displayed in the left panel. Then you need to right-click on the shortcut that appears and a line with additional options launch. Select “Run as administrator”

The same thing can be done by highlighting the found application and pressing the combination on the keyboard Ctrl + Shift + Enter.

Run Command Prompt from Explorer

Open the window Windows Explorer Explorer by pressing a keyboard shortcut Win+E. In the left window, select an element My computer, and on the right is a disk C:\. Then in top menu select File->Opencommandprompt ->Opencommandpromptasadministrator (Open command prompt as administrator).

Run Command Prompt from Task Manager

Open the manager Windows tasks 8 by pressing the keyboard shortcut Ctrl + Shift + Esc. Then you need to create a new task by selecting the menu item “File -> Run new task”(“File -> New Task (Run)”), type in the window that appears cmd, check the box « Run a task with Administrator privileges "("Create this task with administrative privileges.") and click OK.

Launch from the Win+X shortcut menu

An elevated command prompt window can also be opened using the menu quick launch, for this, being on home screen, you need to press Win+X. In the menu that appears, select “Command Prompt (Admin)”.

Here are some ways to launch the command line with administrator rights in Windows 8 that we were able to discover. Suggest your options in the comments :)

IN operating system In Windows, in certain situations, tools must be used with elevated privileges. This is necessary because of actions that lead to changes at the system level and ordinary users (not administrators) do not need this. In the article I will talk about run as administrator of any application on the computer.

When you launch programs with elevated rights, a window appears in which you need to confirm the launch -. Some users disable this feature altogether. Thus, the security of the computer is compromised. After all, if the UAC warning window does not appear, any malicious infection will be able to start from your computer as an administrator. “Bad” code and good luck.

To make it easier for users to run programs as an administrator, I have prepared a couple of methods.

Run as administrator using context menu

The context menu is called up with the right mouse button. Click on any program with the mouse and from the context menu click on the option. This is how it opens command line and other programs where elevated privileges are required.

Using the combination Ctrl+Shift+Enter when searching

When there is no tool on the desktop or in the Start menu, we turn to search. Any Windows version equipped with it, and in the tenth it is most convenient. Write some command, for example, cmd - command line. Having selected the result, simultaneously press the combination Ctrl+Shift+Enter. Simple way isn't it?

Additional Shortcut Properties

Let's say you are interested in the question... The icon is already located on the desktop as quick access, but you don't want to launch the context menu all the time. This problem can be solved.

Go to the shortcut properties (right mouse button and Properties) and go to the section "Additionally".

Additional options will open. There, check the box "Run as administrator". Now, when you run the program normally, it will always open with elevated rights.

Additionally! In the properties on the "Compatibility" tab there is an option "Run this program as an administrator." Also a useful thing.

Programs to run as administrator

There are the following programs: RunAs, AdmiLink, ExecAS.

RunAs Tool

It is part of Windows, so you can use it. To run it, just open the command line and enter the following command:

You will most likely be asked to enter a password. Be sure to enter it.


Let's create a shortcut on the desktop. Right-click on an empty area and select “Shortcut”. We write the same command as the location:

runas /user:PCName\UserName msconfig.exe

Give the shortcut a name and save it.

After launching the shortcut, a command line will open where you must enter the account password. When you enter the correct data, msconfig or the utility you selected will immediately launch.

In this situation, you or people with access to the PC will have to enter a password every time. This point can be solved by adding the /savecred parameter to the command, then the command will be like this:

runas /savecred /user:PCName\UserName msconfig.exe

If you are thinking about security, then it is better not to use such shortcuts with this option. It’s better to enter your password every time and not worry that some impudent person will use it using Windows without a password to please yourself and to your detriment.

Using the ExecAS tool

Running as administrator is possible using the ExecAS program. After launch, a window appears asking you to enter account information (login and password), as well as the program name and path. After entering the data, click "Record".


Our guinea pig appeared in the ExecAS window. Close the program and open it again. The program we specified in ExecAS will immediately open. To add additional application you need to enter ExecAS.exe /S on the command line. (In this case, you need to be in the directory with the utility, for example, C:\ExecAS).


Having launched ExecAS, we add some other program. Close the tool and launch it again. The same window appears. But this is not convenient for us, so let’s move on to creating shortcuts:

We make two shortcuts with the following commands:

  • C:\ExecAS\ExecAS.exe 1
  • C:\ExecAS\ExecAS.exe 2

Numbers 1 and 2 correspond to the program number in ExecAS.

Having launched the shortcuts, we see that they were opened as administrator.

Using the AdmiLink utility

The utility specified in the title is a console utility, and after installation it will be located in the Windows directory.

We launch the tool and see a very convenient window with a Russian interface, so it will be easy to figure it out.

  • In the first field, enter the path to the file that we want to run;
  • The command line parameters in the second field are optional;
  • The third line will be filled in independently, if this is not the case, enter C:\windows\system32
  • Window display mode. Line 4 has 2 parameters:
    • SHOW – standard software launch with a visible window;
    • HIDE – software runs in the background;

Configuring parameters on the tab Account:

  • For the domain name, write the name of your PC, or NetBios and test.lan;
  • Username – can be selected by clicking on the button with three dots;
  • Account password and confirm.
  • After entering all the data, click the button "Test".

The utility will check the functionality of the information we specified. Press any key in CMD.

After a successful test, press the button “Generate AdmiRun launch key”. If you don't do this, then nothing will work.

  • Go to the “Link” tab and do the following:
  • Shortcut name- call by any name;
  • Catalog– indicate where the shortcut will be located;
  • Picture– select an image for the shortcut;
  • Press the button "Generate command line".
  • Now we press big button “Create Shortcut Now!”.

The icon will immediately appear on the desktop or directory you specified.

Let's try to launch the shortcut. If everything went well and the program was launched as administrator, then congratulations. Otherwise, actions at some step were performed incorrectly.

If you go to the properties of the shortcut and change the program in the “Object” field to another, it simply will not start. This is a little protection against malware.

Task Scheduler

Run the program as administrator, just use the tool "Task Scheduler". There is one nuance here - if you are not an administrator, you will not be able to use it.

Enter just two words in the search: “Task Scheduler” and open the result.In the window on the right, select the item "Create task".

Call it an appropriate name, let's say you are launching the command line, then you can call it CMD. Also check the box "Run with highest rights".

On the "Actions" tab, click the button "Create".

Select an action (in our case, launch the program).Click Browse and select the utility to launch.If you run the command line, the path will be: C:\Windows\System32\cmd.exe.Now click OK.

A new line has appeared on the “Actions” tab. Great, you can click OK.

Shortcut creation stage

Create a shortcut on the desktop and enter the following command:

schtasks /run /tn task_name in scheduler

scheduler_task_name is the name you gave at the very beginning of the task creation process.

Hurray, we made the shortcut, but that's not all. Go to its properties.

On the Shortcut tab, change the icon. Of course, you don't have to do this.

Addition to the task scheduler method

For, you can use the Elevated Shortcut utility. You take a shortcut or executable file and drag it onto the Elevated Shortcut icon.

Running programs from the command line

If you open the command prompt as an administrator using the above methods, then launching all programs from CMD will also allow you to open them with elevated rights. How to transfer an account to another computer

conclusions

We looked at a bunch of ways to run programs as an administrator. There are options where you need to enter a password - this is one of the safest solutions, because every time we enter a password, we don’t have to worry too much about losing some data. Virus programs will also not be able to launch Windows tools in this manner.

The command line is a universal tool in any operating system. Over time, many people come to the conclusion that they need to use this tool. This is usually necessary to solve some problem in the OS. Let's look at how to open the command line in Windows 7 as an administrator using all available methods.

Administrator privileges when calling the utility are necessary so that the user can perform virtually any action in Windows, even though he is running under account with limited privileges. In such a case, if the administrator account is protected by a password, you will have to enter it each time to call the command line using any of the methods below.

What it is

This shell, which transmits to the operating system the data entered into it text commands. Physically, it is a cmd.exe file, which is located in the “%windir%\system32” directory, and in Windows 7 x64 in the “%windir%\SysWOW64” directory.

Although a lot of time has passed since the days of MS-DOS and many operations in Windows are performed through GUI, no one is going to give up the command line. Firstly, not all actions in Windows 7 can be performed through the console, and secondly, it is much faster to enter a text command and press Enter than to perform numerous clicks on window elements, various menus and other graphic elements.

Run window

In addition to the console, text commands are also sent to the operating system through the command interpreter. Its features are:

  • the window with the result of the command is not displayed after its execution;
  • after launching each of them, the interpreter has to be called again;
  • Administrator privileges are required to run commands.
  1. We launch this tool using the button of the same name in “Start” or the key combination Win + R.
  1. Enter the command “cmd”, “cmd.exe” or the full path to the file into the text form: “%windir%\system32\cmd.exe” and execute the command.

Here the question may arise: how do you know that the necessary privileges have been obtained? We turn our attention to the window header - there should be an inscription: “Administrator: path to the cmd.exe file.”

Many people write: “I can’t start the console as an administrator.” This can happen if your account is not allowed to do this by the administrator, and only he can solve the problem.

Shortcut in Start

  1. Open this drop-down menu and click “All Programs”.
  2. Scroll down and click on the “Standard” folder.
  3. Call the shortcut context menu and select the appropriate item.

Search bar

  1. Let's expand on the main thing Windows menu 7 and enter part of the utility name into the search bar.
  2. As in the previous case, open the context menu of the target object that appeared as a result of the search and select “Run as...”.
  1. Set the location object to “cmd” and click “Next”.
  1. Enter its name and press Enter.
  1. Open the properties of an object using the combination Alt + Enter or the right button.
  1. Click "Advanced".
  1. In the advanced properties window, check the first option and click “OK”.
  1. We close all windows.

To add a shortcut to the “Taskbar”, drag it to the desired area or, when the utility is running, call the “Pin to Taskbar” command.

A shortcut is also created by dragging the executable file onto the desktop or into the “Taskbar”.

Conductor

Open “Explorer” (go to any folder except “My Computer”).

  1. The fastest way to do this is with the key combination Win + E.
  2. Hold down Shift and open the context menu (right click) of the space free from files/directories.
  3. Click on the “Open command window” item.

Direct call

The command line can be launched as a normal application - by double-clicking on the executable file. Let's do this.

  1. Call up the Explorer window: we used the combination for this Win buttons+E.
  2. In the address bar we enter “%windir%\system32”, and for 64 bit you can also “%windir%\SysWOW64”, we find our file and execute it as administrator.
  1. Enter the name of the utility and open it.

The method is suitable for cases when the explorer.exe file is damaged or replaced by viruses.

Most proprietary builds of the operating system include the ability to open a console with extended permissions through the directory context menu. We use official version OS, so we won’t be able to demonstrate this.

We've looked at all the options for opening the Command Shell in Windows 7 with administrator privileges, which is necessary to run most commands on the system. Without these rights, your ability to manage the Seven will be meager, and many problems simply cannot be solved without this.

Video instruction

In the selection of videos below you can see some of the methods in action: after all, it is easier for people to perceive information in visual rather than text form.

– Igor (Administrator)

It's no secret that a number of Windows operating system applications require administrator rights. Therefore, sometimes it is necessary to run the command Windows string with administrator rights. In this sense, in Windows system XP everything was quite simple. If you have administrator rights, then all applications you launch will have them. Those. you don't have to do anything. If you didn’t have rights, then you could run the application on behalf of another user (of course, knowing the password and login).

However, starting from Windows Vista and Windows 7, the situation has changed somewhat. The so-called UAC (User Account Control) appeared. The idea is really interesting. Limit ordinary users from many mistakes. But, unfortunately, the implementation of such an idea made the work of most experienced users very inconvenient. Too many actions were required from the user to configure the system so that the huge number of warnings did not appear. Luckily, UAC can be disabled.

Running Command Prompt with Administrator Rights in Windows Vista/7 in the Normal Way

  1. Right-click on "cmd" or "cmd.exe" in the list of programs.
  2. Select "Run as administrator"
  3. If a UAC warning window appears, click "Yes".

Run Command Prompt with Administrator Rights in Windows Vista/7 with Keyboard Shortcut

  1. Open the "Start" menu
  2. Enter "cmd" (without quotes) in the "Start Search" field (" Start search") (Vista) or "Search programs and files" (Win 7)
  3. Then press the combination Ctrl keys+ Shift + Enter (must be pressed simultaneously)
  4. If a UAC warning window appears, click "Yes". You can also use the keyboard shortcut Alt + C to confirm the action.

Create a shortcut to launch command line in Windows 7 / Vista with elevated privileges

If you use the command line frequently, it's best to create a shortcut once rather than using keyboard shortcuts or the context menu every time. Although, this is more a matter of habit. However, the shortcut also has its advantages. At a minimum, it can be placed on the Quick Launch panel, and then you only need one click to launch it. So let's get started:

  1. Right-click on an empty area of ​​your desktop
  2. IN context menu select "New"
  3. Select "Shortcut"
  4. In the "Specify the location of the object" field, enter "cmd.exe" (without quotes)
  5. Click "Next". Give the shortcut a name, for example "cmd.exe", and click "Finish"
  6. Right-click on the created shortcut
  7. Select "Properties" from the context menu
  8. Click the "Advanced" button
  9. Check the box for “Run as administrator”
  10. Click "OK"

You now have a shortcut that will open a command prompt with administrator rights when double click. Well, or you can pin it to the quick launch panel, as mentioned earlier. Agree that it is convenient. Please note that if UAC is enabled, a warning window will still appear when you open the console.

To perform many of the commands that are mentioned in various articles, you must be able to open the Command Prompt as an administrator. In this short article you can familiarize yourself with several ways how this can be done in the Windows 7 operating system.

Opening the Command Prompt via the Start Menu

If you want to open the Command Prompt in Windows 7, the easiest way to do this is to use the Start menu. Open the Start menu and go to All Programs. Here you need to open “Standard”, where the command line shortcut is located. Simply clicking on the “Command Prompt” icon will open it in normal mode, without administrator rights.

If you need to open the command line as an administrator, then right-click on the icon and select “Run as administrator” from the menu that appears.

After this, a warning from User Account Control will appear. To confirm opening the command prompt as an administrator, click on the “Yes” button.

As a result, a command line will appear in front of you. In order to make sure that it is opened as an administrator, pay attention to the window title. It should say "Administrator". Also, the “system32” folder should be open on the command line.

In addition to the All Programs menu, you can use Search, which is located at the bottom of the Start menu, to open the Command Prompt. Enter the search query “Command Prompt” and the system itself will offer you the desired shortcut.

Right-clicking also works in search results. With it, you can open the command prompt as an administrator.

In addition, in search bar Some commands also work. For example, you can open the command prompt using the "CMD" command.

Opening the Command Prompt via the Run menu

This is a small window that can be called up using the Windows + R key combination. Using this window, you can quickly execute various commands. For example, if you need to open a command prompt, you can press Windows+R and enter the command “CMD”.

As a result, a command prompt will open in front of you. Unfortunately, this way you can only open the Command Prompt in normal mode, without administrator rights.

Opening Command Prompt Using a Shortcut

If you regularly need to open the command line, the easiest way is to make a shortcut on your desktop. To do this, right-click on the desktop and select the menu item “Create – Shortcut”.

After this, you need to enter the “CMD” command, which is responsible for opening the command line, click on the “Next” button and confirm the creation of the shortcut by clicking on the “Finish” button.

As a result, a shortcut will appear on your desktop with which you can quickly open the command line at any time.

If necessary, you can right-click on the shortcut and open a command prompt as administrator.

If you want the shortcut to always be opened as an administrator, then you need to right-click on it and go to “Properties”. There, on the “Shortcut” tab, you need to click on the “Advanced” button.

After this, a window will open in which you need to enable the “Run as administrator” function.

After enabling this function, close all windows using the “Ok” button. Now, using this shortcut, the command prompt will always open as administrator.