Solved

ActiveComputerName does not update on computer name change.

Posted on 2011-02-15
17
1,758 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 119
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 119
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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 119
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 119
ID: 34905859
and this happens non-view?
0
 
LVL 119
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 119
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 119
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 119
ID: 34929222
oh dear, Aren't Admins great!!!
0
 
LVL 119
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vmware ver 6.5 8 83
Move ESX/VMs  from Vcenter 5.5 to Vcenter 6 6 57
What is the best method for LongTermArchival of a VM 13 67
cannot login vpxuser@127.0.0.1 11 38
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
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.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 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