Solved

VM Deployment - Drive Letter Re-Assigning

Posted on 2015-02-11
10
231 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bios update is not supported using rbu method 12 40
website went down 6 35
VM ESXi Wont Allow USB Device, Greyed Out 7 98
AD Activation of KMS Key 6 52
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

932 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