andyasselin Posted May 24, 2010 Share Posted May 24, 2010 Hello I am look for script that will format all disk in winpe use diskpartThe 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 softwareSome Time Disk is listed as disk 0 other disk 1 also volume names Link to comment Share on other sites More sharing options...
cluberti Posted May 24, 2010 Share Posted May 24, 2010 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. Link to comment Share on other sites More sharing options...
Yzöwl Posted May 24, 2010 Share Posted May 24, 2010 my current disk partion scriptMy suggestion would be that you provide that script in order that we have the opportunity to fix, adjust accordingly or rewrite it. Link to comment Share on other sites More sharing options...
cluberti Posted May 24, 2010 Share Posted May 24, 2010 Agreed - OP, if you want scripting help, please post the script you want help with. Link to comment Share on other sites More sharing options...
andyasselin Posted May 25, 2010 Author Share Posted May 25, 2010 Hello I am look for script that will format all disk in winpe use diskpartThe 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 softwareSome Time Disk is listed as disk 0 other disk 1 also volume namesat 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 Link to comment Share on other sites More sharing options...
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