Jump to content

Recommended Posts

Posted

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


Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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