The Enterprise Cloud

Disabling automatic drive letter assignment in Windows Server

Takeaway: Advanced storage configurations in Windows may require you to disable the automatic drive enumeration. IT guru Rick Vanover outlines this advanced configuration area of Windows storage.

For certain situations, it may be necessary to tell Windows not to automatically mount new storage that become visible to the server. This is most frequently used in systems where Microsoft Clustering Services (MSCS) are used, certain virtualization technologies such as VMware Consolidated Backup, or moving a disk from one operating system to another on a shared storage environment.

In the first scenario, MSCS accommodates for this by having Windows not do this by default. The issue is that only Enterprise and Datacenter editions of Windows offer MSCS. While you can’t run MSCS on Standard editions of Windows Server (2003 and 2008), you can enable this auto enumeration of the volumes as they arrive. For Enterprise or Datacenter editions, you can enable this feature by a reverse set of commands from the example.

To do this, you’ll need to use the Windows diskpart command to disable automatic drive enumeration on a Windows Standard edition installation with the following commands:

diskpart
automount disable
automount scrub
exit

At this point, the system will automatically mount the drives as they are discovered on the server. This sequence of commands is shown in Figure A.

Figure A

Click the image to enlarge.

This is not a huge change to the storage subsystem, but it is a variant from the default configuration of Windows Server. You should only do this on an as-needed basis and before any shared storage or local storage is attached that isn’t backed up yet.

Stay on top of the latest Windows Server 2003 and Windows Server 2008 tips and tricks with our free Windows Server newsletter, delivered each Wednesday. Automatically sign up today!

Get IT Tips, news, and reviews delivered directly to your inbox by subscribing to TechRepublic’s free newsletters.

Rick Vanover

Rick Vanover
Rick Vanover (MCITP, MCSA, VCP, vExpert) is an IT Infrastructure Manager for a financial services organization in Columbus, Ohio. Rick has years of IT experience and focuses on virtualization, Windows-based server administration, and system hardware.

Rick Vanover

Rick Vanover
I have engaged in commercial (paid and non-paid) content (blogs, articles, print materials, speaking engagements, podcasts, webcasts, judging events, etc.) for the following organizations: 1105 Media, CBS Interactive,TechTarget, United Business Media, Internet.com, c/o QuinStreet, Inc., Tabor Communications, Inc.
4
Comments

Join the conversation!

Follow via:
RSS
Email Alert