Skip to content

TechRepublic

  • Top Products Lists
  • AI
  • Developer
  • Payroll
  • Security
  • Project Management
  • TechRepublic Academy
  • Innovation
  • Cheat Sheets
  • Cloud
  • 5G
  • Big Data
  • TechRepublic Premium
  • Top Products Lists
  • AI
  • Developer
  • Payroll
  • Security
  • Project Management
  • TechRepublic Academy
  • Innovation
  • Cheat Sheets
  • Cloud
  • 5G
  • Big Data
  • See All Topics
  • Sponsored
  • Newsletters
  • Forums
  • Resource Library
TechRepublic Premium
Join / Sign In
Microsoft

Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

By greg shultz July 26, 2013, 1:08 PM PDT

Image
1
of 16

Fig A 7-26.png
Fig A 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

The Settings window doesn't contain any reference to USB devices

The Settings window doesn't contain any reference to USB devices

Over the past several weeks I have written a series ofrnarticles on working with Windows 8’s Client Hyper-V with the aim ofrnestablishing a working Windows XP environment that will allow migrating usersrnto have something to fall back on as they get used to Windows 8. For yourrnconvenience, those articles are listed here:

rnrn

    rn

  • Getrn started with Windows 8 Client Hyper-V the right way
  • rn

  • Creatern a virtual switch in Windows 8 Client Hyper-V
  • rn

  • Creatern a Client Hyper-V virtual machine for Windows xp
  • rn

rnrn

In the most recent article, I walked you through the stepsrnof creating a virtual machine onto which you would install Windows XP. As yournmay have noticed while working through the New Virtual Machine Wizard andrnexamining the virtual machine Settings window, shown in Figure A, there was no mention of USB connections. Well, that’srnbecause, unfortunately, Client Hyper-V doesn’t provide native support for USBrnconnections.

rnrn

While the lack of USB support in Hyper-V is definitely arnhuge shortcoming, it’s actually by design. That may come as a shock, but thernfact is that USB support is not available in Hyper-V Server, because it isrnincompatible with certain key features, such as Live Migration.rnUnfortunately, the lack of USB support was passed down to Windows 8’s ClientrnHyper-V.

Fig B 7-26.png
Fig B 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

From Windows 8's System screen, you can view or change the computer name and workgroup name

From Windows 8's System screen, you can view or change the computer name and workgroup name

Filling the gap

rnrn

As you can imagine, a number of third-party solutions havernsprung up to fill the gap. For example, there are software products, such as USB Redirector, andrnhardware products like thernNetwork-attached USB hubs. However, when it comes to using Windows 8’s ClientrnHyper-V and a Windows XP virtual machine, you don’t have to resort to suchrnelaborate or expensive methods of making USB devices accessible to a virtualrnmachine.

rnrn

Instead, you can employ a little trick that uses the RemoternDesktop Connection tool to connect to a networked virtual machine running inrnClient Hyper-V. You can then use the features on the Local Resources tab of arnRemote Desktop Connection to redirect USB devices connected to the host machine,rnsuch as USB drives and USB printers, to the virtual machine. While on thernsurface this may sound like a quirky workaround, in actuality it brings with itrnhost of benefits besides the access to USB. For example, you get a full screenrndisplay, slightly better performance, and you can use the clipboard to copy andrnpaste data between the host and virtual machines.

rnrn

In this article, I’ll walk you through the steps you need tornperform in order to make your Windows XP virtual machine accessible throughrnRemote Desktop Connection. I’ll then show you how to configure and access USBrndevices connected to the Windows 8 host machine from within your Windows XPrnvirtual machine.

rnrn

Network configuration

rnrn

The first thing that you need to do in order to be able tornuse Remote Desktop Connection to access a virtual machine, is make sure thatrnboth the host machine and the virtual machine are configured to use the exactrnsame workgroup. Let’s take a closer look.

rnrnOn the Windows 8 hostrnmachine, press [Windows]+[Break] to bring up the System window shown in Figure B. If you haven’t specified arnworkgroup name or wish to change your computer name, you can click Changernsettings and use the Change button on the System Properties Computer Name tab.rnKeep in mind that you will be prompted to Restart the system if you change therncomputer name or the workgroup name. As you can see, on my example system, therncomputer name is Jovian-8 and the workgroup is SOLAR SYSTEM.

Fig C 7-26.png
Fig C 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

Launch Hyper-V Manager and access your Windows XP virtual machine

Launch Hyper-V Manager and access your Windows XP virtual machine

