VM Deployment - Drive Letter Re-Assigning

Hello

After I deploy Windows 2012 R2 using a template and a customised specification using, drive mappings for local disks become reverted.  What is the easiest why of re-assigning these ?

Thanks !
nico-Asked:
Who is Participating?
 
nico-Author Commented:
sorry for no reply ..

I used diskpart /q /s to call a text file script.  The text file contained select volume and assign letter=, for the relevant drives
I put this command into the RunOnce customisation script ..

sorry, have to award myself the points for this unless you think otherwise
1
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Disk Management, and re-assign drive letters.
0
 
nico-Author Commented:
yeah, kind of knew that one.  I was looking at an automated way linked to VMware so that an administrator doesn't have to manually reassign 10k + machines

I decided on calling on a diskpart script using the RunOnce command unless someone has a cleaner method?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
The drive letters should not be losing their disk assignments.

The template is almost a clone, what drive letters, how many, how are the machines being deployed ?

Your are deploying 10,000 virtual machines, ALL at the same time ?

for what VDI ?

Are the serial numbers of the disks changing?
0
 
nico-Author Commented:
they disappear as part of sysprep
VM's deployed from a VM template using customised spec - not the same
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you have many drives ?

if Sysprep, is the issue, maybe check, whether a sysprep is required.
0
 
nico-Author Commented:
it's part of the VM Deployment process and required to ensure every machine has a unique SID
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
machine has a unique SID? - for what purpose?

Well, you may want to check this article...

http://blogs.technet.com/b/markrussinovich/archive/2009/11/03/3291024.aspx

Microsoft will recommend, that every machine, that is cloned, is Sysprepped, but it's not a requirement, it depends on your circumstances.

Anyway this is an Sysprep issue, not specific VMware related or VM issue, so a script is the only way to re-assign the drive letters, because the serial numbers have been reset through the Sysprep process.
0
 
nico-Author Commented:
200 for comp - I used an alternative .. slightly less invasive than reg hacks .. cheers though
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.