+1.
Mine goes to "R:" -sc From: Andrew S. Baker [mailto:asbz...@gmail.com] Sent: Thursday, March 18, 2010 6:48 AM To: NT System Admin Issues Subject: Re: CMD line way to change CD Rom drive letter I actually enjoy changing the optical drive to Z: It makes things more consistent... -ASB: http://XeeSM.com/AndrewBaker On Wed, Mar 17, 2010 at 7:29 PM, Steven Peck <sep...@gmail.com> wrote: We have a stupid requirement to change the CD drive from whatever it is (usually D) to Z:. Usually I remember it and since I haev powershell up any cmdline tool is good. On the 3 servers I checked it was volume 0. I like the wmi check method idea and will have to go play with it in powershell and come up with something more fun. If I do that I can make the SCCM guys who are setting up the OSD build process just include that in the build and not have to worry about it at all. Thanks, Steven On Wed, Mar 17, 2010 at 2:36 PM, Michael B. Smith <mich...@smithcons.com> wrote: > True. It was intended as an example. I probably should've noted that. > > Regards, > > Michael B. Smith > Consultant and Exchange MVP > http://TheEssentialExchange.com > > -----Original Message----- > From: Brian Desmond [mailto:br...@briandesmond.com] > Sent: Wednesday, March 17, 2010 5:36 PM > To: NT System Admin Issues > Subject: RE: CMD line way to change CD Rom drive letter > > Note that this is not necessarily going to give you the CDROM drive. The way I do this in my build tool is I use WMI to find the CDROM drive letter than I use diskpart to change it. Note that there is a corner case of a machine with multiple CD/DVD drives. > > Thanks, > Brian Desmond > br...@briandesmond.com > > c - 312.731.3132 > > > -----Original Message----- > From: Michael B. Smith [mailto:mich...@smithcons.com] > Sent: Wednesday, March 17, 2010 4:10 PM > To: NT System Admin Issues > Subject: RE: CMD line way to change CD Rom drive letter > > Diskpart.exe > Select volume 1 > Assign letter=Z > Quit > > Regards, > > Michael B. Smith > Consultant and Exchange MVP > http://TheEssentialExchange.com > > > -----Original Message----- > From: Steven Peck [mailto:sep...@gmail.com] > Sent: Wednesday, March 17, 2010 5:01 PM > To: NT System Admin Issues > Subject: CMD line way to change CD Rom drive letter > > My google/bing-fu is failing me today. When we build servers we change the CDrom drive to Z:. While this is nice, manually changing it is annoying. Anyone know a standard / built in way to do this? > I'd like to just script it with powershell (just because it would annoy some of my co-workers) but would be happy for any of the cmdline utilities to work. > > Thanks > Steven > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~