virtualization - Windows 7 XP Mode, Resizing triggering lock

15
2013-10
  • greggorob64

    I'm a developer using Windows 7 XP Mode to get some old 16-bit apps to run.

    A hugely annoying hurtle I'm encountering is this:

    When I resize my XP windows at all (usually by mistake), it automatically logs me off (or Locks), requiring me to log in.

    This causes my build batch file to stop, which is potentially hours of work lost.

    Any help would be appreciated, thanks.

  • Answers
  • kentchen

    Windows XP mode uses the latest Windows Virtual PC, which actually uses RDP connecting to the running virtual machine. It does lock you out if you don't have saved credential. So turn the machine off and set up a saved credential from the settings and see if it helps.

    However, because this is a saved credential that auto-log you in every time when you resize the window, I am not sure if it helps in your case that you have a build batch file running in the end.

    Cheers

  • T. Kaltnekar

    I checked behavior on my PC (Win7 64 bit) and resizing doesn't log me off. So I don't know why it does in your case.

    According to this there was an option in Virtual PC to change dynamic resizing behavior but it seems it's not present in version for Windows 7.

    For solution, only thing that comes to mind is to run the virtual maching in full screen. That way you can't accidentally resize the window.

  • DanB

    Deleting your saved credential then re-entering it fixed the problem for me.


  • Related Question

    Why does Windows 7 need hardware virtualization to run XP mode?
  • Ken Pespisa

    I have a MacBook Pro and I've run VMware Fusion's unity mode and Parallels' cohesion mode along side the Mac OS X, and both work pretty seamlessly. I figured XP Mode in Windows 7 would be something similar, but I then learned my machine requires hardware virtualization support, which it does not have.

    My machine is an HP dc7800. That's a dual core 2.2GHz machine with 4GBs of RAM. Certainly it has the horsepower to run a virtual environment alongside the primary OS.

    I'm wondering:

    1) Why Microsoft decided to make hardware virtualization a requirement

    and

    2) What am I missing? Is the experience similar to Parallel's cohesion mode / Fusion's unity mode?

    Thanks!


  • Related Answers
  • 8088

    You can run SecurAble to determine if your machine has hardware Virtualization capabilities.

    alt text

    If your computer does not have that green tick then XP mode shouldn't work. You also require some extra resources to virtualize stuff as well.

    Excerpt from GRC:

    • How does Hardware Virtualization help with security?

    “Virtual Machine” technology is used to create fully contained environments that can be used to insulate the real hosting operating system from any actions taken by software running within the “virtual” environment. Although this security benefiting virtual machine technology has been used for many years, its widespread adoption has been slowed down by the significant performance overhead imposed by software emulation of the virtual environment. Intel's and AMD's native hardware support for virtual machines means that virtually all of this emulation overhead can be eliminated from both the host and virtual environments. This makes the use of virtual machines for security containment much more practical.*

    The second benefit of hardware support is that even malicious software running with maximum privileges in the system's kernel is unable to escape from virtual containment. Thus, hardware support for virtual machine technology introduces the possibility of creating a “hypervisor” to operate at a hardware-enforced level below the operating system “supervisor” which opens many exciting possibilities for further enhancing the system's security. It will likely be several years before these capabilities are offered natively within Windows, but we might expect to see third-party security software publishers taking advantage of these features in the near future.

    To answer your questions:

    1. From reading this I guess it requires HV due to security purposes.

    2. Well if your missing HV then it isn't going to work.

  • sgmoore

    Hardware virtualization is no longer a requirement. For more info click here.

    (Haven't tried it, since my machine does support Hardware virtualization)

  • Daniel H

    Windows 7's XP mode actually only consists of the license, I believe; you can run the hard disk in another VM solution. It recomends a specific version of Microsoft Virtual PC (big surprise!), which requires hardware virtualization. I do not know why this is required, but this article explains the UI well: http://blogs.zdnet.com/Bott/?p=896

  • MicTech
    1. Because XP-mode is based on VirtualPC

    2. Yes, it's look like Unity from Fusion/VMware Workstation, but apps available from host system start menu and etc. Apps looks like not virtualized

  • Ivo Flipse

    Not really an answer to your question, but have you downloaded the XP Mode VHD?

    You could just load it into VMWare probably and run it from there, at least it saves you the trouble of creating your own installation.

    I'm verifying if it's possible right now

    It seems I don't have permission to use the VHD in anything else than Virtual PC, so I guess you'll have to resort to creating your own Windows XP VHD for VMWare :-(

  • JL.

    Not an answer - but I figured out how to manually hack my bios to enable hardware virtualization because I have a Sony Vaio, and Sony turn off Hardware virtualization, even though the hardware is capable of this - just a bios flag!

    Perhaps instead of trying to figure out why MS made this a requirement. Might be time to find some google posts on manually applying a BIOS hack for your model of notebook, and enjoy the benefits of hardware virtualization.

    In your case though - HP dc7800, seems like your system actively supports VT.