Auto-Publish with VPC7

Windows 7 will support a new version of Virtual PC known as VPC7. The big feature that VPC7 adds is application publishing using RAIL technology. This enables the application to directly integrate into the Win7 desktop and Start menu, running as if the application were local, instead of running on a VM. Cool stuff, and essentially the same technology as used by TS RemoteApps.

Win7’s Virtual XP Mode includes a pre-licensed and activated Windows XP SP3 virtual machine that uses the RAIL technology to automatically publish applications that are installed in the XP VM as RAIL applications in Windows 7. Great, and this works just fine for most applications you’ll want to install, and is an excellent solution to legacy applications that aren’t Vista/Windows7 compatible. However, Microsoft seems to think that the native applications that are part of the VM’s operating system aren’t anything we might want to have available in Windows 7. Wrong answer! I actually use and like Windows Mail and do NOT like Windows Live Mail. But Windows Mail has been removed from Win7, so now I’m running it in a Windows Vista VM and auto-publishing to Win7. The catch? For an application to be published, it needs to be added to the Programs folder of the All Users profile, so I had to open up the Vista VM and copy over the shortcut from my personal profile to the All Users profile and that fixed that.

Other applications, such as various Windows games and even Windows PowerShell, are even tougher to get published. Even after you move the application’s shortcut to the All Users profile, it still doesn’t appear in Win7. Why not? Because there’s a Registry key that specifically excludes some applications. Sigh. Sometimes I wonder why MS makes it hard, but here’s the easy fix – remove the application from the Registry key that controls this:

“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtual Machine\VPCVAppExcludeList”

All the usual caveats about editing the registry apply, so “You’ve been warned!”. :-)

For a detailed and very well documented post on how to publish PowerShell v1 from Virtual XP Mode, complete with screen shots, see Shay Levy’s post.

Charlie.

Published Tue, May 12 2009 12:21 by Charlie Russel

Comments

Friday, June 05, 2009 10:17 AM by Gary

# re: Auto-Publish with VPC7

I cannot find the appExcludeList key... was it removed from newer versions?

Gary

Friday, June 05, 2009 12:53 PM by Charlie Russel

# re: Auto-Publish with VPC7

No, it hasn't been removed in newer versions. But where are you looking? This registry key is on the guest VM, not the host. And it's there in XP or in Vista. Haven't checked Win7 VMs, but don't know any reason why it wouldn't be there.

Charlie.

Friday, June 05, 2009 12:53 PM by Charlie Russel

# re: Auto-Publish with VPC7

No, it hasn't been removed in newer versions. But where are you looking? This registry key is on the guest VM, not the host. And it's there in XP or in Vista. Haven't checked Win7 VMs, but don't know any reason why it wouldn't be there.

Charlie.