PC Review


Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average.

dismount-lock non-boot volume from cmd line?

 
 
JClark
Guest
Posts: n/a
 
      29th Jul 2003
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
 
 
 
 
Mark Zbikowski \(MSFT\)
Guest
Posts: n/a
 
      29th Jul 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
 
JClark
Guest
Posts: n/a
 
      30th Jul 2003
On Tue, 29 Jul 2003 11:00:26 -0700, "Mark Zbikowski \(MSFT\)"
<(E-Mail Removed)> 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
 
New Member
Join Date: Oct 2009
Posts: 1
 
      19th Oct 2009
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:(E-Mail Removed)...
> 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
 
 
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dismount stop USB flash drive using cmd line msnews.microsoft.com Windows XP General 4 10th Aug 2006 09:34 AM
Event Log on D: vs. chkdsk with dismount of volume D: No Never Windows XP Embedded 6 31st Jan 2006 04:02 PM
How to eject/dismount an external USB drive from command line? Thomas Stein Windows XP Hardware 1 2nd Aug 2005 12:08 AM
Can't dismount volume to run chkdsk Willie Nelson Microsoft Windows 2000 2 20th Feb 2004 02:39 PM
?command line dismount non-system HD JClark Microsoft Windows 2000 0 27th Jul 2003 09:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:23 AM.