PC Review Forums Newsgroups Windows 2000 Microsoft Windows 2000 CMD Promt dismount-lock non-boot volume from cmd line?

Reply

dismount-lock non-boot volume from cmd line?

 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average.
Old 29-07-2003, 11:58 AM   #1
JClark
Guest
 
Posts: n/a
Default dismount-lock non-boot volume from cmd line?


Hello Group:
There are times when I can't do operations on a non-boot hard drive
because of open handles. If I run chkdsk on command line by changing
to that drive then using chkdsk command, then chkdsk offers to
dismount the drive and will do so. Problem is I have to wait until
chkdsk completes to get my drive dismounted or locked.
(I know you can use /x switch with chkdsk, but that doesn't save much
time.)
Is there any command I can use from the command line to dismount or
lock a non-boot hard drive without having to run chkdsk and wait for
it to complete? I figured if chkdsk can do it, maybe I can too.
I can't find anything on the MS support site or in the Reskit which
seems to apply ...(looked up "lock", "dismount", "volume").
Any advice greatly appreciated.
(This msg was posted to windows.2000.general without reply. Perhaps I
should have posted it here. Apologies if this isn't correct policy.)

Jack
  Reply With Quote
Old 29-07-2003, 08:00 PM   #2
Mark Zbikowski \(MSFT\)
Guest
 
Posts: n/a
Default Re: dismount-lock non-boot volume from cmd line?

For XP and Windows 2003 server, the fsutil command will work
for you.

You'
--
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.

ll have to write your own tool for Windows 2000.



For Windows 2000, you
"JClark" <johnmc1937REMOVE@hotmail.com> wrote in message
news:7mhcivsa6v4n21hilsctgp8nsabvjabt53@4ax.com...
> Hello Group:
> There are times when I can't do operations on a non-boot hard drive
> because of open handles. If I run chkdsk on command line by changing
> to that drive then using chkdsk command, then chkdsk offers to
> dismount the drive and will do so. Problem is I have to wait until
> chkdsk completes to get my drive dismounted or locked.
> (I know you can use /x switch with chkdsk, but that doesn't save much
> time.)
> Is there any command I can use from the command line to dismount or
> lock a non-boot hard drive without having to run chkdsk and wait for
> it to complete? I figured if chkdsk can do it, maybe I can too.
> I can't find anything on the MS support site or in the Reskit which
> seems to apply ...(looked up "lock", "dismount", "volume").
> Any advice greatly appreciated.
> (This msg was posted to windows.2000.general without reply. Perhaps I
> should have posted it here. Apologies if this isn't correct policy.)
>
> Jack



  Reply With Quote
Old 30-07-2003, 01:30 AM   #3
JClark
Guest
 
Posts: n/a
Default Re: dismount-lock non-boot volume from cmd line?

On Tue, 29 Jul 2003 11:00:26 -0700, "Mark Zbikowski \(MSFT\)"
<MarkZ@online.microsoft.com> wrote:

>For XP and Windows 2003 server, the fsutil command will work
>for you.
>
>You'

Thanks, Mark. I'll try to educate myself about this.

Jack
  Reply With Quote
Old 19-10-2009, 03:19 AM   #4
Jardak22
New Member
 
Join Date: Oct 2009
Posts: 1
Trader Rating: (0)
Default

It works it just says; Error: Access Denied.

Quote:
Originally Posted by Mark Zbikowski \(MSFT\)
For XP and Windows 2003 server, the fsutil command will work
for you.

You'
--
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.

ll have to write your own tool for Windows 2000.



For Windows 2000, you
"JClark" wrote in message
news:7mhcivsa6v4n21hilsctgp8nsabvjabt53@4ax.com...
> Hello Group:
> There are times when I can't do operations on a non-boot hard drive
> because of open handles. If I run chkdsk on command line by changing
> to that drive then using chkdsk command, then chkdsk offers to
> dismount the drive and will do so. Problem is I have to wait until
> chkdsk completes to get my drive dismounted or locked.
> (I know you can use /x switch with chkdsk, but that doesn't save much
> time.)
> Is there any command I can use from the command line to dismount or
> lock a non-boot hard drive without having to run chkdsk and wait for
> it to complete? I figured if chkdsk can do it, maybe I can too.
> I can't find anything on the MS support site or in the Reskit which
> seems to apply ...(looked up "lock", "dismount", "volume").
> Any advice greatly appreciated.
> (This msg was posted to windows.2000.general without reply. Perhaps I
> should have posted it here. Apologies if this isn't correct policy.)
>
> Jack
Jardak22 is offline   Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off