Virtualization Technology News and Information
Article
RSS
Virtual PC 2004 SP1 and the LPT port
New information from Ben Armstrong's blog site:

With Virtual PC 2004 SP1 we made a change to the way we access the LPT (or parallel) port.  The reason for this is that we found a bug in Virtual PC 2004 which meant that we were not being guaranteed exclusive access to the LPT port for the virtual machine.  This meant that with Virtual PC 2004 it would be possible for the virtual machine to be talking to your printer - and for the host operating system to try and talk to the same printer at the same time.  Needless to say this is a big problem (which could lead to data loss, hardware problems, etc...).  So with Virtual PC 2004 SP1 we changed this behavior so that we actually are ensured of having exclusive access to the LPT port.

The problem is that by default Windows will grab control of the LPT port - if a printer is present - and it will not give up control.  There are - however - two ways that the user can make Windows give up control of the LPT port:

  1. Run 'net stop spooler' prior to launching the virtual machine.  Note that this will temporarily disable printing on the host operating system.  Once you are done with the virtual machine you can re-enable printing by running 'net start spooler'.

  2. Run 'sc config spooler start =disabled' and reboot your physical computer.  This will permanently disable printing on the host operating system and ensure that Virtual PC can always access the LPT port.



Check it out, here.

Published Wednesday, March 08, 2006 3:54 PM by David Marshall
Comments
There are no comments for this post.
To post a comment, you must be a registered user. Registration is free and easy! Sign up now!
Calendar
<March 2006>
SuMoTuWeThFrSa
2627281234
567891011
12131415161718
19202122232425
2627282930311
2345678