I'm trying to fine tune a way to keep my computer from failing beyond the point of no return. Here is my current idea.
Computer will keep an up to date and working copy of the OS on a seperate SATA hard drive. Personal data is on a seperate partition from the OS.
If a virus is detected the computer will switch the primary boot disk from HD 1 to HD 2 (the copy) and restart.
Once restarted the copy OS will format the original OS partition and copy itself onto the original partition.
Then the copy OS will switch primary boot disks back to normal and restart itself.
My question is, how could I write a program that would take the computer through the boot disk switching, restart, formatting, copying, boot disk switching and final restart?
Thanks for everyone's help in advance!
Edited by The weatherman, 28 September 2009 - 05:26 PM.
Moved from XP to a more appropriate forum. Tw