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

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

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

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: 35825
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: 35902
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: 35834
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: 35993
Size:  28.4 KB
    .
  • Read the warnings, click Proceed if you want to proceed:
    .
    Name:  XPM_Admin_account_5.png
Views: 35799
Size:  13.1 KB
    .
  • Type the new password, confirm it and save it by clicking OK:
    .
    Name:  XPM_Admin_account_6.png
Views: 36255
Size:  8.8 KB
    .
  • Click OK to close the confirmation dialog:
    .
    Name:  XPM_Admin_account_7.png
Views: 45813
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

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

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Nice to know you got it solved.

Kari
My System SpecsSystem Spec
16 Nov 2011   #5

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

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Thanks, Boywonder, and welcome to the Seven Forums.

Kari
My System SpecsSystem Spec
12 Jul 2012   #7

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

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

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

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




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 07:16 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33