Jump to content

Diskpart


ner

Recommended Posts

Hi all, I am trying to run diskpart within Winpe 3.o and have a cmd alling diskpart /file

i have create a txt file and i want the diskpart to clean the hard drive of both partitions but the command only cleans the first partition and skips teh second. here is my txt file command, any suggestions pelase???

SELECT DISK 0

CLEAN

CREATE PARTITION PRIMARY

ACTIVE

ASSIGN LETTER=C

FORMAT FS=NTFS LABEL="System" QUICK

EXIT

Link to comment
Share on other sites


This script should get rid of both partitions. However I have seen diskpart act up before. Can you post the results of the following commands PRIOR to running the clean?

list disk

list vol

sel disk 0

detail disk

list part

Oh also, if you run clean again does the second partition go away then? Also, lastly, if you use diskpart manually can you reproduce the same results?

Moving to WinPE forum.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...