What does it mean to run as administrator? Launching the Run dialog as an administrator


Sometimes it is useful for a program to have more rights than others. For example, such programs include those that maintain your security in the system, in other words, these are all sorts of utilities for checking your computer for viruses.

But what does running as Administrator give? More rights. But the whole point is that viruses can make it so that they will be launched on behalf of the System, then you will not be able to delete them even in the Task Manager, in any way at all, since you simply will not have the rights to do so. And the programs that you run have the same rights as you, which is why in the Task Manager it says that they are running on your behalf (or rather, the user).

What to do? It's very simple, let's imagine that we want the browser Mozilla Firefox always started with extended rights, what should we do? Open the shortcut properties:

Now in this window, go to the Compatibility tab, there will be a checkbox at the bottom about running as Administrator, check it accordingly and click OK:

Now, when you launch Mozilla Firefox, it will always run as Administrator.

But this is just an example, of course, such a feature is of no use for a browser, but for utilities that remove ad viruses- just right. But there is also back side, you don’t always need to do this, for example, if you like to play games, then you probably know what trainers are, but under no circumstances should you run them as Administrator, and to be honest, these trainers often contain viruses (however like any keygens). It’s not for nothing that many antiviruses complain about them, saying that they are potentially dangerous software.

How to find programs and features in Windows 10?

Well, I think I also need to write about how to open this window where all the software is installed. Well, that is, the Programs and Features window. I hope this information is useful to someone

So, look, everything is simple here - you need to click on the Start icon right click, there will be a menu, here at the top select Programs and Features:

By the way, this menu can also be called up with the Win + X buttons! So you press them and the menu appears!

After this, a window will open with the following list:


You see, all that is here is all your software. I don’t recommend deleting anything here just like that, because these, well, could be serious glitches. Also, if you suddenly are a more or less advanced user, then I advise you to use the removal utility

Many programs lack administrator privileges to function properly. These privileges allow programs to interfere with other programs and system settings. Even running programs under an administrator account, they do not have full administrator privileges; they must be run as an administrator. Usually, when running a program as an administrator, warnings from UAC appear ( User Account Control) about the unsafety of such a launch. Be careful when choosing programs to launch from the administrator, because such a launch can significantly affect the operation of the operating system, and sometimes the hardware.

This is the most commonly used way to run a program as an administrator. Used to run the program one-time as an administrator, for example, during installation.


It is very important to make sure that the program is safe before launching. Otherwise, you risk your operating system, which you will have to either use the services of the service.

Constantly running the program as administrator

In my experience of using a computer, I have come across programs that normal operation required to constantly run them as administrator. The method described above is quite simple, but its constant implementation required “optimization” of the process. And it can be optimized; the necessary programs can be launched as administrator with a simple double click.

Users often encounter the fact that some utilities need to be run with administrator rights in Windows 7, 8 and 10. This may be required by various games, browsers, Steam or system utilities. If this is not done, they may not start at all, or some of the functions may be unavailable. Eat several ways run the required applications with administrator rights, this will be discussed in this article.

How to set administrator rights for your account

To perform all these actions, the user must have the appropriate permissions. If this is not the case, then you will need to give them to him. To begin with, you can act through hidden account administrator, to do this, just launch the console and enter the operator there net user administrator /active:yes, then it will appear new account, which you will need to enter.

In it you should go to the control panel and go to the section user accounts. Here you should click on the item related to managing another account and click on the one whose type you want to change.

In the menu that appears, click on type changes account, and in the new menu click on administrator.

All that remains is to apply the settings and log into your account.

Using the context menu

The easiest way to open the utility with admin rights is to use the drop-down menu. To call it, you only need to right-click on the executable file or shortcut and click on launch with the required parameter.

It is possible to open programs not only as an administrator, but also as another user. All you need is hold the buttonshift, then press RMB. IN context menu the desired item is added, you need to click on it, and then you just have to enter your username and password.

Shortcut properties

