hettybembler Posted May 25, 2006 Share Posted May 25, 2006 I really hate to bug people but has anyone run against a problem with WinPE 2005 where diskpart with the message "The Disk Management Service Could Not Complete The Operation."Specifically, I am using the following text file when I run diskpart:Select disk 0cleanCreate partition primaryActiveAssign Letter CWhen I run diskpart from the command line I get the same error. i have seen some discussion about similar problems but I am *not* running a RIS server or anything like it- just running winpe off of a cd to do a network unattended installation. Has anyone gotten the diskpart hotfix from Microsoft that supposedly fixes this issue with RIS servers? Do you think it might help?Thanks. Link to comment Share on other sites More sharing options...
campbrs Posted May 25, 2006 Share Posted May 25, 2006 (edited) Try the below config:select disk 0cleancreate partition primary noerrassign letter=c noerractiveexitYou will need the "=" when you assign the letter Edited May 25, 2006 by campbrs Link to comment Share on other sites More sharing options...
hettybembler Posted May 25, 2006 Author Share Posted May 25, 2006 No difference, thanks though. Link to comment Share on other sites More sharing options...
staples Posted May 25, 2006 Share Posted May 25, 2006 If it helps, I have been seeing the same issue just not constantly. Reboot and try again and it works or clean the mbr and try again and it works. I have been trying to troubleshoot with the debuglog set (from document http://technet2.microsoft.com/WindowsServe...118c6b1033.mspx ) but it has not had the error. Link to comment Share on other sites More sharing options...
campbrs Posted May 25, 2006 Share Posted May 25, 2006 Have you verified that disk 0 is the first disk in the system. Sometimes new remote access cards can grab disk 0 (and this will not show up in diskpart) - so you end up having to grab disk 1 not disk 0.Just a thought.Which line generates the error?Have you broken it out one by one? Link to comment Share on other sites More sharing options...
hettybembler Posted May 25, 2006 Author Share Posted May 25, 2006 Ok, from what i can gather it is just not working at all. I ran it up against each line and by itself and it just does not start up no matter what. Just a note- I have started the dmadmin service. I am also definitely working form disk 0. Actually I'm doing this with Virtual PC but on the pcs I've tested it on I get the same failure. Link to comment Share on other sites More sharing options...
Jazkal Posted May 26, 2006 Share Posted May 26, 2006 (edited) can you give use the output to these commands run manually:diskpartlist diskAnd one question: Is your WinPE image built with the PNP switch? Edited May 26, 2006 by Jazkal Link to comment Share on other sites More sharing options...
wrecklesswun Posted May 31, 2006 Share Posted May 31, 2006 the issue resides with sp2 of winxp...if the rpcss service is not installed diskpart will never work. Link to comment Share on other sites More sharing options...
AlbinoRaven Posted June 24, 2006 Share Posted June 24, 2006 YOu don't have to assign letter C for the first drive. If you force a format it will do that for you automatically and in theory copy your files to the drive afterwards.I really hate to bug people but has anyone run against a problem with WinPE 2005 where diskpart with the message "The Disk Management Service Could Not Complete The Operation."Specifically, I am using the following text file when I run diskpart:Select disk 0cleanCreate partition primaryActiveAssign Letter CWhen I run diskpart from the command line I get the same error. i have seen some discussion about similar problems but I am *not* running a RIS server or anything like it- just running winpe off of a cd to do a network unattended installation. Has anyone gotten the diskpart hotfix from Microsoft that supposedly fixes this issue with RIS servers? Do you think it might help?Thanks. Link to comment Share on other sites More sharing options...
techquiet Posted July 4, 2006 Share Posted July 4, 2006 (edited) Hi hettybembler,Select disk 0cleanCreate partition primary size=10240Select Partition 1ActiveFormat FS=NTFS Label=OSBOOT QuickCreate partition PrimarySelect partition 2Format FS=NTFS Label=Data QuickThis should create two partitions with C drive size set to 10GBand the rest would be Drive DYou can store this in a file and pass it to disk partDiskpart /s <File Name>Hope this helps.Warm regardsGomat.G.B. Edited July 4, 2006 by techquiet Link to comment Share on other sites More sharing options...
yzou Posted July 21, 2006 Share Posted July 21, 2006 We had trouble with diskpart too but not exactly the same. We failed to use diskpart to create non-MS partition type, i.e., passing id= s.th that is not fat nor ntfs. However, it finally worked by adding some wait. For example, call "sleep 5" in your bat file before you issuing the next command to diskpart.hope this helps Link to comment Share on other sites More sharing options...
twalk482 Posted August 8, 2006 Share Posted August 8, 2006 If you haven't already found a solution, mine was to start the DMADMIN service first.NET START DMADMINDISKPART /S:%DISKPART% Link to comment Share on other sites More sharing options...
JuMz Posted August 9, 2006 Share Posted August 9, 2006 If you are in WinPE, why not use the winbom.ini to create the partitions? (using the disk.config heading...read the winpe.chm) 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