Automatically Boot Diskpart In WinPE

Microsoft Windows server 2008 r2 enterpr...
March 21, 2014 at 03:04:20
Specs: WinPE, ANY
Good Morning,
I am looking for help to automatically boot diskpart from a winpe cd/dvd; and run the following commands:
list disk
select disk 0
create partition primary
format fs=ntfs quick
assign letter=c
So effectively, I have a boot disk that automatically starts and cleans and formats HDD’s on boot. Does anyone know how to do this?
Your help is greatly appreciated.
Kind Regards
Tor Fey

message edited by Tor_Fey

See More: Automatically Boot Diskpart In WinPE

Report •

July 7, 2014 at 02:16:53
What do you mean? You want to format and erase everything in your hard drive of your laptop (or desktop)? I think you will need the iso of Windows Installer. After selecting your language click Repair Your PC (I'm not sure with the exact words) instead of install now. Select Troubleshoot then command prompt. There you go. Continue with the commands you mentioned above.

Report •

July 7, 2014 at 10:28:26
If you're just going for a drive wipe, go with DBAN. It's more comprehensive.

If you just want a fresh C: drive, read this:

How To Ask Questions The Smart Way

Report •

Related Solutions

Ask Question