Howto: Elevate scripts, programs, and prompts to Administrator rights in Windows Vista


I’ve found myself trying to leave Windows Vista’s UAC enabled, but I’ve come across several programs that refuse to install until UAC is disabled. Before doing something as drastic as disabling UAC, try to use one of these methods to elevate scripts, programs, and prompts to run as Administrator.

The Script Elevation Power Toys for Vista is comprised of these main programs:

  • Elevate Command PowerToy
  • RunAs Administrator
  • CMD and Power Shell Here Prompt as Administrator

This post describes how to configure a Windows Vista command prompt window with elevated privileges permanently.

Randy has a .reg file you can download to “enable a “Command Prompt here” and “Elevated Command Prompt here” menu item when you right click on a drive or directory in Explorer”

This post describes creating a desktop shortcut to an elevated Command Prompt.

You can also disable UAC for administrators, while leaving it enabled for regular users.

If you need to perform an administrative function as Administrator, you must enable the account, which is disabled by default. To enable the Administrator account, run the following from an elevated command prompt:

net user administrator AdministratorPassword /active:yes

One Response to “Howto: Elevate scripts, programs, and prompts to Administrator rights in Windows Vista”

  1. Solved: “The connection has been lost. Attempting to reconnect to your session…” when attempting to access a Windows 2003 server from a Windows Vista Remote Desktop Session « the back room tech Says:

    [...] (and dinner was on the table), I came across this post, which said to run the following from an elevated command [...]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 32 other followers

%d bloggers like this: