Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?



CMD prompt to enable Virtual PC.


15 replies to this topic - - - - -

#1 StrikedOut

    Outside the box

  • 772 posts
  • Joined: 09-December 08
  • Location: Southampton

Posted 02 March 2013 - 08:08

Hi.

I have a user who requires XP mode on his Win 7 laptop. All the components have been installed but it looks like Virtual PC needs to be enabled in optional features. However, when I open optional features either through program's and features or directly thought a search, I get a blank window. I have run a few diagnostic tools such as sfc /scannow and running the compatibility tool and checking it for errors as per this thread, http://www.raymond.c...nalfeaturesexe/ but no luck. However this appear to be the only thing wrong with his laptop and if we can get VPC enabled then I don't need to worry about this too much.

Can Virtual PC be enabled using a CMD prompt? If so what is the line?


#2 ingramator

    Hacker

  • 1,731 posts
  • Joined: 04-July 12
  • OS: Windows 7/8, OSX 10.8, Linux/UNIX
  • Phone: Lumia 920, iPhone 5, GS3

Posted 02 March 2013 - 08:17

Hey mate, have you tried downloading it from the official Microsoft website?

http://www.microsoft...c/download.aspx

Good luck!

#3 OP StrikedOut

    Outside the box

  • 772 posts
  • Joined: 09-December 08
  • Location: Southampton

Posted 02 March 2013 - 08:32

Got it installed as per their instructions on the XP mode site but it was already installed. Then did a search and found that it sometimes needs to be enabled through optional features. Thanks for the suggestion though.

#4 ingramator

    Hacker

  • 1,731 posts
  • Joined: 04-July 12
  • OS: Windows 7/8, OSX 10.8, Linux/UNIX
  • Phone: Lumia 920, iPhone 5, GS3

Posted 02 March 2013 - 08:35

Can you remove it and try and to reinstall or is that not the case? Don't have a Win 7 box handy at the moment so I can't really dig in too deep!

#5 OP StrikedOut

    Outside the box

  • 772 posts
  • Joined: 09-December 08
  • Location: Southampton

Posted 06 March 2013 - 13:03

Hi, tried to remove and reinstall but still get the same issue. Can it be enabled through a CMD prompt?

#6 Philip James Fry

    Executive Delivery Boy

  • 1,553 posts
  • Joined: 18-October 04
  • Location: New New York City
  • OS: Windows 8
  • Phone: Nokia Lumia 920

Posted 06 March 2013 - 13:09

Does your his system support hardware virtualization?



scum.

#7 +primortal

    Why Does It Hurt!

  • 3,231 posts
  • Joined: 18-October 01
  • Location: US of A
  • OS: Windows 8
  • Phone: Nokia Lumia 822

Posted 06 March 2013 - 13:20

Try the following at an elevated command prompt (run as admin)

dism /online /enable-feature /featurename:VirtualPC

#8 OP StrikedOut

    Outside the box

  • 772 posts
  • Joined: 09-December 08
  • Location: Southampton

Posted 06 March 2013 - 13:46

View PostPhilip James Fry, on 06 March 2013 - 13:09, said:

Does your his system support hardware virtualization?



scum.
Yep and checked it enabled. What I found strange was the optional features window was blank.

View Postprimortal, on 06 March 2013 - 13:20, said:

Try the following at an elevated command prompt (run as admin)

dism /online /enable-feature /featurename:VirtualPC
I will try this next time I see him but it looks like it is what I am after.

Many thanks.

#9 farmeunit

    The other white meat.

  • 2,478 posts
  • Joined: 05-May 03
  • Location: Branson, MO USA

Posted 06 March 2013 - 14:12

Can another virtualization program fit his needs? Virtualbox or VMWare Player, for example.

#10 +BudMan

    Neowinian Super Star

  • 23,816 posts
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 06 March 2013 - 14:23

I personally would be more concerned with this issue

"when I open optional features either through program's and features or directly thought a search, I get a blank window."

Clearly something is wrong - why do you not care to fix that issue?

#11 OP StrikedOut

    Outside the box

  • 772 posts
  • Joined: 09-December 08
  • Location: Southampton

Posted 06 March 2013 - 15:55

The user is one I don't see too often and I did have a good look through at the problem before the user had to leave the office. The issue seems to be reasonably common and running a couple of scans showed his laptop was clean of malware/viruses. His laptop may well be replaced soon and this is the only issue he is having so I just ran out of time trying to fix both issues.

#12 Detection

    Detecting stuff...

  • 8,369 posts
  • Joined: 30-October 10
  • Location: UK
  • OS: 7 SP1 x64

Posted 06 March 2013 - 16:12

View PostPhilip James Fry, on 06 March 2013 - 13:09, said:

Does your his system support hardware virtualization?



scum.

Scum ?

#13 +BudMan

    Neowinian Super Star

  • 23,816 posts
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 06 March 2013 - 17:32

did you check the date and time on the computer?

http://support.microsoft.com/kb/931712
When you click Turn Windows features on or off in the Programs and Features Control Panel item, the Windows Features dialog box is empty. No features are shown.
  • Click Start
    Posted Image , and then click Run.
  • In the Open box, type timedate.cpl, and then press ENTER. The Date and Time dialog box opens.
  • On the Date and Time tab, click Change date and time. If the User Account Control dialog box opens, click Continue.
  • One of two things will happen next. Choose either A or B to continue.

    A: If you are prompted to type an administrator password, and you see administrator account names listed, you are logged on with a standard account. If A: is true, you are not the computer administrator. If you are logged on with a standard account and you want to continue with this task, you must be able to supply an administrator account name and password every time that you are prompted. Unfortunately, if you do not know the password for any administrator accounts on your computer, these methods cannot help you. You might want to ask someone for help or contact support.

    B: If you are not prompted to type an administrator password, and you do not see administrator account names listed, you are logged on with a computer administrator account. Click Cancel, and then click Cancel again to close the Date and Time dialog box. If B: is true, you are the computer administrator, so let's get started.
Problem is if you seeing such a basic problem where you can not see what features have been added, even if you turn run a cmd line command to add the feature. How do you know there is not other issues that would prevent it from working. Did you run a SFC /scannow?

#14 Philip James Fry

    Executive Delivery Boy

  • 1,553 posts
  • Joined: 18-October 04
  • Location: New New York City
  • OS: Windows 8
  • Phone: Nokia Lumia 920

Posted 06 March 2013 - 23:31

View PostDetection, on 06 March 2013 - 16:12, said:

Scum ?

I was reffering to StrikedOut's picture.

I like Portsmouth FC.

but all in good fun :) got nothing against others.

#15 Detection

    Detecting stuff...

  • 8,369 posts
  • Joined: 30-October 10
  • Location: UK
  • OS: 7 SP1 x64

Posted 06 March 2013 - 23:45

View PostPhilip James Fry, on 06 March 2013 - 23:31, said:

I was reffering to StrikedOut's picture.

I like Portsmouth FC.

but all in good fun :) got nothing against others.

Ah, I have sigs disabled so just read your comment and could see no picture :rofl: