Win3x.Org

Windows & DOS Community

Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10

Post Reply   Page 1 of 3  [ 24 posts ]
Jump to page 1 2 3 »
Author Message
Big Monstro
Post subject: Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10
Posted: 11 September, 16:50
Administrateur
User avatar
Offline
 
Posts: 3405
Joined: 27 June, 15:15
Retro PC: 80486 DX2/66, MS-DOS & Windows
 
Available since Windows 8, Hyper-V Client cannot properly virtualize any OS older than Windows XP, that's why I wrote that tutorial.

Contrary to what Microsoft claims, it's possible to use Microsoft Virtual PC 2007 on a computer running Windows 8!

Update : that guide seems also to work on Windows 10 x86 (32-bit)

Procedure

1) Download Microsoft Virtual PC 2007 with Service Pack included (version 6.0.192) on this URL: http://www.microsoft.com/download/details.aspx?id=24439.

       31/01/2019: unfortunately, Microsoft has removed it from its server... Get it back again thanks to my mirror ==> 32-bit | 64-bit

2) first obstacle: Windows 8 blocks the installation process as soon as you click on the installer... It's easy to bypass: rename the installer to anything else.

3) After the installation, the same blocking appears when you launch Virtual PC. Go to the location where you installed the program (« Program Files\Microsoft Virtual PC » on 32-bit systems or « Program Files (x86)\Microsoft Virtual PC » on 64-bit systems) and rename the executable file « Virtual PC » to something else.

4) Now, the situation differs depending on the architecture of your operating system...

==> if you use Windows 8 32-bit, you can already enjoy Microsoft Virtual PC 2007: despite the previous warnings, that hypervisor is already compatible with Windows 8 32-bit. You can continue the reading to update some components, especially if you actually use Windows 8.1.

==> if you use Windows 8 64-bit, it's not over: if you stop the reading now, you'll understand why Microsoft stated that the older application is not compatible with Windows 8... By starting any virtual machine, you eventually get that BSOD!

[ img ]

5) The previous screenshot (from Windows 8 64-bit) mentions the vmm.sys file, it's the virtual machine monitor. This is definitely the problem. Go to Windows\System32 folder and search "vmm.sys" ==> The exact location should be Windows\system32\Drivers but that depends on the language of your system.

6) Delete the current vmm.sys and replace it by a newer version, released in 2012. A such file is shipped with the « Windows Phone SDK 7.1.1 ».

To save your bandwidth, here is a much smaller archive (345 Kb) with the revised driver:

:arrow: Download the updated vmm.sys

That archive contains two variants (32-bit and 64-bit). Obviously, you have to use the file intended for your system; you cannot use a 32-bit driver on a 64-bit system or the opposite! In case of mistake, Microsoft Virtual PC no longer runs. To repair, replace the wrong version by the correct one; that may imply starting the computer into safe mode.

7) Reboot to load the newer vmm.sys: you can finally use Microsoft Virtual PC 2007 on Windows 8 64-bit!

To illustrate, here's a screenshot with two guest systems (MS-DOS and Windows 95) both running inside Virtual PC on a Windows 8 host.

[ img ]



Further information

(A) Hyper-V can coexist with Microsoft Virtual PC 2007 on the same physical computer. It's even possible to run them simultaneously. The next screenshot proves it: you haven't to choose between these two pieces of software. You can enjoy the one without giving up the other!

[ img ]

(B) Given the previous modifications, DO NOT apply the security hotfix for Microsoft Virtual PC on Windows 8 64-bit (KB969856, available though Microsoft Update and Download Center)! Why? Because that hotfix replaces the original vmm.sys by another released on april 2009, thus a file older than those from Windows Phone SDK 7.1.1. Consequently, that fix doesn't apply to that operating system. If you upgrade vmm.sys to the newest version on Windows 8 32-bit, it's the same thing.

(C) You can possibly upgrade Microsoft Virtual PC 2007 SP1 to the latest revision (6.0.210). Please note you may have to rename the executable file again after applying the Rollup.

The installation of Rollup is normally done on Windows 8.0 but it turns out problematic on Windows 8.1.

==> On Windows 8.0 (32-bit and 64-bit): the official installer perfectly fits. Link: http://support.microsoft.com/kb/958162

       29/12/2017: unfortunately, Microsoft has removed the rollup from its server... Get it back again thanks to my mirror ==> 32-bit | 64-bit

==> On Windows 8.1 (32-bit and 64-bit): it's strongly recommended to read the next section.


Specific problems of Windows 8.1

