diskpart not working

J

jfradley

I'm trying to reduce my OS size. So, I'm minlogin and I
took out a bunch of other stuff. The OS comes up fine in
Command Line shell. However, diskpart doesn't seem to work
anymore. Every time I type it in I get this error,

"The disk management services could not complete the
operation."

Any ideas?
 
S

Slobodan Brcin

It is working perfectly on my minlogon, so this is not a problem. You have
probably removed too many things.

Resolve manually: "Disk Management Command Line Utility" and "Disk
Management Services"

I don't know if this is required, but I have it in my build.
Disk Management Basic Volume Runtime
Disk Management Dynamic Volume Runtime


Regards,
Slobodan
 
G

Guest

Whatshell are you using?

I do have all those components you mentioned included. I
tried incremental builds from what didn't work to what did
work. Once I switched to windows login, explorer shell it
started working.

I'm still troubleshooting it just takes long to test and
rebuild, test and rebuild.
 
S

Slobodan Brcin

Custom shell, our application is the shell.
But I can access command prompt.

What is relation between explorer shell and diskpart? I thought that
diskpart is not working.

Regards,
Slobodan
 
J

jfradley

The relationship is, once I added explorer shell and
windows login diskpart starting working again. The
explorer shell requires windows login otherwise I would
have tried with minlogin.

I'm currently trying command shell with windows login.
We'll see how it goes.
 
K

KM

jfradley,

Do you have "PnP (User Mode)" and "Primitive: Clusapi" components in your
image?

KM

j> The relationship is, once I added explorer shell and windows login
j> diskpart starting working again. The explorer shell requires windows
j> login otherwise I would have tried with minlogin.

j> I'm currently trying command shell with windows login.
j> We'll see how it goes.
 
J

jfradley

I had Primitive: Clusapi but not Pnp (User Mode). I also
added Class Installer - Stream because it was giving me a
FBA , not able to find streamci.dll.

Thanks for the info. I'm trying it now.
 
J

jfradley

I added PnP (User Mode) and Class Installer - Stream and
now diskpart works. Thanks for the help.

For some reason auto-reolve didn't include all the needed
components when I was using minlogin w/ command line
shell. Target Designer included all the right compents if
I used Minlogin and Taskmanager shell, strange. Thanks
again.

Joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top