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
To give LISTof Wirelss Networks,which Win32 cmd in cmd prompt is u =?Utf-8?B?U2V6aW4gRXJlbiAocy5lcmVuQHRldGFzLmNvbS50 Microsoft Dot NET Framework Forms 0 5th Jul 2007 01:26 PM
For Command - can I do IN clause: ('cmd 1 & cmd 2') ??? =?Utf-8?B?ZGlubw==?= Windows XP General 7 13th Sep 2006 04:10 AM
Keep Cmd Window ON TOP when using Shell Environ$("COMSPEC") cmd ?? kev100 via AccessMonster.com Microsoft Access Form Coding 5 1st Aug 2006 04:43 PM
Graphic equivilant to cmd line "route" cmd? rmhartman@gmail.com Microsoft Windows 2000 Networking 1 29th Mar 2006 03:04 PM
cmd.exe (16 bit) runs instead of cmd.exe(32 bit) =?Utf-8?B?R2VvS2xlbw==?= Windows XP Help 2 26th Jun 2004 02:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:40 AM.