Home
So how do I know what drive letters apply to what disks in Server Core? Print E-mail
So how do I know what drive letters apply to what disks in Server Core? The “My Computer” or, “Computer”, as it’s now called Window provides some useful information that isn’t immediately available to someone faced with a command Window, i.e. a Windows Server 2008 Server Core user.

When faced with that lovely C:\Documents\paulw-a> prompt, how does one go about ascertaining the drive letter of the DVDROM drive, the USB stick and the USB HDD that are plugged into the server without simply guessing and randomly typing d: e: l: etc.?

The answer isn’t as obvious as it could be, but it is pretty trivial with the DISKPART “shell”: LIST VOLUME is the command, here’s me running this against my laptop to illustrate its use (no cut and paste in Hyper-V so Windows Vista SP1 DISKPART will have to do!).

C:\Users\paulw-a\tmpdev\lang\cmd>diskpart

Microsoft DiskPart version 6.0.6001
Copyright (C) 1999-2007 Microsoft Corporation.
On computer: x64vistasp1-01

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D LIONS_FOR_L UDF DVD-ROM 5166 MB Healthy
Volume 1 X DVD-ROM 0 B No Media
Volume 2 C OS NTFS Partition 93 GB Healthy System
Volume 3 U 4GBSD NTFS Removable 3896 MB Healthy
Volume 4 T FC160GBUSB2 NTFS Partition 149 GB Healthy

DISKPART> exit

Leaving DiskPart...

Better than nothing right?




Del.icio.us!Technorati!StumbleUpon!Furl!
 
< Prev   Next >