Although being free for Windows 8 users, Windows 8.1 is far from being just a Service Pack: with a revised user interface, an updated kernel (from NT 6.2 to NT 6.3) and many other extra features, it's truly another operating system. However, there are additional problems with some pieces of software, including Microsoft Virtual PC 2007. Luckily, there are solutions!

Important: Windows 8.0 users don't need to read the following explanations, which apply to Windows 8.1 only.

Installation

It's basically the same as Windows 8.0. See the above « procedure ».

Stuttering mouse cursor

Windows 8.1 differently treats the mouse input. While most programs work as good as before, it's not true for Virtual PC: the mouse strangely behaves inside Microsoft virtual PC. That bug occurs only if the pointer integration is disabled. However, it's simply impossible to enable it on any guest system older than Windows 95/98; that means running an unsupported OS (like Windows 3.1) become painful. Don't worry: there is a tip for EVERY virtual machines!

1) Download KB2908279. Since that issue appears on several games too, Microsoft released a specific patch:

==> Windows 8.1 32-bit : http://www.microsoft.com/en-us/download ... x?id=40910

==> Windows 8.1 64-bit : http://www.microsoft.com/en-us/download ... x?id=40909

Apply it and reboot your computer.

2) By default, that patch takes effect only on some popular games but Microsoft explains how to add another program on the list. You guess that's the procedure to resolve the annoying bug on Microsoft Virtual PC 2007. Firstly, run Registry Editor (regedit.exe). Ignore the UAC if warning.

3) Go to the following key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags
and display the content of « Layers ». If the key doesn't exist, create it.

4) Inside the « Layers » key, create a new string value. For its name, specify the complete address of Microsoft Virtual PC 2007 executable file. For example, if the host operating system is Windows 8 64-bit and it's installed on C: drive, the value name should look like this:

C:\Program Files (x86)\Microsoft Virtual PC\Virtual PC.exe

The exact address depends on the configuration of your computer! You must take into account the actual name of executable file.

5) In addition to name, you have to modify the data of that string value. Enter NoDTToDITMouseBatch

6) It isn't over! Open a command prompt with administrators permissions and run the following command:
Rundll32 apphelp.dll,ShimFlushCache
7) Reboot the computer. Now, the mouse cursor normally behaves inside all virtual machines, even ones without the Additions.

[ img ]


Installing Rollup

While the latest version of Microsoft Virtual PC 2007 (6.0.210) can be installed without any problem on many system hosts, from Windows XP to Windows 8.0, it's starkly a different story on Windows 8.1!

During the installation, the Rollup redefines the configuration of virtual network card driver. It's quite normal since that update improves NAT shared network performances. Oddly, that uninstalls virtual network card driver on Windows 8.1 (that doesn't happen on earlier versions of Windows, including 8.0). As a result: after applying Rollup, it's no longer possible to directly connect virtual machines to a physical network card and thus manage them exactly like other physical computers. To make matters worse, on Windows 8.1 64-bit, you cannot uninstall Microsoft Virtual PC 2007 from Control Panel after applying the Rollup! Windows 8.1 32-bit is not affected by the uninstall bug but it is about the Rollup installation.

What are you supposed to do? My piece of advice is don't use a Virtual PC version higher than 6.0.192, the extra features of Rollup are cool but not essential. If these improvements are important for you, manually replace two older files by updated ones. It's enough to enjoy full screen on 1920x1080 monitor without uninstall virtual network drivers.

:arrow: Download the updated files (from 6.0.210), in two variants (32-bit and 64-bit)

Last edited by Big Monstro on 29 December, 20:44, edited 1 time in total.

Top
Quote
Vorro
Post subject: Re: Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10
Posted: 25 October, 16:21
Membre d'honneur
User avatar
Offline
 
Posts: 1830
Joined: 20 June, 22:54
Retro PC: Compaq Contura Aero 4/33C !
 
This tutorial doesn't work anymore with Windows 10 and finally we conclude Microsoft Virtual PC 2007 doesn't work with Windows 10.

You need to use Virtual Box or PC Em.


Top
Quote
Viking
Post subject: Re: Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10
Posted: 11 October, 20:56
Membre inscrit
User avatar
Offline
 
Posts: 237
Joined: 08 August, 18:14
 
I've a Windows 10 x86 virtual machine, I tried it...

And guess what? Virtual PC 2007 works on Windows 10 x86 !
Follow the procedure for Windows 8.1 x86

[ img ]


Top
Quote
Solstar82
Post subject: Re: Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10
Posted: 12 April, 12:11
Membre inscrit
Offline
 
