Virtual PC 2004 SP1 And LPT Ports
Tuesday, 07 March 2006 by Michel Roth
A heads-up from the Virtual PC Guy's WebLog:

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.

Read more here.

Related Items:

How to Print from Non-Windows-Based Applications Using The Net Use Statement with LPT Ports (24 June 2005)
Botnets And VMware (19 July 2006)
Scripting Automatic Startup For Virtual Machines Under Virtual Server (17 March 2006)
Virtual PC Security Options (23 May 2006)
Performance Optimization For VMs (20 September 2006)
New Features In Future Versions Virtual Server (Not R2) (29 August 2005)
Running Virtual PC under February CTP of Vista (1 March 2006)
ThinPrint Virtualizes Printers (1 December 2006)
Microsoft Will Start Virtual PC 2007 Public Beta Program In October (29 September 2006)
Optimizing Windows Vista Under Virtual PC (21 March 2006)
Comments (0)add feed
password
 

busy