Return to site

Run As Administrator Xp

broken image


In the Windows operating system, a user account that is a member of the administrators group will not automatically have unrestricted full access to the operating system, thanks to the User Account Control system that has been implemented since Windows Vista. The purpose of the UAC restriction is to prevent malicious software from instantly making changes to any parts of the Windows operating system when it is launched. The User Account Control warning window will help to create an awareness to the user that a program from an unknown publisher wants to make changes to your computer.

As an example, the HOSTS file in Windows is used to map a hostname to an IP address and can be opened and viewed using a text editor such as Notepad. However, in order to save the changes made on the HOSTS file, Notepad must run as administrator or else you'll get the error window saying 'Access is denied.'

The Server Proxy Account in server properties is typically used for xpcmdshell users who are non-admin users. It almost always has less rights than the login SQL is running under. Just run the program, check the 'Enable Admin Account on Welcome Screen' box followed by clicking on the Apply button. Download Add Administrator/Welcome Screen You can also achieve the same result in XP by using one of the third party tools in our article about how to.

An older program that was compiled during the Windows XP era will also face problems if it requires changes in restricted areas because it doesn't create a UAC prompt to elevate privileges when run. To solve this problem, you can manually run the program as administrator and here we have 10 different ways to do it.

1. Right Click on Program or Shortcut

One of the most common way to run a program with a UAC prompt to elevate privileges is by using your mouse to right click on the program file or shortcut and select 'Run as administrator'.

2. Ctrl+Shift+Enter

For the more advanced user who uses the keyboard more than the mouse, a handy method to quickly run a program as administrator is by simultaneously pressing the Ctrl + Shift + Enter key when the program is selected at the Start menu. In fact, Ctrl + Shift + left click will also work.

Do take note that this method strictly works from the Start menu only but not on other areas such as the Desktop or Explorer.

3. Explorer Ribbon Menu

If you love to use the ribbon toolbar menu which was introduced in Microsoft Office 2007, you will find that there is a 'Run as administrator' option from the Manage tab in Windows Explorer. Do note that this option is only available on executable files but not on program shortcuts.

You won't find this in Windows 7 because the ribbon based Explorer has only been implemented since Windows 8.

4. Permanently running program as administrator

It would be quite annoying if you constantly need to manually run the program as administrator because there are times when you'll forget to do that. Fortunately Microsoft provides a built-in method to permanently configure the program to run as administrator each time you run the program. You can either right click on the program exe file itself or the shortcut, select Properties, go to Compatibility tab, and tick the 'Run this program as an administrator' checkbox. Finally click the OK button to apply the changes.

5. From Task Manager

The Task Manager tool in Windows is a useful utility that is commonly used to forcefully terminate a program and to see what process is running. Another very useful feature found in Task Manager that most users don't know exists is the ability to run a program with administrative privileges without even getting the UAC prompt.

You can quickly launch Task Manager by simultaneously pressing Ctrl+Shift+Esc key, click on File menu, select New Task (Run…) and browse for the program. For Windows 8 and above, you'll need to click on the More details button located at the bottom left, then only click on File menu bar, select 'Run new task', browse the program and make sure that the 'Create this task with administrative privileges' checkbox is ticked.

6. RunAs

RunAs is a command line tool to execute program under a different user account that is available in Windows operating systems since XP. Surprisingly you can use RunAs to launch a program under the same user account and it will have elevated privileges without the UAC prompt. You will however need to enter the user account password and it cannot accept a blank password. The command is as follow:

runas /user:computernameusername 'C:pathtoprogram.exe'

7. PowerShell

PowerShell is a powerful automation tool that comes built in to the Windows operating system. It looks similar to command prompt except it can do so much more, thanks to the scripting language for complex operations. With a single command line below that can be used in batch files or in the Run window, you can launch a program as administrator with a UAC prompt using PowerShell.