Next,rnlaunch Hyper-V Manager and access your virtual machine. Choose your virtualrnmachine and select Connect from the Action menu. When your Windows XP VirtualrnMachine Connection window appears, click the Green Start button. When you seernthe Windows XP Login screen, select your user name and enter your password, asrnshown in Figure C. Make a mentalrnnote of this user name and password, as you will need them later.

Fig D 7-26.png
Fig D 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

Make sure that your Windows XP virtual machine has a unique computer name

Make sure that your Windows XP virtual machine has a unique computer name

WhenrnWindows XP starts up, press [Windows]+[Break] to bring up the System Propertiesrndialog box and then select the Computer Name tab. Then click the Change buttonrnand make sure that your Windows XP virtual machine has a unique computer namernand is using the same workgroup name as your Windows 8 host machine. As you canrnsee in Figure D, on my example systemrnthe computer name is vm-one-xp and the workgroup is SOLAR SYSTEM. Keep in mindrnthat you will be prompted to Restart the system if you change the computer namernor the workgroup name.

Fig E 7-26.png
Fig E 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

Make sure that you can see both the host machine and the host machine from within each machine's Network list

Make sure that you can see both the host machine and the host machine from within each machine's Network list

Oncernyou are done with your network configuration, make sure that from eachrnmachine’s Network list you can see both the host machine and the host machine. Asrnyou can see in Figure E, bothrnJovian-8 and Vm-one-xp are visible from Windows XP’s Network Neighborhood andrnboth are visible from Windows 8’s Network view in File Explorer.

Fig F 7-26.PNG
Fig F 7-26.PNG
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

Make sure that the system is ready to accept requests from Remote Desktop Connection

Make sure that the system is ready to accept requests from Remote Desktop Connection

Enabling remote connection

rnrn

One more thing that you have to do on your Windows XPrnvirtual machine is enable the remote connection. To do so, pressrn[Windows]+[Break] to bring up the System Properties dialog box and then selectrnthe Remote tab. Then, select the Allow users to connect remotely to thisrncomputer check box in the Remote Desktop panel, as shown in Figure F.

rnrnAt this point, you canrnclick OK and then restart the Windows XP virtual machine. When your Windows XPrnvirtual machine restarts, it will be available on the network, but you won’trnneed to log in again right now. In fact, you can minimize your Windows XPrnVirtual Machine Connection window and close the Hyper-V Manager window. 

Fig G 7-26.PNG
Fig G 7-26.PNG
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

You'll want to save you Remote Desktop Connection configuration

You'll want to save you Remote Desktop Connection configuration

Configuring Remote Desktop Connection

rnrn

Now that you Windows XP virtual machine’s network and remoternsettings are correctly configured, you’re ready to configure your Windows 8rnRemote Desktop Connection. To do begin, use the [Windows] + Q keystroke to accessrnthe Search Apps page. Then, type Remote in the text box and click the RemoternDesktop Connection icon when it appears in the Results.

rnrnWhen you see the RemoternDesktop Connection window, click the Show Options button at the bottom of thernscreen to reveal the entire window with all the tabs. Then, type the name thatrnyou assigned to your Windows XP system and your Windows XP User name in thernappropriate text boxes. Then, click the Save As button and assign your connectionrna name. This process is illustrated in FigurernG.

Fig H 7-26.png
Fig H 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

Clicking the More button reveals a list of other types of local devices

Clicking the More button reveals a list of other types of local devices

Normally, I would select the Allow me to save my credentialsrncheck box, to automate the login procedure, but for some reason, I have notrnbeen able to get that feature to work when connecting to a Windows XP virtualrnmachine via Remote Desktop Connection – it just locks up the connectionrnprocedure. So make sure that you leave the check box blank.

rnrn

To continue, click the Local Resources tab. Here is wherernyou can pick and choose what resources connected to the host machine, such as USBrndrives and USB printers, which you want to redirect to the virtual machine.

rnrnIn the Local devices andrnresources section, both the Printers and Clipboard check boxes should alreadyrnbe selected. You can then click the More button. When you do, you’ll see arnwindow that shows a list of other types of local devices that can be redirectedrnto the virtual machine. These steps are illustrated in Figure H.

Fig I 7-26.png
Fig I 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

With Remote Desktop Connection - you automatically get a full screen display

With Remote Desktop Connection - you automatically get a full screen display

Having the Printers check box selected means that the CanonrniP3500 USB printer connected to my Windows 8 system will now be available tornthe Windows XP virtual machine. (It will need some further configuration asrnI’ll show you in a minute.)

