Solved

VM Ware on W7 X32 with W95 VM loses VM Parallel port / Application Dongle

Posted on 2015-01-28
4
194 Views
Last Modified: 2015-02-03
Hi there, I have a customer with a legacy application that's running on a old/failing box. The os is like a kind of windows 95 dos shell OS and uses a Parallel Dongle as a hardware lock. I have managed to make a Virtual machine and run it a new  Windows 7 x32 box with a PCIe Parallel port card.

It runs fine for a month or two then suddenly the w95 app cannot find the Parallel LTP1 dongle and will not start.

The LPT1 Parallel is still on the host, so If I go into the host device manager, into the properties, into the port settings and change the interrupt settings (doesn't matter which I choose), then click OK I hear the "ding ding" (the same as if you had just plugged in a USB device) then the Virtual Machine works fine until the host is next powered off.

With all that said, I wonder if there is a way to write a small batch file (or something) to make the interrupt change as mentioned above automatically each time the computer is started or as a task when the virtual machine is run.

Really appreciate any useful advice.
0
Comment
Question by:MXDEWD
  • 3
4 Comments
 
LVL 1

Author Comment

by:MXDEWD
ID: 40576649
FYI - I found this post that explains my problem exactly (with no clear solution).

http://www.44342.com/Visual-Studio--Net-f969-t6281-p1.htm
0
 
LVL 43

Assisted Solution

by:Davis McCarn
Davis McCarn earned 500 total points
ID: 40577497
Your problem is that PCI parallel ports hate to be assigned a port and interrupt while the antique software looks at 378, irq7 and 278, irq5 for the dongle, failing if they are not found.
The workaround (hopefully) is to share the port on the host with a short name then create a BAT file with NET USE LPT1: \\hostname\sharename /persistent:yes<enter>.  As a note, this is the old, tried and true method for getting an MSDOS app to print to a Windoze printer.  You may have to setup a generic/ text only printer on the port for the redirect to work properly.
0
 
LVL 1

Accepted Solution

by:
MXDEWD earned 0 total points
ID: 40578185
Hi Davis, thanks for your explanation, it helps to understand what the problem is. I ended up burning the midnight oil on this last night and cobbled together a solution that works well.

Through manual trail and error, I worked out that by disabling then enabling the LPT1 adaptor in the Device manager after a reboot, the VM worked and could see the parallel Dongle. So, using a command line utility from MS, I was able to set a task to run on startup that does the disable and enable in the background. I'm going to keep testing for a few days but it looks stable.
0
 
LVL 1

Author Closing Comment

by:MXDEWD
ID: 40585846
I worked out the fix for my self prior to anyone posting  solution. That said, the insight provided by Davis helped with the Big picture.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now