It is possible to set the necessary permissions through the properties of the shortcut. To begin with, you should right-click on it and select properties, then go to the compatibility section. Here you can check the required item.

At the bottom of the window there is a button " Change settings for all users", you can click on it and put exactly the same checkmark in the pop-up menu. With this approach, the program will be launched with admin rights for all accounts on the device.

Start screen in Windows 8

The user has the opportunity to carry out all the necessary manipulations directly from home screen, if the application is submitted to it. The actions in this case are not very different from the methods described. First you need to right-click on the utility icon, and then go to the section additionally and select the desired item there.

This method is well suited if you need to run the program one time.

When searching

If the user does not know where the executable file or shortcut is located, he can use the usual search. In this case, launching the utility with the necessary permissions is also not a problem. You just need to type the name of the program in the search bar and wait until the system finds it, then all you have to do is right-click on it and select the desired item menu.

Using the task scheduler

Those users whose accounts are members of the administrators group can also use task scheduler. To get into it, you need to right-click on the computer, select control, and in the window that appears, click on task Manager, in the utility itself you should click on create a task.

In the window that opens, write the name and set execution with highest rights.

Next you should click on Action, where you will again need to click on create. In the menu that appears, you need to set the program to launch, click on overview and specify the path to it.

All that remains is to click on ok.

In the remaining window everything is also OK.

Now you can close the scheduler and go to the desktop. Here you will need create shortcut.

In the first window you should set schtasks /run /tn cmd_admin, however, instead of cmd_admin you will need to specify your name; if it contains spaces, then all of it should be placed in quotes.

To automate this procedure, you can use the program Elevated Shortcut, which should be downloaded from http://soft.oszone.net/program/9686. It will need to be downloaded and installed on your computer. All you need to do next is drag and drop the executable file of the application, which you need to give administrator rights, onto the application shortcut.

There is a small problem with this method; it is that after launching the utility, the focus does not shift to it and you have to additionally select it. For the system to do this itself, you can use command start, in the form /c start /d “path_to_program” file_name.exe, for example, for the command line it will look like this /c start /d “C:\Windows\System32\” cmd.exe.

For this you can use NirCmd utility . It should write exec show “path_to_program\file_name.exe”, for example, exec show “C:\Windows\System32\cmd.exe”.

Run via command line

You can also launch the necessary utility through command line. This will only work if the command prompt is running with administrator rights. To do this, type cmd into the search bar in Start, right-click on the found element and select – Run as Administrator.

It only requires you to specify the path to the application.

For this you can use third party applications , such as Elevate by Johannes Passing or PowerToys by Michael Murgolo. In this case, you only need to write the path to the first utility, and then to the one that should be launched.

To avoid writing a lot all the time, you can use the function copy path, which is available when the user right-clicks on the utility while holding down Shift.

Run the window with administrator rights

You can also set administrative rights for the Run utility; this will have to be done through the same task scheduler, where you will need to specify in the “Program or script” field: rundll32, and in the “Add arguments” field: shell32.dll, #61.

All actions from this application will also be performed with elevated privileges.

RunAs

To give other users the ability to run a specific utility with elevated rights, you can use the built-in command. First, the user will have to create a shortcut; the program should be specified as runas /savecred /user:Andrey “C:\Program Files (x86)\VideoLAN\VLC\vlc.exe”.

IN fielduser you need to specify the account name, then full path to the utility. /savecred is used to ensure that the password is entered only once. After the first input, others will be able to use the shortcut freely and launch the specified program with the necessary rights.

ExecAS

The utility can be downloaded from the link https://pisoft.ru/. You can install the program; upon login, the user will see such a window.

At the top there are options to add, edit and delete. When adding, you will need to specify the name and password of the account and the program itself. This data is stored in encrypted form and will not be lost.

AdmiLink

Usually, when a user who does not have the necessary permissions tries to run a utility with administrator rights, he is asked for a password, however, it is not the best idea to give it all in a row good idea, and some programs must be run with administrator rights. If such a situation arises, this program can help. You can download it from the link http://crw-daq.ru/download/doc/admilink/admilink.htm.

