Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: can't run programs as administrator in xp mode

13 Apr 2011   #1
mostafa0071

windows 7 ultimate x32
 
 
can't run programs as administrator in xp mode

I installed xp mode to install a program that wasn't compatible with 7.
everything was fine untill I installed a program that needed to run as administrator,but when I choose "run as administrator" by right click on the program's icon and choose to run as administrator and clicked ok the following message appeared.

unable to log on:
logon failure:user account restriction. possible reasons are blank passwords not allowed,log on hour restrictions, or a policy restriction has been enforced.

I also tried to log off xp mode and log in as administrator but it didn't worked to,there was this restriction message here too.
What do I need to do to log into XP Mode as administrator and run programs as administrator in xp mode?


My System SpecsSystem Spec
.
13 Apr 2011   #2
Kari

Microsoft Community Contributor Award Recipient

 

Hello Mostafa, welcome to the Seven Forums.

When XP Mode is installed, the integration features are enabled by default. When integration is enabled on a Virtual PC vm, you can not use any user accounts without passwords. Logging in or in any other way using an account without password is only enabled when integration features are disabled.

Because the built-in administrator account by default has no password, it's impossible to use its rights or login to that account without either setting up a password for administrator account or disabling integration features.

Trying to use administrative rights with blank password when integration is enabled only produces an error:

Name:  XPM_Admin_account_1.png
Views: 35847
Size:  12.2 KB
Name:  XPM_Admin_account_2.png
Views: 29226
Size:  6.4 KB

Here's what you can do:

Method 1 (a temporary workaround):
  • Disable Virtual PC integration features:
    .
    Name:  XPM_Admin_account_0.png
Views: 35924
Size:  23.2 KB
    .
  • Run the application as administrator with a blank password
  • Re-enable integration features
Method 2 (permanent solution):
  • In XP Mode, right click My Computer, select Manage to open computer management console:
    .
    Name:  XPM_Admin_account_3.png
Views: 35856
Size:  13.3 KB
    .
  • On the left pane, expand Local Users and Groups
  • Click Users
  • Right click Administrator, select Set password:
    .
    Name:  XPM_Admin_account_4.png
Views: 36015
Size:  28.4 KB
    .
  • Read the warnings, click Proceed if you want to proceed:
    .
    Name:  XPM_Admin_account_5.png
Views: 35821
Size:  13.1 KB
    .
  • Type the new password, confirm it and save it by clicking OK:
    .
    Name:  XPM_Admin_account_6.png
Views: 36277
Size:  8.8 KB
    .
  • Click OK to close the confirmation dialog:
    .
    Name:  XPM_Admin_account_7.png
Views: 45835
Size:  4.8 KB
    .
  • Close management console

Now you can run any application using built-in administrative rights, using the password you created:

Name:  XPM_Admin_account_8.png
Views: 29892
Size:  12.3 KB

Kari


My System SpecsSystem Spec
23 Apr 2011   #3
mostafa0071

windows 7 ultimate x32
 
 

Thank you for your help kari
I run the program successfully as you said.
My System SpecsSystem Spec
.

24 Apr 2011   #4
Kari

Microsoft Community Contributor Award Recipient

 

Nice to know you got it solved.

Kari
My System SpecsSystem Spec
16 Nov 2011   #5
boywonder2404

Windows XP 32 bit
 
 

Registered just to thank you so much, the solution workeD!

Tried many others but this is the only one that worked
My System SpecsSystem Spec
16 Nov 2011   #6
Kari

Microsoft Community Contributor Award Recipient

 

Thanks, Boywonder, and welcome to the Seven Forums.

Kari
My System SpecsSystem Spec
12 Jul 2012   #7
Syrynx

windows xp 32bit
 
 
i have the same problem running a program

I did what you said but i still got an error that says :windows doesn t has the acces to program.You don t have the permision to acces it.
My System SpecsSystem Spec
12 Jul 2012   #8
Syrynx

windows xp 32bit
 
 
i have the same problem running a program

I did what you said but i still got an error that says :windows doesn t has the acces to program.You don t have the permision to acces it.What should i do ?

Quote   Quote: Originally Posted by Kari View Post
Thanks, Boywonder, and welcome to the Seven Forums.

Kari
My System SpecsSystem Spec
13 Jul 2012   #9
Kari

Microsoft Community Contributor Award Recipient

 

Hi Syrynx, welcome to the Seven Forums.

Please read this tutorial: Windows XP Mode - Enable Built-in Administrator Account

Kari
My System SpecsSystem Spec
Reply

 can't run programs as administrator in xp mode




Thread Tools




Similar help and support threads
Thread Forum
Cannot run programs as Administrator on the Admin account - Windows 7
Hello, I have Windows 7 Ultimate x64. I just got the hp p6823w computer and my user account is set to administrator. Windows won't let me Install/Uninstall any programs. The Install program problem only happens with a .MSI file extension. I also can't "Run as administrator" on anything but a...
General Discussion
How Does UAC Decide Which Programs To Run As Administrator
Being prompted by UAC for an administrator password for a program like CoreTemp/64 seems silly since it just monitors Mobo sensors. Any ideas ?
System Security
Some programs must be run as administrator
Hello everybody When running some programs on Win 7, such as Disk defragmenter or programs installation, requires to ‘run as administrator’ even already logged as administrator! I know that “The Username/Administrator account is not a full administrator account it has more privileges than...
General Discussion
Programs to run in Administrator
How do I prevent a program from asking for a Admin password when run in Standard Account ? And make a program run in Admin when in Standard Account at all times ?
Software
Running in User Mode vs Administrator Mode
I'm using the trial version of Win 7 Enterprise and run in user mode. When I installed Google Chrome, I was expecting a prompt requesting my admin ID password. This did not happen and Chrome just installed itself. The same was seen when I installed the Picnik extension for Chrome. However,...
General Discussion
Virtual XP mode.. how to become Administrator?
Tinkering with Virtual XP.. as I have a program that as yet have been un-able to run properly in Windows 7. I have my virtual xp machine up, but I am logged in as xpmuser, which I thought was the only option. However, the program I am trying to run, requires admin priviledges to work correctly. ...
Virtualization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 08:57.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App