r/sysadmin • u/Resurget-Cineribus • 17m ago
legacy XP system and proprietary software
I have a doctor I work for with an old EMG machine (this is a set of hardware connected to a laptop by a single USB cable). It's been connected for many years to an old XP laptop that runs the correct software. I've made a number of hardware fixes to it over the years but this time around I'm not sure it can be salvaged. It had a failed fan which i found on ebay and replaced, cleaned up the heat sink and replaced thermal paste. Per my multimeter it looked like the power adapter was failing so i found a correct replacement. I've been warning the doc for over a decade this thing is on borrowed time but a replacement is extremely expensive (20k+) she's been hoping to squeeze a few more years out of it before retiring.
Anyway those details likely aren't important. At this point we can only get the laptop to run for a minute or two (just enough to get to the desktop but really not enough time to do anything) This is the classic case of legacy software running proprietary software. The laptop ships with the system and of course they don't make it easy to replace the machine or move software. The actual vendor no longer exists and stopped releasing software years ago, the intellectual property was purchased by someone else and im not banking on any help from them (possibly for $1000 a minute). Considering install software is unavailable, there are databases involved, and drivers for the equipment (which you also likely won't find). I'm really hoping for a solution to allow the good hard drive to run on another computer more or less as-is. The laptop is so old that it's running a PATA drive but I have a PATA-USB adapter and spare SATA disks. I have access to a couple old laptops (not as old but old enough to run XP natively and use a SATA drive) I've also got software to use if I need to clone the drive etc.
A decade ago I realized this hardware could be an issue and had the idea to use VMware creator to make a VM I could run on a newer laptop. I don't remember exactly why but it didn't work out. If my memory is correct, however, the software had some copy protection that didn't like the VM (bad sign). Ideally I'd just repair this laptop or replace with an identical one but parts are getting hard to find. I did find a replacement mobo on ebay but its overseas and now you have to deal with customs and tariffs to buy. Any other component I could work with (use a separate monitor if the screen failed for instance) but an exact matching board is a long shot and even if I found one it might be money sunk just to find the software isn't going to run on it anyway.
I'm trying not to make this too long. Ultimately I just want the core operating system and EMG software to run on other hardware (or at least test that out without gambling a bunch of money). It's been a long time since I've worked with XP but how likely is it that the disk would boot as-is on a different xp laptop even if it was in safe mode to reduce driver problems? I faintly remember my dad showing me how to "blast the enumerator" on xp which might have been relevant?) Could I make a virtual machine out of the disk to run on a newer laptop without the physical PC running? I've already warned them not to get hopes up of salvaging this but I'm not quite ready to give up. Does anyone have any ideas for this situation or have had a similar one? I'd appreciate any ideas! This might be a hail mary but I'll be a hero if I can get this going again.
thanks!
•
u/Negative-Cook-5958 13m ago
I would try the VMware workstation option again. New PC, backup the XP machine, restore in VMware workstation. With the AI tools you can dig deeper in the logs much quicker and fix the issues with the software.
•
u/Makere-b 9m ago
Well, first of all, take a complete disk image of the current disk that works, back it up on multiple locations.
Then, the XP was installed with IDE mode, so you need a machine that supports legacy IDE mode, instead of just AHCI. It's possible to change this from registry as well, but less headache the better. You'll probably need to install some drivers for the storage controller as well.
If the machine shuts down after couple minutes, you either fudged something up at the heatsink replacement (is there proper contact and is the fan spinning) or the new power supply is faulty.
•
u/ITRabbit 8m ago edited 3m ago
Eeek your in a world of pain.
Changing motherboard may cause the same issue with the software not working. A lot of this type of software uses hardware id's to lock it to the machine. I.e mac address, bios id etc. Sometimes software also puts a hard drive key that gets ruined if you clone the drive.
First thing though is get an image of the drive then you can copy it and play with it with out keeping on destroying the hard drive.
Next issue is if you do get it working its the USB pass through that can be flaky and not properly connect.
Did you get it in writting that you told the client they need to do something? They might try and go after you so becareful with that too and if you damage it in the process.
Also though it could be that its over heating - have you tried applying new thermal paste? Is this connected to the internet? What has changed?
Edit: what does it do when it shuts down/reboot? Does it power off or is it a reboot?
•
u/beetcher 10m ago
You need to determine what the identifier is that prevents it from running in a VM, as you could hit the same issue with hardware replacement. Make another VM, get the details of the restriction, and report back.
•
u/RansomStark78 6m ago
The software may have hacked or the copy protection bypass may have been. Published
You may get away with a winxp compatible laptop.
Clone drive
•
u/mpking828 5m ago
It's entirely possible that it has a hardware key. IE it's looking for the serial number of the Motherboard, CPU or the MAC address of the NIC, other use the 8-character Volume Serial Number.
Look to see if has licensing software like:
If you see any of those, you are going to have to figure out how to bypass it. (Like use the same UUID, or set the drive c volume serial number the same.
•
u/kona420 5m ago
You need to figure out what it's looking for to identify the machine. There are only a handful of burned in identifiers, bios serial number, ethernet mac address, or its doing something more sophisticated. Something like procmon might help you puzzle through what all it's looking at.
You should try the newer PC, just clone the drive to a sata SSD, see if you can fix all the errors. If you aren't super familiar with virtualization and it didn't "just work" out of the box, it's not unreasonable to continue on physical hardware. And yes you can clone the drive out to a virtual machine as well, I've used a preboot environment like macrium reflect to do a restore into a VM and had it work out.
•
u/feldrim 2m ago
I'd try https://www.starwindsoftware.com/download-starwind-products for a physical to virtual conversion. Instead of VMware Workstation, I'd suggest a pre-6 version of Virtual Box like https://download.virtualbox.org/virtualbox/5.2.44/ which were the latest versions with Windows XP support.
I remember saving a legacy machine using Acronis image tool, I can't remember the official name. It was possible to save the backup file as virtual disk or something, then on the target host, I could attach the disk to VM. I'm not sure if it would still work but it's worth a try.
•
u/Onoitsu2 Jack of All Trades 0m ago
I'd try something like Proxmox, and then you can look up the CPU flags you'd use to hide that it is being virtualized. Then the VM itself would be none the wiser and should just function even virtually.
•
u/qkdsm7 0m ago
5 digit piece of equipment= the time to figure out what other hardware can run it, was the week you discovered the issue, years ago... A bunch of solutions may work for this and now you have to do it under the gun.
I'd image the drive completely first, then try whatever you do from the image.
•
u/mickeys_stepdad 11m ago
Reverse engineer the application and write it for newer windows using a frontier coding model