<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using DISKPART to Improve Deployment Efficiency</title><link>http://blogs.msdn.com/embedded/archive/2005/12/23/506404.aspx</link><description>DISKPART is a small, scriptable command-line utility that ships with Windows XP Professional, which allows you to create, convert and delete disk partitions and software RAID arrays. It mirrors some of the functions available in the Disk Management MMC</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Using DISKPART to Improve Deployment Efficiency</title><link>http://blogs.msdn.com/embedded/archive/2005/12/23/506404.aspx#513784</link><pubDate>Tue, 17 Jan 2006 18:23:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:513784</guid><dc:creator>Jonathan Somers</dc:creator><description>Matt - Are you certain the syntax of this script is correct?  On diskpart 5.1.3565, &amp;quot;create partition&amp;quot; requires an additional argument (I believe you would want &amp;quot;create partition primary&amp;quot;) and &amp;quot;primary&amp;quot; is not a valid command at all.&lt;br&gt;&lt;br&gt;I think you also want to ensure that a drive letter gets assigned to the volume after the partition is created, so that it can be formatted after diskpart completes - perhaps using something akin to:&lt;br&gt;&lt;br&gt;select volume 1&lt;br&gt;assign &lt;br&gt;&lt;br&gt;If your example is working for you as posted, are you using a different version of diskpart?&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;Jonathan</description></item></channel></rss>