Solved

VM Deployment - Drive Letter Re-Assigning

Posted on 2015-02-11
10
422 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 121
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 121
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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

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 121
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 121
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 200 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
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…

636 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