Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VM Deployment - Drive Letter Re-Assigning

Posted on 2015-02-11
10
Medium Priority
?
478 Views
Last Modified: 2015-02-22
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 !
0
Comment
Question by:nico-
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 123
ID: 40605117
Disk Management, and re-assign drive letters.
0
 

Author Comment

by:nico-
ID: 40605261
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
 
LVL 123
ID: 40605266
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:nico-
ID: 40605296
they disappear as part of sysprep
VM's deployed from a VM template using customised spec - not the same
0
 
LVL 123
ID: 40605311
you have many drives ?

if Sysprep, is the issue, maybe check, whether a sysprep is required.
0
 

Author Comment

by:nico-
ID: 40605315
it's part of the VM Deployment process and required to ensure every machine has a unique SID
0
 
LVL 123
ID: 40605324
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
 
LVL 20

Assisted Solution

by:compdigit44
compdigit44 earned 600 total points
ID: 40610260
0
 

Accepted Solution

by:
nico- earned 0 total points
ID: 40613966
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
 

Author Closing Comment

by:nico-
ID: 40624040
200 for comp - I used an alternative .. slightly less invasive than reg hacks .. cheers though
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question