Posts: 1
Joined: 12 April, 10:53
 
sorry to bring back this old post but i'm trying to do it on windows 10..and i'm at the point where i need to replace the vmm.sys file..it cannot be deleted\replaced, no matter which kind of elevated priority i set into the folders or my account.any help?


Top
Quote
Big Monstro
Post subject: Re: Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10
Posted: 12 April, 12:45
Administrateur
User avatar
Offline
 
Posts: 3405
Joined: 27 June, 15:15
Retro PC: 80486 DX2/66, MS-DOS & Windows
 
Hello Solstar82 and welcome to Win3x.Org!

On which variant of Windows 10 (32-bit or 64-bit) do you try to install Microsoft Virtual PC 2007?

I guess you use the 64-bit edition, since you don't need to replace vmm.sys on 32-bit (at least on Windows 8.x).

Unfortunately, people reported Virtual PC 2007 works only on Windows 10 32-bit, not on the 64-bit counterpart.

Best regards,
Big Monstro


Top
Quote
ppgrainbow
Post subject: Re: Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10
Posted: 05 August, 10:15
Membre inscrit
User avatar
Offline
 
Posts: 4
Joined: 05 August, 09:14
 
I hate to bring the issue here. I managed to follow all of the instructions that you provided when I completed the installation of Virtual PC 2007 SP1 on Windows 8.1.

The problem is that I have a dual monitor. On my secondary monitor (Dell M782, 1600 x 1200), I'm getting a stuttering mouse cursor when navigate the mouse when it's caotured inside the Virtual PC virtual machine and it's windowed. The only workaround right now is to make the VM fullscreen.

The issue does not occur on the primary monitor, windowed or full screen.

Is there a way how to fix the stuttering mouse cursor issue when the mouse is captured inside the VM window?


Top
Quote
Big Monstro
Post subject: Re: Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10
Posted: 05 August, 10:27
Administrateur
User avatar
Offline
 
Posts: 3405
Joined: 27 June, 15:15
Retro PC: 80486 DX2/66, MS-DOS & Windows
 
Hello ppgrainbow and welcome to Win3x.Org!

Does the problem occur even after applying the patch KB2908279 (see the above instructions)?

I am aware of a stuttering mouse cursor issue on Windows 8.1, Microsoft released the KB2908279 patch.

However, I've never tested Virtual PC on dual screen and Windows 8.1, so you might raise another bug.

Best regards,
Big Monstro


Top
Quote
ppgrainbow
Post subject: Re: Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10
Posted: 05 August, 10:41
Membre inscrit
User avatar
Offline
 
Posts: 4
Joined: 05 August, 09:14
 
First of all, thank you for the welcome! :)

I tried to apply the KB2908279 patch and I get a error stating that "The update is not applicable to your computer". I had Windows 8.1 (which includes the KB2903939 rollup) installed more than six months ago.

So yeah, this stuttering mouse bug does occur even if I have the KB2908279 patch, but it happens only when the mouse is captured inside the windowed VM on the second monitor. :(


Top
Quote
Big Monstro
Post subject: Re: Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10
Posted: 05 August, 10:47
Administrateur
User avatar
Offline
 
Posts: 3405
Joined: 27 June, 15:15
Retro PC: 80486 DX2/66, MS-DOS & Windows
 
Apparently, the update rollup KB2903939 includes KB2908279 (source: http://support.microsoft.com/en-us/help ... ate-rollup), so it's normal your system claims you don't need that hotfix.

Therefore, you raise another issue :o.

Perhaps these external resources could help you:


Top
Quote
ppgrainbow
Post subject: Re: Install Microsoft Virtual PC 2007 on Windows 8 / 8.1 / 10
Posted: 05 August, 11:57
Membre inscrit
User avatar
Offline
 
Posts: 4
Joined: 05 August, 09:14
 
Thank you for the help.

I tried to add the following:

1. I opened up the Registry Editor. I searched for the DWORD value MouseMonitorEscapeSpeed in the registry key, HKCU\Control Panel\Desktop and changed the value to 1

Repeated the steps in the registry key, HKCU\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell\EdgeUI as well.

2. Changed the MouseCornerClipLength in HKCU\Control Panel\Desktop to 0.

3. I rebooted for the changes to take effect.

And for some reason, the mouse cursor in the windowed guest VM still either stutters badly or does not respond at all on the second monitor. :(


Top
Quote
Display: Sort by: Direction:
Post Reply   Page 1 of 3  [ 24 posts ]
Return to “Resources” | Jump to page 1 2 3 »
Jump to: