I'm just curious if there is a way to basically 'copy' a computer, all of the system settings, files, temporary files, programs EVERYTHING about a computer on a external hard drive so you can quickly reload it to another computer if it fails.
to give context, we use tons of computers to run our HMI's when one computer fails, we try to fix it, then if we cant repair we rebuild a new computer all together. Starting with reinstalling the programs, setting up all the windows settings, etc.. it takes a bit to do and not a big deal really, BUT was wondering if we could just bypass this all together by having something like an external hard drive that we could just plug into and install everything we need including the system settings.
so i guess my question is, is an external hard drive capable of this ^?
Yes....but
The issue is in a part of Windows as an example called the HAL, hardware abstraction layer. When you do a fresh install Windows starts in “preboot” mode. It determines the hardware configuration and sets everything up for only that PC. Linux does it too but it doesn’t actually remove the unused software. Windows also uses the hard drive volume id as a serial number for licensing. This can be changed.
Software imaging or backup software exists. Acronis is a popular one. It is aware of and fixes all these problems. There are advantages to setting up a fresh system but Acronis fixes hardware differences like hard drive sizes and volume IDs. I’d needed it cab reset the HAL. Better yet just load Linux and ban Windows to a VM...
You can also run your system in a light weight “simulation” of a computer. Virtualbox is one. The operating system may or may not even be aware. This is called virtualization. I have over a dozen copies of Windows with different versions stored on backup as well as on my work laptop. I can run old obsolete software, reboot windows in seconds, make backups (called a snapshot) in seconds while it runs. Then if I say do an upgrade and it doesn’t work I can just reboot on the backup again in seconds. IT departments can store “master” copies of say the “standard” office setup. On servers with the click of a mouse in under a minute I can move all the virtual servers from one physical server to another one for maintenance.
I can also spin up multiple systems limited only by memory and CPU cores, simultaneously.
Anyone doing PLC programming probably knows that getting PLC software to work together, even from the same vendor, is a nightmare. And often it’s years behind in terms of say supporting different Windows versions. With virtualization I just keep each software package in its own virtual machine with all the files stored on the host system (it looks like a network drive). That way I never have to deal with all that compatibility stuff.
This would seem slow. But there is hardware assist in Intel and AMD processors and we replace the video and hard drive software with special “virtual aware” versions. I can even copy and paste from one system to another seamlessly. We did performance testing back 15 years ago when I first tried this. The performance loss was under 1%.
The software is free. Look at Virtualbox. Acronis will convert PCs for you. If you like your computer you can keep it. And by the way it’s time to switch to a high performance and secure system like Ubuntu Linux. Then you can run your buggy virus loving operating system in safety.