sorry to crosspost this, but i really need a solution and there has GOT
to be one!!
i am currently developing an application to ease deployment of windows nt
based distros and have run into a peculiar issue with diskpart.
SOMETIMES IT JUST WON'T START! this is not something that happens in a
testbed system with no hard drive or anything, it happens on pretty much
any system. i find it is more likely to happen when starting/stopping
diskpart.exe several times in sucession, but this is not a prerequisite
for the error.
the error i am experiencing is as follows:
---------------------------------------------------------------
|Microsoft DiskPart version 5.1.3565 |
| |
|Copyright (C) 1999-2003 Microsoft Corporation. |
|On computer: VOLTAIC |
| |
|The disk management services could not complete the operation. |
---------------------------------------------------------------
and theres your USDA daily requirement of ASCII art (hopefully the tabs
and whatnot translated correctly into spaces, i was worried about wearing
out my space key so i used tabs

)
anyway, you SHOULD be able to reproduce this by putting the following
into a batch file:
:bof
echo exit|diskpart.exe
goto :bof
it seems that if i wait for like a second before creating the next
instance of diskpart.exe it does not occur, but being a programmer myself
i must say that it's sloppy programming that diskpart requires a "break"
between runs.
which brings me (finally) to my question.... is there a fix??
any help is appreciated!
Thanks!
Voltaic