Elevated Command Prompt top

Elevated Command Prompt

Elevated Command Prompt (I.T EXPERT)

Today you will learn what an elevated command prompt is and many I.T expert cool tips on how to use it. I am sure that after reading this post, you will know what 80 percent of computer users don’t know about elevated command prompt. So let’s get started. Some commands will not work in the command prompt window.

How do you know such commands?

When you type a command and you get a message like ‘Access Denied’ or ‘Administrative privileges are needed’ in it.

How to execute commands in command prompt?

You have to open the command prompt as an administrator, which will make the cmd be in elevated command prompt state.

Different ways to open elevated command prompt.

There are many ways to open the elevated command prompt. But each way is different in different operating systems. I will explain how you can open it in common OS like windows 10, 8, 7, Vista and XP.

How to open elevated command prompt in windows 10 and 8

In all windows operating systems, you can either be the admin or a standard user of the computer.

Admin users will have all the privileges available on that computer while a standard user will have limited privileges. I will explain how you can open elevated command prompt as an admin and also as a standard user.

Open the elevated command prompt as an admin in windows 10 and 8, the best way.

  • Open the task manager: right click on the taskbar and click on task manager.
  • Click the File tab in the task manager.
  • Follow it up with a click on ‘run new task’.
  • Then type CMD in the box that opens.
  • Enable the ‘administrative privileges’ button.
  • Now use the elevated command prompt as you wish.

Open the elevated command prompt as a standard user in windows 10 and 8.

Press the Windows key + X key together.

Click ‘command prompt (admin)’

How to open the elevated command prompt on windows 7 and Vista.

In win 7 and vista, you will open an elevated command prompt with the following steps.

  • Locate the accessories folder: you can use the windows search bar.
  • Right-click on the command prompt
  • Click ‘Run as administrator

How to open an elevated command prompt in Windows XP.

Windows XP does not differentiate between the elevated command prompt and the standard command prompt. All commands will always run the standard command prompt window in XP.

Elevated Command Prompt

How to Make A Standard User Account Run An Application As An Administrator Using Elevated Command Prompt

The whole process takes 5 simple steps. You will first activate the windows built-in administrator account, create a password for the account. You then create a shortcut to the application you want the standard user to run. Customize the shortcut to make it appealing, then you will test the whole thing using the password you set. To fully explain how to run an application from a standard user account as admin. I have laid down the details step by step.

Step 1:

You will enable the built-in windows administrator password by typing the command ‘net user administrator /active:yes’ into elevated command prompt interface.

Run the command.

Step 2:

Now that you have gotten an admin account, the next thing is to give it a password.

You can give the password in the command prompt or in the control panel.

Follow control Panel > User accounts > User Accounts > manage user account

Select the admin account and click Reset password. You will type the password twice.

Step 3:

The next thing on the list is to create a shortcut that leads to the executable file (.exe in the program files folder) of the application you want the standard user to run.

So how do you do that?

Right-click on a free space on the desktop. Then select New > Shortcut.

A box will appear where you type the location of the item.

Type runas/user:computername\administrator/savecred”C:\path\to\program.exe”

In the code above, computername will be changed to the name of the computer, and C:\path\to\program.exe will be the link to the executable file in program files.

Step 4:

The new shortcut needs customization in order to look nice and appealing.

So right-click on the shortcut and rename it. Also, change the icon to something nice.

How To Rename A Shortcut

How to rename a shortcut or file is quite obvious, but few people can change the icon of a shortcut. Follow the steps aligned below if you are among the many people that don’t know how to change the icon of a shortcut.

Right-click on the shortcut and click on properties.

On the properties window, click on the shortcut tab.

Click Change Icon at the bottom of the page.

Pick your choice from the list of icons.

Click OK and Apply.

Step 5:

The last step is to open the shortcut and save the admin password into it.

This will be the only time the shortcut requests a password.

When that is done, the standard user is good to go on running the application at will.

The whole 5 step process might be quite long, but there is a shorter and better way to make a standard user account run an application as an administrator.

Second Way In Which A Standard User Account Can Run An Application As An Admin

This method is secure compared to the above method in the sense that it only allows the standard user to run just one application.

This method is divided into two stages.

Stage 1:

You will schedule a task that will run the application.

Stage 2:

Create a shortcut that will initiate the task whenever the user wants to.

How Schedule A Task In Windows PC

Search for Task Scheduler in the Windows taskbar and open it.

At the right-hand side of the Task Scheduler window click the link to Create Task.

Give the task a name (take note of the name) in the Create Task window. Then enable the ‘highest privilege’ radio button at the bottom of the page.

 Click on the Action tab at the top, then click New on the page. Browse to the application you want the standard user account to have access to and click OK.

You have successfully created a task.

How To Link Shortcut To Task Scheduler

This is similar to the way you create shortcuts in the first method.

Right-click on the desktop and select New, then click the shortcut.

In the browse box, type schtasks/run/tn “name-of-task”

Replace the name-of-task with the name you gave the task in stage 1.

That completes the whole process, the standard user account can now run the application as an admin account.

Leave a Comment

Your email address will not be published. Required fields are marked *