Thanks Art. Yeah, same problem here. Almost the same drive letter assignments as well. Curious - are you running your scripts in the Task Sequence? Or manually kicking them off while in the OS after the TS is done?
Thanks, Luke From: [email protected] [mailto:[email protected]] On Behalf Of Art Flores Sent: Thursday, May 14, 2015 6:34 PM To: [email protected] Subject: RE: [mssms] CM12 OSD Deployment - Drive Letter Assignment Hi Luke, I don't have answers to your questions, but I do have the same issues. I am using MDT to deploy a server image from USB, after the image is done, the only drive that was correct was the OS on C:, the other drives were assigned like this: D: -> USB, E: -> DataDisk, F: -> DVD ; I could not get my scripts to work consistently during the TS, I had to let the image get installed, and after it was done, then I could run my scripts without issues, I ended up with 3 batch files, running them in this order: Set USB to R, Set DataDisk to D, and Set DVD to E. I did find one PosH script, but I can crank out batch code much quicker than PoSH code, so that is why I used batch files. The first link below is the one I am using, the 2nd one works also. MDT 2013 - USB Boot and drive letter management http://blog.apps.id.au/?p=711<https://urldefense.proofpoint.com/v2/url?u=http-3A__blog.apps.id.au_-3Fp-3D711&d=AwMFAg&c=Rlm5WhGmPEr8srpDE4r86Q&r=esOgm5X6HAjLPBB9P6lAXnyM8LmslhZ0j6kPrKuaR3k&m=qvNfxegG346aJ70QfzyQSLxZssQsSqmVltaUGssLF3g&s=I6doJpGuR9OWRlk1xqrFzeWaLv5DtuDz6VWrFSz9QOM&e=> Script to Change the Drive Letter of all CDROM and DVD Drives http://www.jhouseconsulting.com/2015/01/04/script-to-change-the-drive-letter-of-all-cdrom-and-dvd-drives-1537<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jhouseconsulting.com_2015_01_04_script-2Dto-2Dchange-2Dthe-2Ddrive-2Dletter-2Dof-2Dall-2Dcdrom-2Dand-2Ddvd-2Ddrives-2D1537&d=AwMFAg&c=Rlm5WhGmPEr8srpDE4r86Q&r=esOgm5X6HAjLPBB9P6lAXnyM8LmslhZ0j6kPrKuaR3k&m=qvNfxegG346aJ70QfzyQSLxZssQsSqmVltaUGssLF3g&s=nLfRte3S3p-Z4Jo6-kY8V73sKfexrPnepcbJ8gRw-aE&e=> From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of [email protected]<mailto:[email protected]> Sent: Thursday, May 14, 2015 1:24 PM To: [email protected]<mailto:[email protected]> Subject: [mssms] CM12 OSD Deployment - Drive Letter Assignment Hello For those responsible for OSD, how are you going about assigning Drive letters in the Task Sequence? My scenario is that in my Deployment Task Sequence, I'm deploying my .wim that was generated from a Build & Capture MDT TS (which only had 1 disk) and I want specific volumes to have specific drive letters. My destination systems have 2 separate disks, as well as a DVD-ROM & USB drive. I'm using a TS Variable to assign C: to my OS disk successfully, but I'm having issues assigning specific Drive letters to the secondary disk & DVD-ROM. The closest I've come is by creating a Powershell script that parses diskpart output and assigns letter based on DriveType(ex: CD-ROM), & also assigns a drive letter based on Label(assigned during the Format & partition TS step). That works fine while in the OS, but the script doesn't behave the same while executed in the Task Sequence build process. When I deploy the same package/script to an OS in use (even via Task Sequence), it works as intended. In summary, 2 issues here: 1. How do you recommend assigning specific drive letters to specific volumes while in the Task Sequence? 2. Can you explain why a powershell diskpart script might operate differently in TS during build vs. while in the OS? Thanks for your time. Luke The preceding email message may be confidential or protected by the attorney-client privilege. It is not intended for transmission to, or receipt by, any unauthorized persons. If you have received this message in error, please (i) do not read it, (ii) reply to the sender that you received the message in error, and (iii) erase or destroy the message. Legal advice contained in the preceding message is solely for the benefit of the Foley & Lardner LLP client(s) represented by the Firm in the particular matter that is the subject of this message, and may not be relied upon by any other party. The preceding email message may be confidential or protected by the attorney-client privilege. It is not intended for transmission to, or receipt by, any unauthorized persons. If you have received this message in error, please (i) do not read it, (ii) reply to the sender that you received the message in error, and (iii) erase or destroy the message. Legal advice contained in the preceding message is solely for the benefit of the Foley & Lardner LLP client(s) represented by the Firm in the particular matter that is the subject of this message, and may not be relied upon by any other party.
