Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all articles
Browse latest Browse all 11297

MDT 2012 - Diskpart problem

$
0
0

My company bought 150 brand new HP Compaq 6300 Pro SFF computers with preinstalled Windows 7 x64 SP1 and some apps. However there is only C partition which consumes whole hard disk space (around 450 GB). After logging to computer for the very first time I can shrink that partition to wanted size (150 GB) via Disk Management or via diskpart tool. But I want to automate partitioning process so I have decided to put commands to shrink C partition and create and format D partition in .txt file and call this .txt file with Run Command Line step: diskpart /s path to this .txt file in MDT Post OS Install TS. When I tried this in test shrink failed.

In Disk Management I saw that minimum space of C partition was around 225 GB, so I could not shrink it to 150 GB. In .txt first three lines are:

select disk 0

select volume 2

shrink desired=315205 (to get partition of 150 GB)  and it failed in this step!!!


Viewing all articles
Browse latest Browse all 11297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>