Windows 7 Forums


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

13 Apr 2011  
mostafa0071

windows 7 ultimate x32
2 posts
 
 
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  
Kari

Windows 7 x64 Ultimate
12,755 posts
A Finnish immigrant in Leipzig, Germany
 
 

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:

can't run programs as administrator in xp mode-xpm_admin_account_1.png
can't run programs as administrator in xp mode-xpm_admin_account_2.png

Here's what you can do:

Method 1 (a temporary workaround):
  • Disable Virtual PC integration features:
    .
    can't run programs as administrator in xp mode-xpm_admin_account_0.png
    .
  • 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:
    .
    can't run programs as administrator in xp mode-xpm_admin_account_3.png
    .
  • On the left pane, expand Local Users and Groups
  • Click Users
  • Right click Administrator, select Set password:
    .
    can't run programs as administrator in xp mode-xpm_admin_account_4.png
    .
  • Read the warnings, click Proceed if you want to proceed:
    .
    can't run programs as administrator in xp mode-xpm_admin_account_5.png
    .
  • Type the new password, confirm it and save it by clicking OK:
    .
    can't run programs as administrator in xp mode-xpm_admin_account_6.png
    .
  • Click OK to close the confirmation dialog:
    .
    Name:  XPM_Admin_account_7.png
Views: 45778
Size:  4.8 KB
    .
  • Close management console

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

can't run programs as administrator in xp mode-xpm_admin_account_8.png

Kari
My System SpecsSystem Spec
23 Apr 2011  
mostafa0071

windows 7 ultimate x32
2 posts
 
 

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


24 Apr 2011  
Kari

Windows 7 x64 Ultimate
12,755 posts
A Finnish immigrant in Leipzig, Germany
 
 

Nice to know you got it solved.

Kari
My System SpecsSystem Spec
16 Nov 2011  
boywonder2404

Windows XP 32 bit
1 posts
 
 

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  
Kari

Windows 7 x64 Ultimate
12,755 posts
A Finnish immigrant in Leipzig, Germany
 
 

Thanks, Boywonder, and welcome to the Seven Forums.

Kari
My System SpecsSystem Spec
12 Jul 2012  
Syrynx

windows xp 32bit
2 posts
 
 
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  
Syrynx

windows xp 32bit
2 posts
 
 
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  
Kari

Windows 7 x64 Ultimate
12,755 posts
A Finnish immigrant in Leipzig, Germany
 
 

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 problems?



Thread Tools



Similar help and support threads for: can't run programs as administrator in xp mode
Thread Forum
Solved Cannot run programs as Administrator on the Admin account - Windows 7 General Discussion
Solved How Does UAC Decide Which Programs To Run As Administrator System Security
Some programs must be run as administrator General Discussion
Programs to run in Administrator Software
Running in User Mode vs Administrator Mode General Discussion


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



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