rnrn

As you can see, I’ve selected just about every availablerncheck box in the second Local devices and resources window. The only thing Irndidn’t select is the DVD drive because it’s already connected to the virtualrnmachine. However, I selected Local Disk (C:), which means that I will havernaccess to the hard disk on the host machine from within the virtual machine. Irnalso selected IOMAGIC (E:) which is a USB drive connected to the USB port onrnthe host machine. I then selected the Drives that I plug in later check box, sornthat any time I connect a USB flash drive to the host machine, it will bernaccessible in the virtual machine.

rnrn

To continue, click OK to close the second Local devices andrnresources window. Then, return to the General tab and click the Save button.rnYou can leave all the other default settings in Remote Desktop Connection asrnthey are.

rnrn

Making the first connection

rnrnWith all the necessaryrnsettings in place, you can launch Remote Desktop Connection by clicking thernConnect button. When you do, you’ll see the login screen, shown in Figure I, and will notice anotherrnadvantage of using Remote Desktop Connection – you automatically get a fullrnscreen display of your virtual machine. After you enter your password and clickrnOK, you’ll be connected via Remote Desktop Connection to your Windows XPrnvirtual machine in Hyper-V.

Fig J 7-26.PNG
Fig J 7-26.PNG
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

The host machine's hard disk and USB disks are now available in your Windows XP virtual machine

The host machine's hard disk and USB disks are now available in your Windows XP virtual machine

Once your Windows XP virtual machine is up and running, gornahead and open up My Computer. When you do, you’ll find that there arernconnections in the Other section to the hard disk and any other USB disks havernon you Windows 8 host machine, as shown in FigurernJ. Now, you can easily access files and folders on your host machine fromrnwithin your virtual machine.

Fig K 7-26.PNG
Fig K 7-26.PNG
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

You can install your printer driver in Windows XP from a CD or a download

You can install your printer driver in Windows XP from a CD or a download

Configuring your printer

rnrnWhile the disk drives arernautomatically redirected from your host machine to your virtual machine, yourrnUSB printer will require some additional configuration before it is fullyrnaccessible in your virtual machine. The first thing that you must do is installrnthe driver on your Windows XP virtual machine. You can do so, from the CD thatrncame with your printer or you can download the driver from the Web. In the casernof my Canon iP3500 USB printer, I downloaded the Windows XP driver installationrnpackage from the Canon web site, and then ran it, as shown in Figure K.

Fig L 7-26.png
Fig L 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

Be sure to clear the Automatically detect and install my Plug and Play printer check box

Be sure to clear the Automatically detect and install my Plug and Play printer check box

Withrnthe driver installed, you can now add the printer. Go to the Control Panel andrnlaunch the Add Printer Wizard. On the second screen, select the Local printerrnattached to this computer option, but then clear the Automatically detect andrninstall my Plug and Play printer check box, as shown in Figure L. To continue click Next.

Fig M 7-26.png
Fig M 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

The TS00# ports are those that are redirected from the host machine to the virtual machine

The TS00# ports are those that are redirected from the host machine to the virtual machine

Whenrnyou get to the Select a Printer Port screen, select the Use the following portrnoption and then click the drop down arrow. When you do, you should find a grouprnof Terminal Server ports identified with the codes TS00# {Host machine name} PRN#. These are the ports that arernredirected from the host machine to the virtual machine via Remote DesktoprnConnection. You should select the TS001 port, as shown in Figure M. Then click Next.

Fig N 7-26.png
Fig N 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

The printer driver that you installed should now be in the list of Printers

The printer driver that you installed should now be in the list of Printers

Yournwill now see the Install Printer Software screen, from the Manufacturer listrnselect your printer brand name. Then in the Printers list, scroll all the wayrnto the bottom and you should find the printer driver that you installed earlier.rnAs you can see in Figure N, I selectedrnCanon and then found the Canon iP3500 printer driver that I downloaded andrninstalled.

Fig O 7-26.png
Fig O 7-26.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

Work your way through the rest of the Add Printer Wizard

Work your way through the rest of the Add Printer Wizard

Asrnyou work your way through the rest of the Add Printer Wizard, as shown in Figure O, be sure that you select thernKeep existing driver option and then print a test page to ensure that yourrnprinter is working correctly.

Inro Image.png
Inro Image.png
Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

Make USB devices accessible to a Windows XP virtual machine

Make USB devices accessible to a Windows XP virtual machine

Going forward

rnrn