Please input captcha to take your serial number. View in text. Similar activation keys. EasyCAP CAPTURE Honestech TVR 2.5. Download now the serial number for Honestech TVR 2.50. All serial numbers are genuine and you can find more results in our database for Honestech software. Updates are issued periodically and new results might be added for this applications from our community. Serial key for honestech TVR 2.5 can be found and viewed here. We have the largest serial numbers data base.

powershell.exe -Command 'Start-Process 'C:pathtoprogram.exe' -Verb runAs'

If you're running from PowerShell, then you'll have to omit the command before the Start-Process. For example:

8. Task Scheduler trick

The Task Scheduler trick is a well known workaround method to permanently disable UAC for a specific program without disabling the whole User Account Control feature. It involves quite a few steps to get it to work which may be a bit challenging for beginners to accomplish. Fortunately there are a few third party programs that does the exact same thing but only involves a few clicks of a mouse button.

We've tested one of the program called ElevatedShortcut and it works in Windows 10 x64 without problems using the version that was built for Windows 8.

9. Elevate

The third party Elevate command line tool allows you to trigger a UAC elevation prompt for any programs that you specify which is very useful when working with batch files.

As you can see from the screenshot above, it triggers a UAC privilege elevation on Notepad and the user will still need to click on the Yes button to allow the program to run.

10. Vista UAC Maker

When you have a program that can work with or without admin access and you explicitly want to run it with elevated privileges every time, an official solution is to embed a manifest file into the executable file so that you get a UAC prompt each time you run it. You can use a command line Microsoft Manifest Tool to do it but a simpler way is to use Vista UAC Maker which acts as a front end GUI for mt.exe without the need to download the huge Win32 Development Tools. Vista UAC Maker also automatically generates a generic manifest file based on the given project description.

We've tested Vista UAC Maker under Windows 10 64-bit and it works perfectly. An important note is that the mt.exe tool requires .NET Framework 3.5 installed in order to work or else Vista UAC Maker will report that it failed to add manifest file to the specified executable file and to make sure that it is not running or being use by another program.

Download Vista UAC Maker

You might also like:

5 Ways to Show Administrator Account on Windows Logon Screen3 Ways to Change a Windows User Account Into an AdministratorBackdoor to Reset Administrator Password or Add New User in Windows 74 Ways to Find Out What Programs are Running in the Windows System Tray6 Ways to Trigger UAC Elevation from Command Line

Steve Sybesma1 year ago

I'm hoping to find a powershell script that can check the box on multiple EXE files in a folder which have the 'Run this program as an administrator' checkbox. Otherwise, I have to do 98 files manually.

I would not know the command line, especially the correct word to use at the end.

Reply

Very good trick

Reply

Leave a Reply

In addition to the standard and administrator accounts created by users on a Windows computer, there are also other accounts that are built in by default. The Guest account can allow other users that don't have their own account short term limited access on the system. Then there's the built in Administrator account which is similar to a regular administrator account. The main difference is by default it has no permission restrictions imposed by User Account Control (UAC).

While the built in administrator is an account you could potentially use every day, it is certainly not recommended you do that. It should only be used in an emergency when you need to troubleshoot or repair other system accounts, then be disabled again. This will reduce possible security risks by leaving it active. Although the administrator account was enabled by default in Windows XP, it has been disabled by default in every version of Windows since Vista for increased security.

Here we'll show you several possible ways in which you can enable the built-in administrator account. Methods for Windows Vista, 7, 8.x, 10 and also XP are included. Please remember that the administrator is for temporary use only and should be disabled as soon as you have finished with it.

Enable Administrator Account in Windows Vista, 7, 8 And 10

Because back in the days of Windows XP the built in administrator account was enabled by default, all you had to do was access it. In Windows Vista and above it has to be enabled first before it becomes accessible on the logon screen. This can be done several different ways.

Enable Administrator From Computer Management

This method of enabling the administrator account is probably the easiest and can be achieved in as little as just 9 clicks of the mouse.

1. Right click on Computer/This PC on the desktop and select Manage. Alternatively open Start and type compmgmt.msc.

