Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ActiveComputerName does not update on computer name change.

Posted on 2011-02-15
17
Medium Priority
?
1,828 Views
Last Modified: 2012-05-11
We are currently working on setting up images for vmware view using Windows XP and we are having issues with changing the name of the virtual PC.

When we change the name it updates in the registry under the ComputerName but does not update the ActiveComputerName after the reboot.

I was just wondering if anyone has seen this issue and have any idea how to resolve it.
0
Comment
Question by:Blazer24
  • 9
  • 8
17 Comments
 
LVL 124
ID: 34903122
Are you not using linked clones and provisioning desktop pools, and letting VMware View server to deploy the workstations based on the chosen name "formula"?
0
 

Author Comment

by:Blazer24
ID: 34905551
Yes to the above.  The issue is when it gets to the Customization part of provisioning the VM's it is unable to join them to the domain.  When we go into look at the VM's it says the name already exists on the network.

As an example let's say the template name is View.  When I goto one of the provisioned VM's and go to log in locally it says I'm logging into "View".  But if I check the name in computer properties it says "View1".  I can change the name as many times as I want but the "ActiveComputerName" registy key does not change to match the "ComputerName" registry key after a reboot as it should.
0
 
LVL 124
ID: 34905631
okay, have you create an OU for VMware View workstations to be created in?

does the account are using, have the correct access to join machines to the domain?
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:Blazer24
ID: 34905684
Yes to both of those as well.  We actually have another XP image that works just fine.  The newer image has more of the base application set that our users need.  The issue stems from the template itself because it has the same re-naming problem and is passing it on to the provisioned VM's.  I really don't want to have to re-create the image (mostly because it would be a giant P.I.T.A.) but it may be the route I have to take if I can not resolve this issue.
0
 
LVL 124
ID: 34905714
Okay, well if the golden master is not correct, then this could be the issue.

Have you tried, removing the golden master from the domain, and re-adding, what issues occurs, it fails to join the domain?
0
 

Author Comment

by:Blazer24
ID: 34905838
Have actually have had no issues adding it to the domain at all.  The only issue is that those two registry entries do not match or change when they should that is causing my strife.

Here are some images that may help:

 ActiveComputerName ComputerName Logon Computer Properties
0
 
LVL 124
ID: 34905859
and this happens non-view?
0
 
LVL 124
ID: 34905866
hang, I'll explain a little better, e.g. if you clone this machine out to another, and try adding to the domain, you can reproduce the same issue?
0
 

Author Comment

by:Blazer24
ID: 34905872
Yes.
0
 

Author Comment

by:Blazer24
ID: 34905894
Yes to the clone, it has the same issue.
0
 
LVL 124
ID: 34905926
In all my years, I've never seen this issue. I would change the Zones of this question, to include Active Directory, this is clearly not a VMware View issue, but more likely a build issue.

Maybe some of the Experts in Active Directory zone, know how to fix this issue.
0
 

Author Comment

by:Blazer24
ID: 34905963
I put in vmware since it was a vm and as I never seen this either I thought it may have been the fact it was virtualized.  As for bing an AD issue I'm not sure of that right now since I get the same results whether joined to the domain or not.  I'm going to run some checks on the registry to see if there is anything there.  Anyway thanks for the help.
0
 
LVL 124
ID: 34906000
I mean that if you select another Zone, more relevant to Joining the Domain, you might get an expert that has seen this issue. I've never seen an issue when a computer joins the domain, it doesn't change the machine name on the PC.

Unless incorrect permissions used to join domain, any event log information from PC or DCs?
0
 

Accepted Solution

by:
Blazer24 earned 0 total points
ID: 34929203
On further investagation I found that another admin installed an application that modified the registry.  I had him run it on a clean image and was able to duplicate the issue.  Unfortunately when I compared the registry before and and after it had over 25,000 changes making it difficult to isolate.  I may pursue it if I can find the time.
0
 
LVL 124
ID: 34929222
oh dear, Aren't Admins great!!!
0
 
LVL 124
ID: 34929278
Note: This problem does not have anything to do with VMware View, other than an incorrect golden master image (workstation) to use Linked Clones from. Ensure that the master/golden image is correct before using Linked Clones.
0
 

Author Closing Comment

by:Blazer24
ID: 34959192
Although the solution does not resolve the issue it may help anyone (un)lucky enough that does experience it a good place to start looking.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

824 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