Now that you know how to make USB devices accessible to arnWindows XP virtual machine via Remote Desktop Connection, there are a couple ofrnthings that you need to keep in mind. First, you will always have to launchrnyour Windows XP virtual machine from the Hyper-V Manager and the VirtualrnMachine Connection. And you also need to let it run for a few minutes beforernyou attempt to connect to it from Remote Desktop Connection. When you arernfinished using your Windows XP virtual machine for the time being, you willrnhave to Log off from the virtual machine, which will close the Remote DesktoprnConnection. Then you will have to return to the Virtual Machine Connectionrnwindow and then use the Turn off computer on the Windows XP screen

rnrn

Second, I’ve found that Terminal Server ports can be a bitrnquirky at times. If you discover that the printer is no longer printing, accessrnthe Printer Properties page, select the Ports tab, and choose a different TS00#rnport.

rnrn

What’s your take?

rnrn

Were you planning on setting up a Windows XP virtual machinernin Windows 8’s Client Hyper-V? Were you vexed by the lack of native USB supportrnin Hyper-V? Now that you know about the Remote Desktop Connection trick, willrnyou move forward with this solution? As always, if you have comments orrninformation to share about this topic, please take a moment to drop by the TechRepublic CommunityrnForums and let us hear from you.

  • Microsoft
  • Account Information

    Share with Your Friends

    Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine

    Your email has been sent

Share: Use the Remote Desktop Connection tool to connect to a networked Windows XP virtual machine
Image of greg shultz
By greg shultz
My first computer was a Kaypro 16 \"luggable\" running MS-DOS 2.11 which I obtained while studying computer science in 1986. After two years, I discovered that I had a knack for writing documentation and shifted my focus over to technical writing.
  • Account Information

    Contact greg shultz

    Your message has been sent

  • |
  • See all of greg's content

TechRepublic Premium

  • TechRepublic Premium

    Checklist: Network and systems security

    Cybersecurity demands and the stakes of failing to properly secure systems and networks are high. While every organization’s specific security needs form a unique and complex blend of interconnected requirements, numerous security fundamentals almost always apply to each of these groups. It stands to reason that cybersecurity pros who effectively identify network and systems risks ...

    Published:  June 1, 2023, 4:00 PM EDT Modified:  June 2, 2023, 7:48 AM EDT Read More See more TechRepublic Premium
  • TechRepublic Premium

    How to host multiple websites on Linux with Apache

    In this guide from TechRepublic Premium we’re going to explore the various things you can do with a Linux server. We won’t leave out any steps, so you won’t have to refer to another tutorial to complete the process. The only step we will leave out is the installation of Linux, as we’ll assume you ...

    Downloads
    Published:  May 31, 2023, 4:00 PM EDT Modified:  June 1, 2023, 7:45 AM EDT Read More See more TechRepublic Premium
  • TechRepublic Premium

    How to deploy an application with Kubernetes

    If you want to deploy applications into a Kubernetes cluster, be warned — it’s not the easiest task. There are a lot of moving pieces that go into these scalable containers. Don’t you wish you had a complete roadmap, from start to finish, to walk you through the process of deploying the Kubernetes cluster, deploying ...

    Downloads
    Published:  May 31, 2023, 4:00 PM EDT Modified:  June 1, 2023, 7:51 AM EDT Read More See more TechRepublic Premium
  • TechRepublic Premium

    Cross-training tool kit

    The more flexibility you can create in your technology workforce, the better you’ll be equipped to manage tomorrow, whatever the future brings. Too often, we focus on helping our teams become technical specialists who know volumes about a single technology, but quickly lose sight of how that technology connects with others. This makes their skills ...

    Downloads
    Published:  May 30, 2023, 4:00 PM EDT Modified:  May 31, 2023, 4:50 PM EDT Read More See more TechRepublic Premium

Services

  • About Us
  • Newsletters
  • RSS Feeds
  • Site Map
  • Site Help & Feedback
  • FAQ
  • Advertise
  • Do Not Sell My Information

Explore

  • Downloads
  • TechRepublic Forums
  • Meet the Team
  • TechRepublic Academy
  • TechRepublic Premium
  • Resource Library
  • Photos
  • Videos
  • TechRepublic
  • TechRepublic on Twitter
  • TechRepublic on Facebook
  • TechRepublic on LinkedIn
  • TechRepublic on Flipboard
© 2023 TechnologyAdvice. All rights reserved.
  • Privacy Policy
  • Terms of Use
  • Property of TechnologyAdvice