How to run cmd.exe as an administrator

How to run cmd.exe as an administrator

When you try to use the DOS command feature in Windows Vista on occasions it will not work because it needs to be run as an administrator. Sometimes you might type a command in, and the DOS command box either flashes on the screen or appears to do nothing at all.

How to run the cmd.exe (DOS command prompt) as an administrator in Windows Vista?
1. Go to the start menu and press on it.
2. Type cmd into the search bar at the bottom.
3. Do not press enter.
4. Look up to the top of the star menu. You should see cmd.exe listed there.
5. Right click on this. A menu will appear.
6. Choose to Run as administrator.

You can also go the long way by clicking Start | All Programs | Accessories, then right-click Command Prompt and choose Run as Administrator.

Why do I have to run cmd as an administrator when I am already admin?
Windows Vista does not care if you are admin or not. For certain things to work you will need to run as admin. However if you are an average user you will have to actually type in an administrator password to access certain privileges.

How to always permanently run the cmd window as administrator?
If you do not want to have to continually choose run as administrator every time you want to use the cmd window then you can set this option as permanent. You must follow these steps to make this work. If you take the shortcut to cmd.exe in the start menu it will not work. You must choose Command Prompt in this step.

1. Go to the start menu and press on it.
2. Go to all programs. Then Accessories.
3. You should see command prompt listed there.
4. Right click on this. A menu will appear.
5. Choose properties from the menu.
6. The properties for that shortcut will appear.
7. Go to the shortcut tab.
8. Click on the Advanced button.
9. The Advanced Properties will appear.
10. Put a tick in the box next to Run as administrator.
11. Press ok.
Now the Command Prompt shortcut will always run as administrator.

Notes on running the cmd.exe prompt as administrator.
* You can also choose to run other programs as administrator the same way.
* Once you have set the Command Prompt to run as admin you can drag it to your quick launch toolbar. You must drag the right shortcut from the start menu though...The cmd.exe shortcut will not do.

0 komentar: