WindowsDevCenter.com
oreilly.comSafari Books Online.Conferences.

advertisement


AddThis Social Bookmark Button

Six Top Tips for Hacking Windows Vista
Pages: 1, 2

Hack the Elevated Command Prompt

When you run certain commands from the command prompt, you're told that you don't have administrative rights to run them, even if you're currently logged in as an administrator.

What gives?

You'll have to run the command prompt itself as an administrator, which is called running an elevated command prompt.

One way to do it is to type cmd into the Search box on the Start menu, right-click the command prompt icon that appears at the top of the Start menu, and then select "Run as administrator."

But if you don't want to go about doing that each time you run a command prompt, there's a simpler way. You can create a Desktop shortcut for an elevated prompt, or pin the elevated prompt to the Start menu.

To create a shortcut on the Desktop:

  1. Right-click the Desktop, and select New-->Shortcut.
  2. In the text box of the Create Shortcut dialog box that appears, type CMD and then click Next.
  3. On the next screen, type a name for the shortcut--for example, Elevated Command Prompt. Then click Finish.
  4. Right-click on the shortcut you just created and select Properties.
  5. Click the Shortcut tab and click Advanced. (See Figure 3.)
  6. Check the box entitled "Run as administrator," click OK, and then OK again.

The Elevated Prompt
Figure 3. Creating a shortcut for an elevated command prompt

Now, when you want to run an elevated command prompt, simply double-click the shortcut.

If you'd like the elevated command prompt to appear on the Start menu, drag it from the Desktop to the Start button, and place it where you would like it to be.

Hack Aero's Glass Borders

The borders around system windows, such as dialog boxes and the Control Panel, are transparent in Windows Vista's Aero interface. If you'd like, you can make those transparent borders larger or smaller:

  1. Right-click the Desktop and select Personalize.
  2. Click Windows Color and Appearance.
  3. Click "Open classic appearance properties" for more color options.
  4. From the dialog box that appears, make sure that Windows Aero is selected as the color scheme. Click the Advanced button on the right side of the dialog box.
  5. Select "Border Padding" in the Item drop-down box. To change the size of the border, type a new size for the border. (The default is 4.) Click OK, then OK again. The sizes of the borders will now change.

Hack System Restore

System Restore can chew up tens of gigabytes very quickly. If you want to regain that precious hard disk space, you can delete all restore points except your most recent one:

  1. Click Start, then choose All Programs-->Accessories-->System Tools-->Disk Cleanup.
  2. From the screen that appears, choose "Files from all users on this computer."
  3. If a dialog asks which drive to clean up, choose the drive on which Windows Vista is installed. Click OK.
  4. Disk Cleanup will now scan your hard drive and display a dialog box. Click the More Options tab.
  5. In the System Restore and Shadow Copies section, click "Clean up."
  6. A dialog will ask, "Are you sure you want to delete all but the most recent restore point?" Click "Delete."
  7. Click OK to close the Disk Cleanup window.

Disk cleanup
Figure 4. Deleting System Restore points

Keep in mind, though, that when you do this, you will also delete any older Shadow Copies of files, and older Windows Complete PC Backup images as well.

Hack Vista's Blinking Cursor

Windows Vista's blinking cursor can be razor thin, and sometimes it can be very hard to find, especially if you're using a laptop. But it's easy to make the cursor thicker--pretty much as thick as you want. Select Control Panel-->Ease of Access-->Optimize visual display. Scroll toward the bottom of the screen until you come to "Make things on the screen easier to see," as shown in the nearby figure.

See cursor
Figure 5. From here, you can fatten up Windows Vista's cursor.

In the box next to "Set the thickness of the blinking cursor," select a number. The larger the number, the fatter the cursor. You'll see a preview of the cursor next to the box. Click Save. The cursor throughout Windows Vista will now be fatter and easier to see.

Preston Gralla is the author of Windows Vista in a Nutshell, the Windows Vista Pocket Reference, and is the editor of WindowsDevCenter.com. He is also the author of Internet Annoyances, PC Pest Control, Windows XP Power Hound, and Windows XP Hacks, Second Edition, and co-author of Windows XP Cookbook. He has written more than 30 other books.


Return to the Windows DevCenter.