Post on 14-Apr-2018
7/30/2019 Directly Access Windows XP Applications From Windows 8
1/11
Directly access Windows XP
applications from Windows 8ByGreg ShultzinWindows and Office, August 23, 2013, 8:44 AM PST
Email Alert RSS
8Comments Save Facebook1 Twitter23 Linkedin3 More
Learn how to configure and use the Client Hyper-V RemoteApp toolto directly access Windows XP applications from Windows 8.
In the article,Create a Client Hyper-V Virtual Machine for Windows
XP, I showed you how to create a virtual machine in Windows 8's Client Hyper-V designed
for Windows XP. Using this technique, you can run Windows XP applications from your
Windows 8 system by switching over to the virtual machine. However, since that article was
published, I've received email from readers wondering if there was a way to run Windows
XP applications in Windows 8 like you could with the Windows XP-Mode feature inWindows 7.
As you may remember, when you installed an application in the Windows XP Mode virtual
machine, ashortcut for that applicationwould appear on the Windows 7 Start menu. This
allowed you to launch your Windows XP applications without having to first load the
Windows XP VM and then launch them from the virtual Windows XP's Start menu.
http://www.techrepublic.com/search/?q=greg+shultzhttp://www.techrepublic.com/search/?q=greg+shultzhttp://www.techrepublic.com/search/?q=greg+shultzhttp://www.techrepublic.com/blog/windows-and-office/http://www.techrepublic.com/blog/windows-and-office/http://www.techrepublic.com/blog/windows-and-office/http://www.techrepublic.com/blog/windows-and-office/directly-access-windows-xp-applications-from-windows-8/http://www.techrepublic.com/blog/windows-and-office/directly-access-windows-xp-applications-from-windows-8/http://www.techrepublic.com/rssfeeds/topic/microsoft/http://www.techrepublic.com/rssfeeds/topic/microsoft/http://www.techrepublic.com/blog/windows-and-office/directly-access-windows-xp-applications-from-windows-8/#postCommentshttp://www.techrepublic.com/blog/windows-and-office/directly-access-windows-xp-applications-from-windows-8/#postCommentshttp://www.techrepublic.com/blog/windows-and-office/create-a-client-hyper-v-virtual-machine-for-windows-xp/http://www.techrepublic.com/blog/windows-and-office/create-a-client-hyper-v-virtual-machine-for-windows-xp/http://www.techrepublic.com/blog/windows-and-office/create-a-client-hyper-v-virtual-machine-for-windows-xp/http://www.techrepublic.com/blog/windows-and-office/create-a-client-hyper-v-virtual-machine-for-windows-xp/http://www.techrepublic.com/blog/windows-and-office/get-the-most-out-of-windows-xp-mode-with-these-tips/http://www.techrepublic.com/blog/windows-and-office/get-the-most-out-of-windows-xp-mode-with-these-tips/http://www.techrepublic.com/blog/windows-and-office/get-the-most-out-of-windows-xp-mode-with-these-tips/http://www.techrepublic.com/blog/windows-and-office/get-the-most-out-of-windows-xp-mode-with-these-tips/http://www.techrepublic.com/blog/windows-and-office/create-a-client-hyper-v-virtual-machine-for-windows-xp/http://www.techrepublic.com/blog/windows-and-office/create-a-client-hyper-v-virtual-machine-for-windows-xp/http://www.techrepublic.com/blog/windows-and-office/directly-access-windows-xp-applications-from-windows-8/#postCommentshttp://www.techrepublic.com/rssfeeds/topic/microsoft/http://www.techrepublic.com/blog/windows-and-office/directly-access-windows-xp-applications-from-windows-8/http://www.techrepublic.com/blog/windows-and-office/http://www.techrepublic.com/search/?q=greg+shultz7/30/2019 Directly Access Windows XP Applications From Windows 8
2/11
Well, after I wrote theMake USB devices accessible to a Windows XP virtual
machinearticle where I showed you how to use Remote Desktop to connect to a networked
virtual machine running in Windows 8 Client Hyper-V, I began to wonder about
Microsoft'sRemoteApptool, which is designed to make programs accessed through
Remote Desktop Services appear as if they are running on a local computer. Could
RemoteApp work with Windows 8's Client Hyper-V to allow you to directly access WindowsXP applications? As I began to experiment, I discovered that it was indeed possible.
In this article, I'll show you how to configure and use the RemoteApp tool to directly access
Windows XP applications from Windows 8.
Prerequisites
Before I get started, I'm going to assume that you have read the previous articles on setting
up Windows 8's Client Hyper-V for running Windows XP and have configured your set up
accordingly.
Get started with Windows 8 Client Hyper-V the right way Create a virtual switch in Windows 8 Client Hyper-V Create a Client Hyper-V Virtual Machine for Windows XP Make USB devices accessible to a Windows XP virtual machineIt is imperative that you have Remote Desktop functioning as described in the last article in
this list. If you don't, this RemoteApp technique won't work correctly.
Note: The techniques and steps described in this article are designed for a tech-savvy
audience and should therefore be performed precisely and with great care to avoid possible
loss of data or potential system failure. The reader assumes all risk when implementing
these tips.
Install RemoteApp in Windows XP
To allow Windows XP to recognize a RemoteApp connection from Windows 8, you will first
have to install the RemoteApp update in Windows XP. To do so, launch Hyper-V and start
your Windows XP virtual machine. Once Windows XP is up and running, launch Internet
Explorer, go to the Microsoft Download Center, and search for Enable RemoteApp. When
you get to theUpdate for Windows XP SP3 to enable RemoteApppage, as shown in Figure
A, click the download button. Then, follow the instructions to download and install theupdate in Windows XP.
Figure A
http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://technet.microsoft.com/en-us/library/cc755055.aspxhttp://technet.microsoft.com/en-us/library/cc755055.aspxhttp://technet.microsoft.com/en-us/library/cc755055.aspxhttp://www.techrepublic.com/blog/window-on-windows/get-started-with-windows-8-client-hyper-v-the-right-way/7893http://www.techrepublic.com/blog/window-on-windows/get-started-with-windows-8-client-hyper-v-the-right-way/7893http://www.techrepublic.com/blog/window-on-windows/create-a-virtual-switch-in-windows-8-client-hyper-v/7928http://www.techrepublic.com/blog/window-on-windows/create-a-virtual-switch-in-windows-8-client-hyper-v/7928http://www.techrepublic.com/blog/windows-and-office/create-a-client-hyper-v-virtual-machine-for-windows-xp/http://www.techrepublic.com/blog/windows-and-office/create-a-client-hyper-v-virtual-machine-for-windows-xp/http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.microsoft.com/en-us/download/details.aspx?id=4465http://www.microsoft.com/en-us/download/details.aspx?id=4465http://www.microsoft.com/en-us/download/details.aspx?id=4465http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.techrepublic.com/blog/windows-and-office/create-a-client-hyper-v-virtual-machine-for-windows-xp/http://www.techrepublic.com/blog/window-on-windows/create-a-virtual-switch-in-windows-8-client-hyper-v/7928http://www.techrepublic.com/blog/window-on-windows/get-started-with-windows-8-client-hyper-v-the-right-way/7893http://technet.microsoft.com/en-us/library/cc755055.aspxhttp://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/7/30/2019 Directly Access Windows XP Applications From Windows 8
3/11
You need to download and install the Update for Windows XP SP3 to enable RemoteApp.
When you get to the last page of the installation wizard, you'll by prompted to click Finish,
as shown in Figure B. When you do, your Windows XP VM will restart.
Figure B
7/30/2019 Directly Access Windows XP Applications From Windows 8
4/11
Once you complete the installation, your Windows XP VM will restart again.
Modify the registry in Windows XP
In addition to installing the Update for Windows XP SP3 to enable RemoteApp, you need to
make slight modification in Windows XP's Registry. To begin, launch the Registry Editor by
pressing [Windows]+R to access the Run dialog box, type Regedit in the open text box and
click OK. Then, open the following subkeys in succession:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal
Server\TSAppAllowList
When you open the TSAppAllowList subkey, locate and access the fDisabledAllowList value
and change the Value data from 0 to 1, as shown in Figure C. Once you click OK, close the
Registry Editor.
Figure C
7/30/2019 Directly Access Windows XP Applications From Windows 8
5/11
You will need to change the fDisabledAllowList Value data from 0 to 1.
You'll need one last piece of information before you are done in your Windows XP VM. In
order to create the RemoteApp file that you'll use to launch your Windows XP application in
Windows 8, you'll need to get the path to the application's executable file. To do so, locate
the application shortcut, right click on it, and select the Properties command. When you see
the Properties dialog box, select the Find Target button and take note of the path and
executable file name.
For my example, I am going to run Paint Shop Pro 8 as a RemoteApp and the path to that
application is:
C:\Program Files\Jasc Software Inc\Paint Shop Pro 8\Paint Shop Pro.exe
Remember that just like when using Remote Desktop to connect to a Windows XP in Hyper-
V, your Virtual Machine must be up and running in order for you to use the RemoteApp
connection feature. As such, once you have obtained the path, you will Log Off Windows
XP, as shown inFigure D. You can then minimize your Windows XP Virtual Machine
Connection window and close the Hyper-V Manager window.
7/30/2019 Directly Access Windows XP Applications From Windows 8
6/11
Figure D
Your Virtual Machine must be up and running in order for you to use the RemoteApp connection feature, so just Log Off
the system.
Customizing your RDP file
Now that Windows XP is configured and ready to serve up remote applications, you need to
create a RemoteApp connection file, which is very similar to a Remote Desktop Connection
file, but with a few additional settings. In fact, you will use your Remote Desktop Connection
file as the basis for your RemoteApp connection file.
As you may remember, in theMake USB devices accessible to a Windows XP virtual
machinearticle I had you save your Windows 8 Remote Desktop Connection configuration
file (.RDP) after you made the modifications for your USB devices. In the case of my
example, I saved the file as VM-ONE-XP.RDP in the Documents folder.
To begin, locate your RDP file and make a copy of the file. Then rename the copy using the
name of the Windows XP application that you want to run as a RemoteApp. For my
http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/http://www.techrepublic.com/blog/windows-and-office/make-usb-devices-accessible-to-a-windows-xp-virtual-machine/7/30/2019 Directly Access Windows XP Applications From Windows 8
7/11
example, I am going to run Paint Shop Pro 8 as a RemoteApp, so I'll make a copy of my
VM-ONE-XP.RDP and rename it to Paint Shop Pro.rdp.
Once you create your RDP file, you'll need to make a few changes to the file so that it will
open your Windows XP application as a RemoteApp. Fortunately, the RDP file is actually a
text file, so you can edit it in Notepad. The quickest way to do so is to launch Notepad andthen drag your RDP file and drop it into Notepad's open window. With your RDP file in
Notepad, you'll need to edit a pair of existing lines and add three more lines.
To begin, locate the following two lines:
remoteapplicationmode:i:0
alternate shell:s:
And change them to:
remoteapplicationmode:i:1
alternate shell:s:rdpinit.exe
Then, add the following lines that will define your Windows XP application as a RemoteApp:
disableremoteappcapscheck:i:1
remoteapplicationname:s:{Application Name}
remoteapplicationprogram:s:{Path to executable file}
Where {Application Name} is name of your application and {Path to executable file} is the
path to and the executable file name.
For example, to define Paint Shop Pro as a RemoteApp, I edited the Paint Shop Pro.rdp
file, as shown in Figure E.
Figure E
7/30/2019 Directly Access Windows XP Applications From Windows 8
8/11
I made several changes to my RDP file so that it will run Paint Shop Pro as a RemoteApp.
As you make changes to your RDP file, make sure that in the command lines you edit or
add, there are no spaces between the colons and the text that comes before or after them.
The Application Name and Path to executable file can have spaces as necessary. Once you
have made the appropriate changes, save the file and close Notepad.
Launching your RemoteApp
Now that everything is configured, you can use your RemoteApp. To do so, double click on
the RDP file that you just created. When you do, you'll see a RemoteApp window appear on
your Windows 8 desktop that indicates that your application is starting. Figure F shows my
RemoteApp window for Paint Shop Pro.
Figure F
7/30/2019 Directly Access Windows XP Applications From Windows 8
9/11
As your RemoteApp connection is starting up, the flowing progress bar will let you know that the connection is working.
When the Show Details button becomes active, you will need to select it to display the
Windows XP login screen, as shown in Figure G.
Figure G
7/30/2019 Directly Access Windows XP Applications From Windows 8
10/11
You will have to login to Windows XP to complete the connection.
You will then have to type your password and click OK. (As I mentioned in the previous
article when we created the Remote Desktop Connection file, normally, I would have
selected select the Allow me to save my credentials check box to automate the login
procedure, but for some reason, I have not been able to get that feature to work when
connecting to a Windows XP virtual machine in Hyper-V using a Remote Desktop
Connection - it just locks up the connection procedure.)
Once you have entered your password, the RemoteApp will launch your Windows XP
application inside of Windows 8 with its own window. You can then use your application as
you normally would, as shown in Figure H. Now, as long as you used the Windows 8Remote Desktop Connection configuration file to which you made the modifications for your
USB devices, you RemoteApp will have access to the drives and printers connected to your
Windows 8 system.
Figure H
7/30/2019 Directly Access Windows XP Applications From Windows 8
11/11
With RemoteApp, you'll see your application in a Windows XP style window in Windows 8.