2. Expand System Tools > Local Users and Groups > Users

3. Double click on the name Administrator and uncheck the 'Account is disabled' box.

4. Click OK to save the changes and restart your computer or log off.

Enable Administrator Via Security Policy

Group Policy and Security Policy consoles are not available in Home or Basic versions of Windows, those users will need to use one of the other options.

1. Open Start and type Secpol.msc to open the Security Settings snap-in.

2. Expand Local Policies and click on Security Options.

3. In the right pane double click on 'Accounts: Administrator account status' (should be the top option). Click the Enabled radio button, press OK and close the Security Settings window.

When you next reach the logon screen the administrator account will be visible.

Use The Net Command To Enable The Administrator Account

Using a built in Windows command is probably the most flexible way of enabling the administrator account. This is because you can use it from Command Prompt, from batch scripts, from within your own programs (see below) or even when you are unable to log in to Windows from another account.

Open an administrator Command Prompt (or admin PowerShell) and type the following to enable the administrator account:

net user Administrator /Active:Yes

You can also use '/Active:No' to disable it again from the command line. If you would like to enable and also password protect the account at the same time (recommended), use:

net user Administrator 'mypassword' /Active:Yes

To make things as simple as possible we've created three very small batch files (only 3 lines each) which will enable, disable or enable the Administrator account with password. Download the Administrator_Accounts Zip file, extract it, right click and run the batch file you want as administrator. Open the password account script in Notepad before running it and edit the 'changeme' to your preferred password.

Any access denied message while using these commands or batch files means you haven't run the Command Prompt or script as administrator.

Use A Third Party Utility To Enable The Administrator Account

If you don't want to mess around in Command Prompt or management and security consoles, there's an option to enable the administrator account in a third party program. The program in question is the great little tool Winaero Tweaker.

Download and run the installer and you have the option to create a portable version if preferred. Open the Winaero Tweaker program and go to User Accounts > Built-in Administrator in the options tree on the left. Simply click on 'Enable Administrator account' in the right hand pane and close the program. The .NET Framework 3.5 needs to be installed if you have Windows 8.x or 10.

This program uses the exact same method to enable the administrator as above. The command 'net user administrator /active:yes' is run in the background in a hidden Command Prompt.

Download Winaero Tweaker

Display Administrator Account on Windows XP Welcome Screen

WIndows XP is long out of Microsoft support but it's still used by a sizeable proportion of users so we'll include the option. The difference between XP and all newer versions of Windows is the Administrator account is already active. Pressing Ctrl+Alt+Delete at the welcome screen twice will open the classic logon where you can simply type 'administrator' as the username and log in.

If you would like to have the administrator account appear as an icon on the welcome screen along with other users so it can be selected at a click, there is a simple way to achieve it.

A very old tool dating from 2002 called Add Administrator/Welcome Screen will do the job. Just run the program, check the 'Enable Admin Account on Welcome Screen' box followed by clicking on the Apply button.

Download Add Administrator/Welcome Screen

You can also achieve the same result in XP by using one of the third party tools in our article about how to hide specific user accounts from the logon screen.

Enable The Administrator Account While Not Logged In

If you are having issues with your account, such as forgetting the password or profile corruption so it won't start, the administrator account becomes very useful. There are a couple of ways to achieve this offline although the following method has a few advantages, like being able to change or reset passwords and run other tools such as Regedit before anyone logs in.

The main requirement is to be able to move a couple of Windows files while Windows itself is not started. This can be done with utility repair disks like Hiren's BootCD, Gandalf's WinPE or with a Live Linux distro. We are going to use a Windows installation DVD for the task.

1. Boot to the Windows installation media and press Shift+F10 to open Command Prompt when you reach the select language, time and keyboard screen.

Run

2. Type Dir D:, if it lists the Program Files, Users and Windows folders, you have the right drive letter. If not, try other Dir commands such as Dir C:, Dir E: etc until you find the right drive that shows those folders.

