PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 CMD Promt
dismount-lock non-boot volume from cmd line?
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 CMD Promt
dismount-lock non-boot volume from cmd line?
![]() |
dismount-lock non-boot volume from cmd line? |
|
|
Thread Tools |
Rating:
|
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#4 | |
|
New Member
|
It works it just says; Error: Access Denied.
Quote:
|
|
|
|
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 


