Need Advanced Assistance?

Your Ad Here

Tuesday, June 2, 2009

Shrinking A Partition On Your Hard Drive

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 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 prive ledges.

See in the screenshots below. The first screenshot shows I am running cmd.exe as an administrator, and the second shows me running cmd as a normal user.


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 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 case.

  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.

  1. Now see the screenshot below. My E: partition was 116mb and now it is 58.27mb. The data and files that was on there is gone. And now I have 58.17gb of free space. To use this free space we need to right click on that area and choose to create a new volume. We can also extend E: back out to 116mb by using the free space.



No comments:

Post a Comment