Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How To Change Active Directory Computers OU Display Name

Posted on 2016-07-28
13
Medium Priority
?
77 Views
Last Modified: 2016-08-12
I am running Active Directory using AWS Directory Service, specifically SimpleAD.

The challenge I'm having is that the Active Directory OU for Computers is displaying an old computer name.

In the screenshot I've taken, I've first highlighted the OU Name, in this case "DB-PRIVATE". Yes, this computer was renamed that, but it's not the current name.

The "real" name of this computer is ESROM, as demonstrated on the "General" -> "DNS Name:" section of the screenshot. I've noted this in green.

However, what is displaying is the Canonical Name of the Object, as demonstrated in the "Objects" -> "Canonical name" section of the screenshot. This is noted in red.

I've unsuccessfully attempted this change with Netdom.

Any suggestions how I can get Active Directory to display the correct name of the computer?

Thanks!

Display name of Computer in Active Directory
0
Comment
Question by:Tessando
[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
  • 8
  • 5
13 Comments
 
LVL 16

Accepted Solution

by:
FOX earned 2000 total points
ID: 41733203
right-click powershell run as administrator
    Import-module ActiveDirectory
   Get-Adcomputer nameofthecomputerinquestion  -properties * | Set-ADcomputer -CanicolName "amerinc.net/computers/thecorrectname"
1
 

Author Comment

by:Tessando
ID: 41733365
Thank you so much for the prompt response. In this case, the parameter "-CaonicolName", or even "CanonicalName", isn't present. I am getting an error when I use that syntax.

This is a point in the right direction, thank you for that. :-)
0
 
LVL 16

Expert Comment

by:FOX
ID: 41733376
What version of powershell are you using.  Install windows management framework 5 on your server.
ref link:  
https://www.microsoft.com/en-us/download/details.aspx?id=50395
0
Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

 

Author Comment

by:Tessando
ID: 41733523
Thank you, I am running Powershell 4 and it appears that Windows Management Framework is already installed on the Server.  I did download the file from that page but when I ran the MSI file it stated that this update didn't apply for this system (Win 2k12r2 Standard).

Maybe I'm getting the parameter wrong. Do you have any Microsoft documentation for "-CaonicolName", or even "-CanonicalName"? I cannot seem to find that anywhere.

Thanks for all your help. This has been great.
0
 
LVL 16

Expert Comment

by:FOX
ID: 41733553
send me a screenshot of the exact command you ran
also... for the computer in question run this command on your server and let me know if CanonicalName comes up in its properties
Get-ADcomputer computername -proprerties *
0
 
LVL 16

Expert Comment

by:FOX
ID: 41733562
Did you run this install?
W2K12-KB3134759-x64.msu
0
 

Author Comment

by:Tessando
ID: 41733660
Thank you, Foxluv. I was able to install WMF 5.0 RTM on the machine in question. After the required restart and attempting to invoke "Import-Module ActiveDirectory" I get the following error:

WARNING: Error initializing default drive: 'Unable to find a default server with Active Directory Web Services running.'.

This might have something to do with SimpleAD and the way AWS runs the Domain Controllers. I have since escalated via their forum with the following question:

https://forums.aws.amazon.com/thread.jspa?threadID=236283

I will be monitoring that as well to make sure that AD is setup correctly. All other functionality is working (e.g. Active Directory Users and Computers, logging in and out of servers with AD credentials), so now I'm a little more stumped.

Thank you again for your help.
0
 
LVL 16

Expert Comment

by:FOX
ID: 41733696
did you install the windows managment framework on a domain controller or a workstation?  Did you right click powershell (run as administrator) before you attempted to do any commands?
0
 
LVL 16

Expert Comment

by:FOX
ID: 41733700
In the AD administrative Center right-click local>change domain controller and see if it has a list with your domain controller , then connect to it
0
 

Author Comment

by:Tessando
ID: 41733829
Thanks Foxluv - I installed the Windows Management Framework  on a DC (or, rather, the EC2 instance I have connected to SimpleAD). I did run Powershell as an Administrator before attempting all commands.

In the AD Administrative Center, I went to change the Domain Controller and it did NOT propagate a list. In fact, it actually gave an error "Cannot find an available server in the Domain". This is leading me to believe that it's perhaps a higher-level problem. (This is what I referenced in the AWS Developer Forum post that I gave the link to before). I have attached a screenshot for a visual.

Thanks!
0
 
LVL 16

Expert Comment

by:FOX
ID: 41753837
What was your final fix on this issue?
0
 

Author Comment

by:Tessando
ID: 41753875
Hey Foxluv - There was no final fix on this issue. I was able to determine that this is a constraint due to using the AWS SimpleAD Directory Service. I had no idea that this service lacked  "Active Directory Web Services" and that it would cause such suppression. I used your described method flawlessly in a co-located AD environment and it worked great. Thanks for your help.
0
 
LVL 16

Expert Comment

by:FOX
ID: 41753878
Ok great.
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
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…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

688 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