Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 10672

Changing Boot Partition via Windows

$
0
0
Hello,

I am have a back-up server running Windows Server 2008 R2. This server has 8 partitions, 7 that are exactly the same than the others servers and one that will look for the servers and if one of them are down, it should change the boot partition to the one corresponding to the server down, and reboot on that partition, so it can take place of the lacking server.

I am trying to do this using a VBS Script, using the Diskpart application, for example:

Diskpart > list disk > select disk n > select partition m > active

And then reboot the computer.

Will this work? Will it change to boot the system I need?

Another problem is that I am new to this language, does anyone have any suggestion? The checking if the server is online part is alredy done, I am strugling in calling diskpart and making it accepts those commands.

Thanks!

Viewing all articles
Browse latest Browse all 10672

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>