![]() |
![]() |
|
August 03, 2009Major Windows 7 gotcha you should know about that may block you from upgradingOK, so anyone who knows me expects that I stay up on the bleeding edge when it comes to dev tools and operating systems. Yes, I have been using Windows 7 for almost a year now and have been loving it. However, I never ran it on my production dev environment as I felt I did not what to disrupt our software development workflow until Windows 7 was in final release. With it out to RTM now, I felt it was as good as time as any to migrate, especially since we recently released our latest build of our own product and have a bit of time to do this. So last week I deployed Windows 7 to both of my production dev systems, as well as the primary QA lab workstations. It was the worst thing I could ever have done, halting all major development and test authoring in our office due to a MAJOR gotcha Microsoft failed to let us know about during the beta and RC. Ready for this.... You cannot run Virtual PC 7 (beta) in Windows 7 WITHOUT hardware virtualization. OK, I can live with that, since the new XP mode (which is an excellent feature) may very well need it. That didn't concern me. It was my fall back that failed to work that blew my mind... You cannot run Virtual PC 2007 in Windows 7, as they have a hard block preventing it from being installed on Windows 7 due to compatibility issues. So the same machine that I have been using for development using Vista for a few years has now become a glorified browsing brick. I cannot do any of my kernel mode and system level development or debugging as I am not ALLOWED to install Virtual PC 2007 on the same hardware that worked before. *sigh* What surprised me is that Ben, the Virtual PC Guy at Microsoft blogged that it was possible to run Virtual PC on Windows 7, and in his own words: While all the integration aspects of Virtual Machine Additions work (mouse integration, shared folders, etc...) there is no performance tuning for Windows 7 at this stage - so for best performance you should use a system with hardware vitalization support. That sounds to me like it will still work without hardware virtualization. Seems that is not the case. Since Windows 7 is already to RTM, if this is a block due to Windows, it isn't going to be fixed anytime soon. So hopefully they can do something in the Virtual PC side of the equation, or they are going to disappoint a lot of unknowing developers. This just became a MAJOR blocking issue for many dev shops that are using Virtual PC for isolated testing. If this concerns you, then I recommend you download Intel's Processor Identification Utility so you can check to see if your dev environment is capable of running hardware virtualization. Failing to do so might get you stuck like I did, now having me decide if I want to degrade back to Windows Vista just to get work done. There goes another day to prep my main systems again. *sigh* UPDATE: Fellow MVP Bill Grant has provided me a solution to my delimma. It appears the issue is because Virtual PC 7 (beta), a built in component for Windows 7 when installed, is causing the blocking issue. By going into "Turn Windows features on or off" and removing Virtual PC support (and effectively removing XP mode support), Virtual PC 2007 can then be installed on machines that do not have hardware virtualization support. This isn't the most optimal behaviour, but acceptable. Since without VT support in my CPU I can't use XP mode anyways, removing it does not limit WIndows 7 from functioning. I have reported to Microsoft on this odd behaviour since:
So if you do NOT have VT support in your CPU, please uninstall Virtual PC 7 support if you installed it. VPC 2007 will then properly install for you. Posted by SilverStr at August 3, 2009 04:04 PM | TrackBackComments
why not use other products like vmware or VirtualBox? Posted by: eduardo at August 3, 2009 06:10 PMI'm not sure that Microsoft failed to disclose this - in fact this was explicitly covered in the announcements around Windows XP Mode: http://www.microsoft.com/presspass/features/2009/Apr09/04-28Win7QA.mspx "We recommend that customers use Windows XP Mode on a PC with 2GB of memory. We also recommend an additional 15 GB of additional disk space for Windows XP Mode. In addition, Windows Virtual PC requires a PC with Intel-VT or AMD-V enabled in the CPU, as it takes advantage of the latest advancements in hardware virtualization. " Disclaimer: I work for Microsoft NZ. However this is not an official Microsoft response. Posted by: Stu Fox at August 3, 2009 06:37 PMVirtual PC for Win7 is in beta, so the final may be updated to remove the hardware restriction.. Posted by: Nicholas at August 3, 2009 07:16 PMHey Stu, The issue here I think is the fact that XP Mode SHOULD NOT INSTALL if its not supported. It blocks VPC 2007 from installing, when it IS supported on a non-VT supported CPU. Until Bill pointed it out to me, I didn't realize that I had to uninstall it as a Windows feature. And now... all is good. VPC 2007 is running fine. Posted by: Dana Epp at August 3, 2009 07:52 PMNicholas, Perhaps. Although I doubt it since their announcement was clear that hardware VT support was needed. I think what we may see is an update to the installer PREVENTING Virtual PC 7 and XP mode from being able to be installed in the first place on non-supported hardware. I have informed Microsoft of the problem, and its now in their hands. Posted by: Dana Epp at August 3, 2009 07:57 PMEasier solution: Go get the Windows XP stuff and one of the downloads is the fully working Virtual PC for Windows 7 and it works just fine on RTM of 7. I've used it, it's working fine, and all of my VPC images work just great and creating new images work just fine too. This isn't a gotcha. Posted by: James Hancock at August 4, 2009 06:12 AMThanks for the heads up Dana. Haven't seen any problems here on Win7 but I'm happy running VMWare Workstation 6.5. Needed for my FreeBSD work. Posted by: Chris Knight at August 4, 2009 08:27 AM"The new XP mode (which is an excellent feature) may very well need" hardware virtualization, but the VPC *itself* requires the feature (no XP Mode necessary), and I'd like to see an explanation of that. It's a pity that MS is excluding so many people from the new VPC when it's obviously not necessary, based on the competition and their own earlier products. Meanwhile, if MS wants more people to use VirtualBox, then they can just maintain the status quo. Posted by: Rick at August 4, 2009 01:07 PMI have never liked Virtual PC. In general I'm a fan of MS. I develop on Windows with Visual Studio. However, Virtual PC has always been a lot slower than VMware. The new Hyper-V is good step forward but years behind ESX. I run the free VMware server because I install a copy of XP or 2003 from an ISO about 2-3x faster than I can on Virtual PC. I just don't get why nearly all MS developers use Virtual PC when they can get free VMware.. ? Posted by: Jonathan Miller at August 4, 2009 08:01 PMDana, I would like to echo the idea of using virtual box. I find it's the fastest and most stable virtual machine software I have used. Posted by: Gareth Lewin at August 7, 2009 12:50 AM |
![]() ![]()
My 5 Favorite Books
Writing Secure Code
Secure Programming Cookbook Security Engineering Secure Coding Principles & Practice Inside the Security Mind ![]()
My 5 Favorite Papers
Smashing the Stack
Penetration Studies Covert Channel Analysis of Trusted Systems DoD Trusted Computer System Evaluation Criteria NSA Security Recommendation Guides ![]()
Archives
March 2010
October 2009 August 2009 May 2009 April 2009 March 2009 February 2009 January 2009 December 2008 November 2008 October 2008 September 2008 August 2008 July 2008 June 2008 April 2008 January 2008 December 2007 November 2007 October 2007 September 2007 August 2007 July 2007 June 2007 May 2007 April 2007 March 2007 February 2007 January 2007 December 2006 November 2006 October 2006 September 2006 August 2006 July 2006 June 2006 May 2006 April 2006 March 2006 February 2006 January 2006 December 2005 November 2005 October 2005 September 2005 August 2005 July 2005 June 2005 May 2005 April 2005 March 2005 February 2005 January 2005 December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004 March 2004 February 2004 January 2004 December 2003 November 2003 October 2003 September 2003 August 2003 July 2003 June 2003 May 2003 April 2003 March 2003 February 2003 January 2003 December 2002 November 2002 October 2002 September 2002 August 2002 July 2002 ![]() |
|