Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2015-01-28
4
Medium Priority
?
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 44

Assisted Solution

by:Davis McCarn
Davis McCarn earned 2000 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

636 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