Hello, Welcome to my blog. 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
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 system. 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 system, you can either be the adminor a standard user of the computer.
Admin user 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 elevated command prompt as an admin in windows 10 and 8, the best way.
- Open the task manager: right click on the task bar and click on task manager.
- Click the File tab in 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 which.
Open 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 elevated command prompt on windows 7 and Vista.
In win 7 and vista, you will open elevated command prompt with the following steps.
- Locate the accessories folder: you can use the windows search bar.
- Right click on command prompt0
- Click ‘Run as administrator’
How to open elevated command prompt in windows XP.
Windows XP does not differentiate between elevated command prompt and the standard command prompt.
All commands will always run the standard command prompt window in XP.
How to Make AStandard 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 command prompt or in 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 nest thing on the list is to create a shortcut that leads to the executable1 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”
On the code above, computername will be changed to 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 other 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 short cut 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 done know how to change the icon of a shortcut.
Right-click on the shortcut and click on properties.
On the properties window, click on 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 request for 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, 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 windows task bar 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 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 shortcut in the first method.
Right click on the desktop and select New, then click 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