A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

dismount based on GUID ???



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old January 4th 19, 05:41 PM posted to alt.comp.os.windows-10
T
external usenet poster
 
Posts: 4,600
Default dismount based on GUID ???

Hi All,

mountvol will dismount (hide) a drive based on its drive
letter. Anyone know of a way to dismount based on GUID?
(I have a scenario where I need to dismount a drive from
the command line but have no idea what its letter is.)


Many thanks,
-T
Ads
  #2  
Old January 4th 19, 11:05 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default dismount based on GUID ???

T wrote:
Hi All,

mountvol will dismount (hide) a drive based on its drive
letter. Anyone know of a way to dismount based on GUID?
(I have a scenario where I need to dismount a drive from
the command line but have no idea what its letter is.)


Many thanks,
-T


"offline" in Disk Management (dismounts the whole HDD) ?

diskpart has "detail partition" and "detail volume"
for info gathering.

fsutil provides a different level of data.

wmi has some commands for disks.

I don't know of any "miracle" commands you can script
around though. It's pretty hard to write a "blind"
script that can handle every possible contingency.

Paul
  #3  
Old January 5th 19, 01:28 AM posted to alt.comp.os.windows-10
T
external usenet poster
 
Posts: 4,600
Default dismount based on GUID ???

On 1/4/19 3:05 PM, Paul wrote:
T wrote:
Hi All,

mountvol will dismount (hide) a drive based on its drive
letter.Â* Anyone know of a way to dismount based on GUID?
(I have a scenario where I need to dismount a drive from
the command line but have no idea what its letter is.)


Many thanks,
-T


"offline" in Disk Management (dismounts the whole HDD) ?

diskpart has "detail partition" and "detail volume"
for info gathering.

fsutil provides a different level of data.

wmi has some commands for disks.

I don't know of any "miracle" commands you can script
around though. It's pretty hard to write a "blind"
script that can handle every possible contingency.

Â*Â* Paul


I am spoiled by Linux in this respect. This kind of data
is readily available in /dev/disk. I can find anything
I want about a drive.

$ ls -al /dev/disk/
total 0
drwxr-xr-x. 8 root root 160 Jan 4 15:22 .
drwxr-xr-x. 20 root root 4400 Jan 4 15:22 ..
drwxr-xr-x. 2 root root 460 Jan 4 15:22 by-id
drwxr-xr-x. 2 root root 60 Jan 4 15:22 by-label
drwxr-xr-x. 2 root root 60 Jan 4 09:05 by-partlabel
drwxr-xr-x. 2 root root 140 Jan 4 10:46 by-partuuid
drwxr-xr-x. 2 root root 200 Jan 4 10:46 by-path
drwxr-xr-x. 2 root root 200 Jan 4 15:22 by-uuid


:'(


 




Thread Tools
Display Modes 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






All times are GMT +1. The time now is 02:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.