Solved

VM Deployment - Drive Letter Re-Assigning

Posted on 2015-02-11
10
218 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-
  • 5
  • 4
10 Comments
 
LVL 118
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 118
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
 

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 118
ID: 40605311
you have many drives ?

if Sysprep, is the issue, maybe check, whether a sysprep is required.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

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 118
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 19

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now