Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 134
  • Last Modified:

Winodws and FQDN

On Windows 2008 R2, If I perform the following from Powershell,  I get the following FQDN:

    PS C:\t> (gwmi WIN32_ComputerSystem).Name + "." + (gwmi WIN32_ComputerSystem).Domain

Open in new window

At this point I have added a role of ADDS, but I have not yet run the install (dcpromo.exe)

If I need to for any reason, how do I change the FQDN of the Windows machine?

Anthony Lucia
Anthony Lucia
1 Solution
Brad GrouxSenior Manager (Wintel Engineering)Commented:
Until you create a forest with the first Domain Controller you won't have a FQDN, as FQDN stands for Fully Qualified Domain Name. You don't yet have a Forest or Domain, so you can't have a FQDN. Your FQDN will be servername.domain.com. To change it, you need to either change the server name, the domain it is a member of - or both.
Anthony LuciaAuthor Commented:
Its current name is


There is no .com at the end

What does this tell me

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now