Dismounting Volume and and Removing Drive Letter using Command Lin

G

Guest

Is there any way to in w2k to dismount a volume and/or remove it's drive
letter asignment directly from a command line?
******

During maintenance, when i need to dismount a volume, I run chkdsk [drive:]
/x to force a dismount. While this works, I have to wait while chkdsk does
it's thing... and that waiting adds up to quite a while after dismounting
numerous volumes...

Is there a more direct way to force w2k to dismount a volume?

Further, after the volume has been dismounted, is there any way I can remove
it's drive letter assignment directly from a command line, instead of disk
manager?

Thanks in advance,

Chris


******
Backgroun Info:

I have large data drives with numerous partitions, all junctioned... no
drive letters.
I also use Diskeeper Pro... which does not currently support junctioned
drives.

So... until that support is added (hopefully in next version) when I want to
do a defrag run, I temporally assign drive letters to all my junctioned
volumes, run the defrag... then remove the drive letter assignment.

Sometimes I can remove the assignment without restarting, but I usually need
first to force a dismount using chkdsk [drive:] /x.

A more direct command line method of dismounting a volume would help allot,
because I could lump all the volume dismounts into a simple batch file... and
save allot of time.

BTW- assigning/removing temporary drive letters using SUBST does not solve
the problem, as far as diskeeper is concerned.

*******

Again... Thanks in advance,

Chris
 
H

hal

Is there any way to in w2k to dismount a volume and/or remove it's drive
letter asignment directly from a command line?
******

During maintenance, when i need to dismount a volume, I run chkdsk [drive:]
/x to force a dismount. While this works, I have to wait while chkdsk does
it's thing... and that waiting adds up to quite a while after dismounting
numerous volumes...

Is there a more direct way to force w2k to dismount a volume?

Further, after the volume has been dismounted, is there any way I can remove
it's drive letter assignment directly from a command line, instead of disk
manager?

net use /delete

Hal
Thanks in advance,

Chris


******
Backgroun Info:

I have large data drives with numerous partitions, all junctioned... no
drive letters.
I also use Diskeeper Pro... which does not currently support junctioned
drives.

So... until that support is added (hopefully in next version) when I want to
do a defrag run, I temporally assign drive letters to all my junctioned
volumes, run the defrag... then remove the drive letter assignment.

Sometimes I can remove the assignment without restarting, but I usually need
first to force a dismount using chkdsk [drive:] /x.

A more direct command line method of dismounting a volume would help allot,
because I could lump all the volume dismounts into a simple batch file... and
save allot of time.

BTW- assigning/removing temporary drive letters using SUBST does not solve
the problem, as far as diskeeper is concerned.

*******

Again... Thanks in advance,

Chris
 

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