To get started you will need indicate the path to the program to which permits will be issued.

Next is go to account and enter the administrator information there.

Often, novice users begin to have problems because they cannot run some program or file that requires administrator rights in the system. In fact, running as administrator is not something out of the ordinary and is quite simple in most cases. To run games or programs with administrator rights, there are two ways: either you give your entire account, or you simply run its file with the appropriate system privileges. First you need to understand the administration settings, which will require you to do some “magic passes”.

So, running as an XP administrator proceeds as follows. Click on the treasured “Start” button and look for the “Control Panel” item there. We look for “Manage user accounts” there, and then click on the user icon. If you are an administrator, then there will be a corresponding inscription next to it.

What about Windows 7? Run as administrator in this operating system just as simple. In the same way, find the same “Control Panel” and look for an item there and then click on it. At the end, you should also click on your username.

If your account is not an administrator, then you will have to work a little to correct this annoying error. To do this, you need to change the record type to administrator. In the same one that opens by clicking on your account name, find the item “Change your account type.” By clicking on it, you will be taken to the next settings window, in which you need to check the box next to the type you need.

All. From now on, running as an administrator in most cases will occur automatically and without your participation. But if not, then what to do? Oh, even in this case, you shouldn’t expect any special difficulties.

In good old XP, you need to perform the following manipulations. You should hold down the Shift button on the keyboard, and then right-click on the program shortcut or executable file, after which you will need to find the “Run as” item in the drop-down context menu. By clicking on this item, select the administrator account. If this account is protected by a password, then running as an administrator will be possible only if you know it. In older OS versions Windows family everything is still simpler.

So, in Windows Vista, 7&8 do the following actions. You should right-click on the file or program shortcut, and then select “Properties” in the context menu that appears. There is a tab called “Compatibility”, which you need to look for at the top of the window. In it you need to find the “Privilege Level” item. Immediately below it is an empty checkbox “Run this program as an administrator”, which must be filled out by left-clicking on it with your “rodent”. After this, click on the “OK” button.

As you can see, running as administrator is quite simple.

Some applications require elevated rights to run on Windows and must be run as an administrator. In this case, the request " User Account Control" (User Account Control or UAC), in which the system asks for your consent to launch the application.

Many users incorrectly believe that User Account Control is just a nuisance and disable it. In this case, the security of the computer is seriously affected, because user consent is no longer required to launch applications, and any malware can start and operate smoothly. The presence of an antivirus also cannot guarantee 100% computer security.

In this article, I'll show you how to simplify the process of running your favorite applications as an administrator without disabling UAC (fully or partially) and without compromising security.

To run the application as an administrator, you can use several methods:

As an example, we will run the command line (cmd) as an administrator.

Method No. 1 (usual) - launch via the right mouse button (UAC prompt is displayed)

Right-click on the icon desired application and select " Run as administrator":

Method number 2 - launch using " Ctrl+Shift+Enter" (UAC prompt displayed)

Click Start, in the search bar type the right command and press Ctrl+Shift+Enter.

Method No. 3 - set to run as administrator in the shortcut properties (the UAC prompt is displayed)

Right click on the desired shortcut and select " Properties".

Go to the " tab Label", click " Additionally", check the box " Run as administrator":

Or go to the " Compatibility" and check the box " Run this program as administrator":

Method number 4 - simplify the launch of selected applications using the task scheduler (the UAC prompt is not displayed)

Important! This method only works for accounts that are part of a group Administrators. U ordinary users it won't work because their ceiling is limited rights.

Let's get down to it in an interesting way. If there is an application that you constantly launch, and it is obtained from a reliable software manufacturer, for example, this Windows application, you can simplify the launch. Create a shortcut for the desired program does not take more than 2 minutes and this will allow you to get rid of unnecessary actions in the future. Let's launch task Scheduler (Start---> All programs ---> Standard---> Service---> Task Scheduler) and press " Create a task":