3. Type these commands in order, change the drive letter from D: if you found an alternative drive letter in the previous step.

D:

CD WindowsSystem32

Copy Sethc.exe Sethc.exe.bak

Copy Cmd.exe Sethc.exe

Press Y when asked to overwrite the file.

4. Close the Command Prompt and then the setup window to force a reboot. Once you reach the logon screen press the Shift key 5 times (or press Alt+Shift+PrintScreen) to open Command Prompt.

5. Type the following command into Command Prompt:

Unlock jailbroken iphone. net user Administrator /Active:Yes

6. Use the power button on the logon screen to reboot the computer or type shutdown /r into the Command Prompt. The Administrator will then be available from the logon screen.

7. To restore the files back to normal, boot to the Windows install DVD again and open another Command Prompt with Shift+F10. Type the following using the same drive letter as before.

D:
CD WindowsSystem32
Copy Sethc.exe.bak Sethc.exe

Press Y to confirm the overwrite and close the setup window to reboot. Once you have finished with the administrator and can use another account, disable it again using one of the methods above.

You might also like:

6 Ways to Hide User Accounts from the Windows Logon Screen
How to run as administrator xp
Download now the serial number for Honestech TVR 2.50. All serial numbers are genuine and you can find more results in our database for Honestech software. Updates are issued periodically and new results might be added for this applications from our community. Serial key for honestech TVR 2.5 can be found and viewed here. We have the largest serial numbers data base.

powershell.exe -Command 'Start-Process 'C:pathtoprogram.exe' -Verb runAs'

If you're running from PowerShell, then you'll have to omit the command before the Start-Process. For example:

8. Task Scheduler trick

The Task Scheduler trick is a well known workaround method to permanently disable UAC for a specific program without disabling the whole User Account Control feature. It involves quite a few steps to get it to work which may be a bit challenging for beginners to accomplish. Fortunately there are a few third party programs that does the exact same thing but only involves a few clicks of a mouse button.

We've tested one of the program called ElevatedShortcut and it works in Windows 10 x64 without problems using the version that was built for Windows 8.

9. Elevate

The third party Elevate command line tool allows you to trigger a UAC elevation prompt for any programs that you specify which is very useful when working with batch files.

As you can see from the screenshot above, it triggers a UAC privilege elevation on Notepad and the user will still need to click on the Yes button to allow the program to run.

10. Vista UAC Maker

When you have a program that can work with or without admin access and you explicitly want to run it with elevated privileges every time, an official solution is to embed a manifest file into the executable file so that you get a UAC prompt each time you run it. You can use a command line Microsoft Manifest Tool to do it but a simpler way is to use Vista UAC Maker which acts as a front end GUI for mt.exe without the need to download the huge Win32 Development Tools. Vista UAC Maker also automatically generates a generic manifest file based on the given project description.

We've tested Vista UAC Maker under Windows 10 64-bit and it works perfectly. An important note is that the mt.exe tool requires .NET Framework 3.5 installed in order to work or else Vista UAC Maker will report that it failed to add manifest file to the specified executable file and to make sure that it is not running or being use by another program.

Download Vista UAC Maker

You might also like:

5 Ways to Show Administrator Account on Windows Logon Screen3 Ways to Change a Windows User Account Into an AdministratorBackdoor to Reset Administrator Password or Add New User in Windows 74 Ways to Find Out What Programs are Running in the Windows System Tray6 Ways to Trigger UAC Elevation from Command Line

Steve Sybesma1 year ago

I'm hoping to find a powershell script that can check the box on multiple EXE files in a folder which have the 'Run this program as an administrator' checkbox. Otherwise, I have to do 98 files manually.

I would not know the command line, especially the correct word to use at the end.

Reply

Very good trick

Reply

Leave a Reply

In addition to the standard and administrator accounts created by users on a Windows computer, there are also other accounts that are built in by default. The Guest account can allow other users that don't have their own account short term limited access on the system. Then there's the built in Administrator account which is similar to a regular administrator account. The main difference is by default it has no permission restrictions imposed by User Account Control (UAC).

