Silverman Posted February 1, 2008 Posted February 1, 2008 Deleting hard drive partitions, anyway to do this via a .vbs or .bat file ? All of our staff laptops are HP and come with a built in 'recovery' boot option which is activated by perssing f11 at startup. Lots of our teachers seem to enjoy pressing this button when they are in a panic which isnt too fun for us. So i'm trying to make a script to delete the partitions so that i can add it to start up script. Thanks.
SYNACK Posted February 1, 2008 Posted February 1, 2008 (edited) You could script diskpart.exe via a batch file to do this [ reference ]. There is probably a way to do this via WMI to. Dangerous script to have floating around on the network though Edited February 1, 2008 by SYNACK more information
Silverman Posted February 1, 2008 Author Posted February 1, 2008 Yeah diskpart is the same method i am looking at at the moment, just having trouble putting it into a .bat file...
OutToLunch Posted February 4, 2008 Posted February 4, 2008 For the sake of convenience, it seems a little risky having that at startup on the offchance that it fires off on a random laptop which has a valid D: partition for other reasons and *BLAM* data goes off to the great bit graveyard in the sky. Wouldn't it be easier/safer to take an afternoon to manually zap them then zap all new ones on arrival?
karena Posted April 9, 2008 Posted April 9, 2008 Does anyone have a sample script for how to detect which systems have the f11 partition?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now