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

    • AnyDesk 9.7.8 by Razvan Serea AnyDesk is a fast remote desktop system and enables users to access their data, images, videos and applications from anywhere and at any time, and also to share it with others. AnyDesk is the first remote desktop software that doesn't require you to think about what you can do. CAD, video editing or simply working comfortably with an office suite for hours are just a few examples. AnyDesk is designed for modern multi-core CPUs. Most of AnyDesk's image processing is done con­currently. This way, AnyDesk can utilize up to 90% of modern CPUs. AnyDesk works across multiple platforms and operating systems: Windows, Linux, Free BSD, Mac OS, iOS and Android. Just 7 megabytes - downloaded in a glimpse, sent via email, or fired up from your USB drive, AnyDesk will turn any desktop into your desktop in se­conds. No administrative privileges or installation needed. AnyDesk 9.7.8 fixes: Fixed a bug that could lead to a crash Download: AnyDesk 9.7.8 | 8.0 MB (Free for private use, paid upgrade available) Links: AnyDesk Home Page | Other platforms | Release History | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • My comment was intended to be humorous. I believe scientists already knew it since they comprehend relatively. Maybe I'm assuming that.
    • Surprise Execs are dumb. I hope the rehired engineers said were not coming back until we get 2x our salary.
    • Ford execs say they made a mistake when they replaced human engineers with AI by David Uzondu Ford recently announced that over the last three years, it's had to rehire about 350 "gray beard" engineers to mentor younger staff and reprogram diagnostic systems and AI tools that were failing to meet up to quality expectations. The company's VP of vehicle hardware engineering, Charles **** said that leaders overlooked the deep experience of veterans who survived many product cycles. **** admitted that simply replacing them with AI was a huge mistake, and that while AI is "a fantastic tool," it remains "only as good as the information you use to train it." The rehired engineers now run mandatory meetings to troubleshoot vehicles and reprogram automated engineering software and AI tools to prevent glitches before production. These technical specialists hunt for failure points before parts ever reach the plant floor, helping prevent the massive recalls and defects that previously cost the company billions as it aims to cut one billion dollars in expenses this year. In last year's JD Power Quality Survey, an annual study that measures the quality of a car during the first three months of ownership, Ford finished 10th among mainstream brands and scored below the industry average. But this year, JD Power ranked the automaker as the top mainstream brand, placing it above the likes of Toyota Motor Corp. and Honda Motor Co. Ford attributed this massive improvement directly to the expertise of these returned engineers. Ford's realization that AI cannot magically design and test quality vehicles without senior human oversight is just the tip of the iceberg. When Careerminds looked at companies that conducted AI-driven layoffs, researchers found out that 35.6% of those companies had to rehire more than half of the employees they previously fired. Another 32.7% had to rehire between 25% and 50% of them. In 2024, Sebastian Siemiatkowski, CEO of Klarna, proudly announced that its new chatbot was doing the work of 700 full-time customer service agents. As a result, the fintech company froze hiring and cut hundreds of positions. But by mid 2025, and into 2026, Klarna was scrambling to recruit human agents again because customer satisfaction had plummeted. It turns out, while AI is very good at answering basic questions like how to check an account balance, when faced with complex customer issues that require nuance, the thing usually resorts to the unhelpful, robotic corporate jargon we all know and love.
    • Free AI in IDEs is shifting to paid models Or you know, you could just learn to actually design and code apps, use frameworks to handle the repetitive parts and not use AI at all - and voila... free for life!
  • Recent Achievements

    • Week One Done
      xvvxcvv earned a badge
      Week One Done
    • One Month Later
      xvvxcvv earned a badge
      One Month Later
    • Enthusiast
      Xonos went up a rank
      Enthusiast
    • Conversation Starter
      Admir earned a badge
      Conversation Starter
    • First Post
      The_Focal_Point earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      405
    2. 2
      +Edouard
      169
    3. 3
      PsYcHoKiLLa
      129
    4. 4
      neufuse
      69
    5. 5
      Xenon
      68
  • Tell a friend

    Love Neowin? Tell a friend!