We indicate Name For new task and check the box " Run with highest rights":

Go to the tab Actions, press " Create", in the next window click " Review":

Specify the path to the desired application and click " Open":


Enlarge picture

Click " OK":

Close the scheduler and proceed to creating a shortcut.

To create a shortcut on the desktop, right-click and select " Create" ---> "Label":

In field Property location enter:

Schtasks /run /tn cmd_admin

Where cmd_admin- the name of the task we created. If the name contains spaces, it must be quoted.

Set the name of the shortcut:


Enlarge picture

The shortcut is created and ready to use.

To change the icon, right-click on the shortcut and select " Properties":

Go to the " tab Label"and press " Change icon":

"Review..."

Specify the path to the program:


Enlarge picture

Choose desired icon and close both windows with the " OK":

Now the desired application can be launched as administrator double click using the created shortcut, but the UAC prompt is not displayed and security remains intact.

Utility for automation of "Method No. 4"

If you need to create shortcuts for a large number of programs, it is convenient to use the utility Elevated Shortcut.

Working with the utility comes down to two simple steps:

  • Installation
  • Drag and drop executable file(*.exe, *.bat, *.cmd) to the utility shortcut:

Automatic focus transfer to the running program

The specificity of launching applications from the scheduler is that the focus is not transferred to the window and, for example, to type a command in the command line, you have to additionally click on the window. This behavior can help in automating routine scheduled operations, but for “Method No. 4” it is not always convenient.

There are several methods for "bypassing". They work slightly differently, so choose the one that suits you best. The first one is more convenient for launching programs, and the second one for running scripts.

Add when creating a task:

Using the start command

Program or script:

Arguments:

/c start /d "path_to_program" file_name.exe

/c start /d "C:\Windows\System32\" cmd.exe

Using the NirCmd utility

Program or script:

Path_to_nircmd\nircmd.exe

Arguments:

Exec show "program_path\file_name.exe"

Exec show "C:\Windows\System32\cmd.exe"

Launching the Run dialog as an administrator

By analogy with launching the command line, you can configure the launch of the dialog box " Execute", and the commands entered into it will also be launched as an administrator. The convenience of this approach is that the list of previously used commands is saved, and you can select the one you need from the list.

When creating a task in the scheduler, in the " Creating an Action" indicate:

in field " Program or script":

Rundll32

in field " Add arguments":

Shell32.dll,#61

Download the utility and unpack it. We launch the command line, enter the desired command, the syntax is quite simple:

<путь к утилите> <путь к нужному приложению>

A UAC prompt will be displayed and the application will run as administrator.

Note: In context Windows menu 7 there is very convenient function copy file path: press and hold Shift, right-click on the file, select " Copy as path".

Running programs by a user as an administrator without entering the administrator password

Important! This method is insecure because it allows a user with limited rights to run code with full rights. A cunning user or malware can take advantage of this and compromise the system.

Let's look at one more interesting task: Your account Windows entry is a member of the administrators group, there are one or more accounts that are members of the users group. The user needs to run a program that requires elevated rights. Typically it looks like this: the user right-clicks on the file and selects "Run as Administrator", and is prompted to enter the administrator password:

Of course, giving users an administrator password is not a good idea. To “get around” this, we will use the AdmiLink utility by Alexey Kuryakin. With its help, the administrator can create a launch shortcut for the user necessary program, while entering the administrator password is required only once - when creating a shortcut. When the user starts the program, the password will be transmitted in encrypted form.


This method will work if the program can only be run as an administrator and the developer did not forget to indicate this condition in the manifest. However, there is still a large number of old programs or programs that can be launched as in normal mode, and on behalf of the administrator (a different set of functions will be available). When you try to launch such a program using AdmiLink, it starts in normal mode (without administrative privileges). And if you try to check the box "Method No. 3. The original style of the author is preserved.







2024 gtavrl.ru.