Glad that things worked out for you.
My opinion follows on your questions about continuing to run Windows 7 and whether to upgrade or not.
Windows 7 is unsupported and has not received any updates (including security updates) since 2020. That makes it very risky to run it if it's connected to any network. If it's absolutely necessary to run it. I would consider running a Windows 7 VM with its virtual network disconnected. If you need to run it on a network, you should keep it as isolated as you can and never configure it to connect to the Internet.
As far as upgrading that virtual machine, there are many things to consider:
- Whether your software will run on Windows 11
- How to upgrade Windows 7 to Windows 11. Windows 7 is likely installed on a disk with MBR ("MS DOS partitioning style") formatting and BIOS firmware, and Windows 11 needs a GPT formatted disk and UEFI firmware.
- Windows 11 has additional hardware requirements such as a 64GB minimum disk size, 4GB RAM, Secure Boot and a Trusted Platform Module device. All of these are available from Workstation for VMs, but you'll have to figure out how and when during the upgrade process to enable them.
All of these will take research to see how viable the upgrade process will be. If your software runs under Windows 11, the easiest thing to do may be to build a brand new VM with Windows 11, install your software (it's possible that there's a newer version that runs on Windows 11), and move any data files for your application from the old VM to the new one.
If your software won't run on Windows 11, it may be time to consider replacing it.