Jump to content

Recommended Posts

Posted

Hello I am look for script that will format all disk in winpe use diskpart

The main Issue I have with my current disk partion script if the disk number is wrong It does,nt end up assign disk letter to it I can,nt procide with the Copy file to install software

Some Time Disk is listed as disk 0 other disk 1 also volume names


Posted

If you use vbscript or powershell, you can use the Win32_LogicalDisk class to determine which disks are fixed local disks (hard disks), and then use diskpart to clean/create/set partitions and format them.

Posted
my current disk partion script
My suggestion would be that you provide that script in order that we have the opportunity to fix, adjust accordingly or rewrite it.
Posted

Hello I am look for script that will format all disk in winpe use diskpart

The main Issue I have with my current disk partion script if the disk number is wrong It does,nt end up assign disk letter to it I can,nt procide with the Copy file to install software

Some Time Disk is listed as disk 0 other disk 1 also volume names

at the moment am just use disk part

SEL DIS 0

CLEAN

CRE PAR PRI

ACT

SEL PART 1

format FS=NTFS QUICK

sel volume 0

assign

sel volume 1

assign

EXIT

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...