While the built in administrator is an account you could potentially use every day, it is certainly not recommended you do that. It should only be used in an emergency when you need to troubleshoot or repair other system accounts, then be disabled again. This will reduce possible security risks by leaving it active. Although the administrator account was enabled by default in Windows XP, it has been disabled by default in every version of Windows since Vista for increased security.

Here we'll show you several possible ways in which you can enable the built-in administrator account. Methods for Windows Vista, 7, 8.x, 10 and also XP are included. Please remember that the administrator is for temporary use only and should be disabled as soon as you have finished with it.

Enable Administrator Account in Windows Vista, 7, 8 And 10

Because back in the days of Windows XP the built in administrator account was enabled by default, all you had to do was access it. In Windows Vista and above it has to be enabled first before it becomes accessible on the logon screen. This can be done several different ways.

Enable Administrator From Computer Management

This method of enabling the administrator account is probably the easiest and can be achieved in as little as just 9 clicks of the mouse.

1. Right click on Computer/This PC on the desktop and select Manage. Alternatively open Start and type compmgmt.msc.

2. Expand System Tools > Local Users and Groups > Users

3. Double click on the name Administrator and uncheck the 'Account is disabled' box.

4. Click OK to save the changes and restart your computer or log off.

Enable Administrator Via Security Policy

Group Policy and Security Policy consoles are not available in Home or Basic versions of Windows, those users will need to use one of the other options.

1. Open Start and type Secpol.msc to open the Security Settings snap-in.

2. Expand Local Policies and click on Security Options.

3. In the right pane double click on 'Accounts: Administrator account status' (should be the top option). Click the Enabled radio button, press OK and close the Security Settings window.

When you next reach the logon screen the administrator account will be visible.

Use The Net Command To Enable The Administrator Account

Using a built in Windows command is probably the most flexible way of enabling the administrator account. This is because you can use it from Command Prompt, from batch scripts, from within your own programs (see below) or even when you are unable to log in to Windows from another account.

Open an administrator Command Prompt (or admin PowerShell) and type the following to enable the administrator account:

net user Administrator /Active:Yes

You can also use '/Active:No' to disable it again from the command line. If you would like to enable and also password protect the account at the same time (recommended), use:

net user Administrator 'mypassword' /Active:Yes

To make things as simple as possible we've created three very small batch files (only 3 lines each) which will enable, disable or enable the Administrator account with password. Download the Administrator_Accounts Zip file, extract it, right click and run the batch file you want as administrator. Open the password account script in Notepad before running it and edit the 'changeme' to your preferred password.

Any access denied message while using these commands or batch files means you haven't run the Command Prompt or script as administrator.

Use A Third Party Utility To Enable The Administrator Account

If you don't want to mess around in Command Prompt or management and security consoles, there's an option to enable the administrator account in a third party program. The program in question is the great little tool Winaero Tweaker.

Download and run the installer and you have the option to create a portable version if preferred. Open the Winaero Tweaker program and go to User Accounts > Built-in Administrator in the options tree on the left. Simply click on 'Enable Administrator account' in the right hand pane and close the program. The .NET Framework 3.5 needs to be installed if you have Windows 8.x or 10.

This program uses the exact same method to enable the administrator as above. The command 'net user administrator /active:yes' is run in the background in a hidden Command Prompt.

Download Winaero Tweaker

Display Administrator Account on Windows XP Welcome Screen

WIndows XP is long out of Microsoft support but it's still used by a sizeable proportion of users so we'll include the option. The difference between XP and all newer versions of Windows is the Administrator account is already active. Pressing Ctrl+Alt+Delete at the welcome screen twice will open the classic logon where you can simply type 'administrator' as the username and log in.

If you would like to have the administrator account appear as an icon on the welcome screen along with other users so it can be selected at a click, there is a simple way to achieve it.

