CMD prompt to enable Virtual PC.


Recommended Posts

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.cc/blog/fix-blank-or-empty-list-in-vista-turn-windows-features-on-or-off-optionalfeaturesexe/ 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?

Link to comment
https://www.neowin.net/forum/topic/1139466-cmd-prompt-to-enable-virtual-pc/
Share on other sites

Does your his system support hardware virtualization?

scum.

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

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.

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?

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.

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.

  1. Click Start
    VistaStartButton.jpg , and then click Run.
  2. In the Open box, type timedate.cpl, and then press ENTER. The Date and Time dialog box opens.
  3. On the Date and Time tab, click Change date and time. If the User Account Control dialog box opens, click Continue.
  4. 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?

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.

  1. Click Start
    VistaStartButton.jpg , and then click Run.
  2. In the Open box, type timedate.cpl, and then press ENTER. The Date and Time dialog box opens.
  3. On the Date and Time tab, click Change date and time. If the User Account Control dialog box opens, click Continue.
  4. 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?

Thanks Budman, did run through that article too as well as SFC and it all came up clean. The user isn't due in my office for a while but the next time he is I can take another look to see what's going on.

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:

Didn't even spot that (Skate filter :D) As much as I am enjoying the antics going down the M27, I hope they survive. Nothing like a good rivalry to keep things interesting.

This topic is now closed to further replies.
  • Posts

    • What people who support this position of LibreOffice do not understand is that EuroOffice is not made to appease the open source enthusiasts (I am also one) and evangelists. EuroOffice was made because some European companies wanted independence from Microsoft Office Suite, which is something installable on your computer. This move to independence was pushed by public institutions and governments in Europe, as well. Using a proprietary FORMAT as default, does not make you dependent on MS. The actual program does. A format can be changed with a simple update in the future in a dystopian world where MS would manipulate the format to lock others out. However, using MS Office proprietary format, guarantees that all the current documents used by companies, organizations, institutions, etc, will be compatible with EuroOffice and the suite will have the best chances at adoption, especially by slow moving organizations like governments and the public sector. It is as simple as that. For the same reason, even the UI is incredibly similar to MS Office. For the same reason (adoption) the choice was made to be open source. Not because EU particularly loves open source ideologically, but because it gives the best starting point to create trust in the project and amass developers and contributions to the project quickly, to catch up with proprietary projects like MS Office. I don't understand how people don't realize it.
    • How old is this tip? Seems 15-20 years old? Processor states for the CPU under Windows power options has been a thing for a long, long time. It certainly isn't new or hidden... Also, with laptops it doesn't make any difference what OS you are running, all of them are configured for battery longevity over performance, for obvious reasons.
    • I can't believe Starmer is still there...his party lost so big. He's a stubborn coot, but this is largely unenforceable, so I would imagine he'll be resigning soon. A key here is for parents to buy their kids phones sans Internet access--and set up the Internet at home, where mom and day can, you know, act like parents instead expecting the government to raise their kids.
    • EA launches in-game advertising platform for brands to "connect with audiences" by Pulasthi Ariyasinghe The gaming giant Electronic Arts is exploring more ways to inject real-life brands into its games. Announced today as EA Advertising, the new platform is attempting to make it easier for brands to reach out for deals with the company and put their products inside titles like EA Sports FC, Madden, NHL, Skate, or The Sims. EA revealed that its EA Sports side of the company brings in "hundreds of millions of players across console, PC, and mobile" every year. Fan engagement of these titles was also touted as being "extraordinary," with 23,000 NFL seasons worth of games being played in Madden NFL daily, while EA Sports FC sees over a billion matches a day. “Players come to EA’s games and live experiences every day to play, watch, create and connect,” said David Tinson, Chief Experiences Officer at Electronic Arts. “That gives brands a meaningful opportunity to show up in ways that add value and respect the player experience, while maintaining authenticity in the worlds our teams are building. With EA Advertising, we’re helping brands become part of those moments in ways that are relevant and built for players.” Using the new program EA Advertising, brands will be able to inject their products into games in real-time via dynamic placement. EA says partners will have access to everything from stadium signage in sports games and targeted adverts to in-game content custom-made for the brands. These are described as additions designed to "enhance, not disrupt" experiences. "In these interactive gameplay environments, brands become part of the game itself, reflecting how players engage with advertising in real-world contexts," adds the company "Brands can activate across live environments, tailoring placements to meet campaign objectives, and update campaigns with ongoing optimization informed by aggregated engagement insights." Current real-world brand partnerships EA has built into its games include Visa (EA Sports FC and College Football), Lowe's (EA Sports FC, Madden NFL, and College Football), Red Bull (EA SPORTS FC), Xfinity and Peacock (EA SPORTS FC), and Mountain Dew’s (College Football).
    • Will be surprised if there isn't a new ver of youtube just for labelled educational content
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      512
    2. 2
      +Edouard
      204
    3. 3
      PsYcHoKiLLa
      136
    4. 4
      ATLien_0
      91
    5. 5
      Steven P.
      85
  • Tell a friend

    Love Neowin? Tell a friend!