The command console in Windows systems, in spite ofits DOS-like mode of operation, is one of the most powerful tools that allow performing a lot of operations on setting up the system and eliminating some problems that for ordinary Windows tools are not available, even though most of the actions performed in the system are duplicated in the console. Most, but not all. About how to start the command line with different methods and with different access priorities, then we'll go further. But first let's see what this tool is for, because DOS support in Windows has ended a very long time.
Yes, indeed, the command console in terms ofinterface is clearly reminiscent of the obsolete and remaining without the support of the DOS system. Even most of the commands used are borrowed from there. Nevertheless, some of them can be called unique in its kind. For example, checking a disk (chkdsk with additional attributes) running just on the command line works much better than the regular tool of the system called through the properties of the disk or partition. Although, by and large, it seems to be one and the same, nevertheless the difference is colossal.
The same applies to the diskpart toolkit,which is indispensable in some cases, when the system refuses to load completely. And there are a lot of such examples. In addition, using the command line, you can reanimate the operating system when no other tools help (for example, in the Windows tools there is no equivalent for the sfc / scannow system files checker, and you can use it only from the command line). But let's see how to run the command line to perform a task. At once it is necessary to make a reservation, that for application of some tools it is necessary to have the rights of the manager and to launch the console in such mode (about it it will be told separately).
So, the way is the first and the simplest.As you know, the "account" of the super administrator has appeared only in Windows 7 and since then is present in all subsequent modifications. In the XP version, no special privileges are required, so the launch can also be done using the classic method, which is also used in systems of higher rank if additional rights are not required to execute a command.
Earlier access to the console could be obtaineddirectly from the main menu "Start", where the section of standard programs was selected. To speed up access, the "Run" menu (Win + R) was used (and is still in use), in which the required reduction of cmd was prescribed.
In Windows 10, the start menu can be used, but only through the PCM. In the list for starting the console there will be two items: the usual start and start on behalf of the admin.
Over time, this method of calling the console went tosecond plan, because Windows 7 and higher did not provide sufficient rights to perform certain types of commands. Let's see how to run the command line with administrator rights in the seventh modification of the system.
To do this, you use the same "Run" menuwith the same command. However, in some assemblies of this operating system for start on behalf of the administrator in the execution console, there was a special item located just below the field for the commands to be entered, which had to be ticked. Over time, the developers of Windows for some reason decided to get rid of it, and in versions above the start with the necessary rights this method was impossible. And how to run the command line on Windows 8 or 10 with the necessary privileges? As it turns out, there are some simple methods available even to a user with limited access to system tools.
In the simplest case, you can use the standard Task Manager (taskmgr). How to run the command prompt as an administrator? Elementary!
In the file menu, the creation of a new task is selected,The same cmd command is entered in the name field and the Start item is marked on behalf of the admin, located below (a complete analogy of that described for Windows 7).
Now let's see how to start the command line using the usual "Explorer".
If you open the file menu, it will immediately show the console start item. It contains an additional menu, in which, again, two types of start are set.
Using all the same "Explorer", you can find andthe executable file of the program itself (all standard commands for the Run menu, used by default, correspond to executable files that are in the System32 directory, and 64-bit systems are duplicated in the SysWOW64 directory).
How to run the command line from these folders?Yes, just like you open any other program file to start on behalf of the administrator via PCM on the file. At the same time, it makes absolutely no difference what directory is being launched from.
Finally, let's see how to run the command line using standard search. Especially this method is relevant for Windows 10.
Through the RMB on the "Start" button, if in the contextThere is no menu link on the command line, a search is selected and the phrase “command line” is entered (without quotes). In the search results will appear the string cmd, on which through the RMB and you need to start on behalf of the admin.
Basically, if the command line doesn't startor someone doesn’t like the tool itself, you can use PowerShell, which starts using exactly the same methods, but has much greater capabilities than the usual command line. Sometimes even in the "Explorer" file menu contains a link not to the command line, but to this tool.