A very old tool dating from 2002 called Add Administrator/Welcome Screen will do the job. Just run the program, check the 'Enable Admin Account on Welcome Screen' box followed by clicking on the Apply button.

Download Add Administrator/Welcome Screen

You can also achieve the same result in XP by using one of the third party tools in our article about how to hide specific user accounts from the logon screen.

Enable The Administrator Account While Not Logged In

If you are having issues with your account, such as forgetting the password or profile corruption so it won't start, the administrator account becomes very useful. There are a couple of ways to achieve this offline although the following method has a few advantages, like being able to change or reset passwords and run other tools such as Regedit before anyone logs in.

The main requirement is to be able to move a couple of Windows files while Windows itself is not started. This can be done with utility repair disks like Hiren's BootCD, Gandalf's WinPE or with a Live Linux distro. We are going to use a Windows installation DVD for the task.

1. Boot to the Windows installation media and press Shift+F10 to open Command Prompt when you reach the select language, time and keyboard screen.

2. Type Dir D:, if it lists the Program Files, Users and Windows folders, you have the right drive letter. If not, try other Dir commands such as Dir C:, Dir E: etc until you find the right drive that shows those folders.

3. Type these commands in order, change the drive letter from D: if you found an alternative drive letter in the previous step.

D:

CD WindowsSystem32

Copy Sethc.exe Sethc.exe.bak

Copy Cmd.exe Sethc.exe

Press Y when asked to overwrite the file.

4. Close the Command Prompt and then the setup window to force a reboot. Once you reach the logon screen press the Shift key 5 times (or press Alt+Shift+PrintScreen) to open Command Prompt.

5. Type the following command into Command Prompt:

Unlock jailbroken iphone. net user Administrator /Active:Yes

6. Use the power button on the logon screen to reboot the computer or type shutdown /r into the Command Prompt. The Administrator will then be available from the logon screen.

7. To restore the files back to normal, boot to the Windows install DVD again and open another Command Prompt with Shift+F10. Type the following using the same drive letter as before.

D:
CD WindowsSystem32
Copy Sethc.exe.bak Sethc.exe

Press Y to confirm the overwrite and close the setup window to reboot. Once you have finished with the administrator and can use another account, disable it again using one of the methods above.

You might also like:

6 Ways to Hide User Accounts from the Windows Logon Screen3 Ways to Change a Windows User Account Into an Administrator3 Ways to Auto Logon to Windows without Typing Your Password7 Ways to Disable or Enable Windows User Account Control (UAC)10 Ways to Run Programs as Administrator in Windows

MarkK3 weeks ago

Great article, Raymond – very many thanks.

Reply

Thank you so much for the help with this! This article combined with a youtube video I found (with some different steps prior) got me up and running!

Reply
sarwasuddhi K R VIDYA SAGAR11 months ago

Thank you very Much. i am so happy and speechless

Reply

Access denied

Reply
HAL9000 Author1 year ago

Run Msi As Administrator Windows Xp

It would be helpful if you tell us where you get an access denied error?

Reply

You are a legend. Thank you

Reply
HS3 years ago

I followed instruction, but administrator still does not show up. I changed the DWORD value to 1. using the regedit.
My Computer>Manage>Local Users and Groups>Users
The account is not disabled,
I have restarted.
running XP
any help very appreciated!!

Reply

Alhumdulillah. I must give you a big thanks.
This is very very helpful for me….Thanks Again

Run As Administrator Xp

Reply
rajesh10 years ago

Run As Administrator Windows Xp Without Password

thanks buddy Inima de tigan 43.

Reply

thank you very much i have been trying for months to get this issue resolved thanks to your advice its now fixed with the free program you said thank you again

Reply
Merlin_Magii12 years ago

Nice one Raymond – very useful !

Reply

Hey Raymond, everything here works real good. You're a genius man…You are too good to be bad. Keep up the good work.

Reply

Run As Administrator Explorer In Windows 10

Leave a Reply





broken image