|
| |||||||||
| Tags: letter, volume |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Change the Drive Letter of a Volume
Hello all: We have the following situation. We have prepared Windows XP SP2 computer for cloning, changed CD-ROM drive letter from D: to E:, and used “subst” command to map D: drive to folder on drive C: (for our legacy application). After cloning, D: drive letter was mapped back to CD-ROM. How could I change CD-ROM drive letter from command prompt or script? I have found “Change the Drive Letter of a Volume” script on Windpws script center, but it appears that it work only on Windows 2003 (http://www.microsoft.com/technet/scr...stdvvb05.mspx). Have you any idea? Thank you in advance |
|
#2
| |||
| |||
| Re: Change the Drive Letter of a Volume
Aleksandrs wrote: > Hello all: > > We have the following situation. We have prepared Windows XP SP2 computer > for cloning, changed CD-ROM drive letter from D: to E:, and used “subst” > command to map D: drive to folder on drive C: (for our legacy application). > After cloning, D: drive letter was mapped back to CD-ROM. How could I change > CD-ROM drive letter from command prompt or script? I have found “Change the > Drive Letter of a Volume” script on Windpws script center, but it appears > that it work only on Windows 2003 > (http://www.microsoft.com/technet/scr...stdvvb05.mspx). Have you any idea? > > Thank you in advance > Hi, Changing of the drive letter can be done by manipulating the values under HKLM\SYSTEM\MountedDevices MS KB article KB223188 http://support.microsoft.com?kbid=223188 details the registry changes required to change a drive letter. Though the article directly refers to the boot & system drive letters, the information applies to other drives as well (fixed disk and CD-ROM). WMI\VBScript solution: http://groups.google.co.uk/group/mic...4?dmode=source Note that changing boot & system drive letters will usually give you a non-bootable system unless the criterias in the knowledge base article 223188 are met... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scr...r/default.mspx |
|
#3
| |||
| |||
| Re: Change the Drive Letter of a Volume
Thank you very much! "Torgeir Bakken (MVP)" wrote: > Aleksandrs wrote: > > > Hello all: > > > > We have the following situation. We have prepared Windows XP SP2 computer > > for cloning, changed CD-ROM drive letter from D: to E:, and used “subst†> > command to map D: drive to folder on drive C: (for our legacy application). > > After cloning, D: drive letter was mapped back to CD-ROM. How could I change > > CD-ROM drive letter from command prompt or script? I have found “Change the > > Drive Letter of a Volume†script on Windpws script center, but it appears > > that it work only on Windows 2003 > > (http://www.microsoft.com/technet/scr...stdvvb05.mspx). Have you any idea? > > > > Thank you in advance > > > Hi, > > Changing of the drive letter can be done by manipulating the values under > HKLM\SYSTEM\MountedDevices > > MS KB article KB223188 http://support.microsoft.com?kbid=223188 > details the registry changes required to change a drive letter. Though the > article directly refers to the boot & system drive letters, the information > applies to other drives as well (fixed disk and CD-ROM). > > > WMI\VBScript solution: > http://groups.google.co.uk/group/mic...4?dmode=source > > > Note that changing boot & system drive letters will usually give you > a non-bootable system unless the criterias in the knowledge base > article 223188 are met... > > > > -- > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway > Administration scripting examples and an ONLINE version of > the 1328 page Scripting Guide: > http://www.microsoft.com/technet/scr...r/default.mspx > |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Change the Drive Letter of a Volume" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change disk drive letter? | feeny | Vista Hardware Devices | 7 | 02-08-2009 02:47 PM |
| Change drive letter for system drive | bob | Windows XP Support | 6 | 12-06-2009 03:17 AM |
| change drive letter | _CragTheCode | Vista Help | 9 | 20-12-2008 12:23 PM |
| Change hard drive letter | Sam | XP Hardware | 5 | 06-12-2008 03:19 AM |
| Change drive letter? | jim | Windows XP Support | 5 | 11-02-2008 05:52 AM |