![]() ![]() # use this if the demoting DC could not contact other DCs on the network - hence, it will join a WORKGROUP thereafterĭcpromo /forceremoval /uninstallbinaries /demotefsmo:yes /administratorpassword:Password1! /RebootOnCompletion:Yes # Remove AD Role for Windows 2008 (suppress warnings about fsmo)ĭcpromo /unattend /uninstallbinaries /AdministratorPassword:Password1! /DemoteFSMO:Yes /RebootOnCompletion:Yes PS C:\Windows\system32> netdom query fsmo Repadmin.exe /options $oldDHCPServername –IS_GC # Check FSMO to ensure that it does not hold any operation master roles Netsh dhcp delete server $oldDHCPServername $oldDHCPServerIP # Remove DC from the Global Catalog Role # Clean records in preparation for re-adds Get-WmiObject MicrosoftDNS_srvtype -ns root\microsoftdns -filter "containername='$domain'"-computer $pdc | select TextRepresentation,RecordData # Show all SRV records of specified domain Here’s a script to perform these updates server-side # return all SRV record data. Remove _sip of (currently pointing to .).Remove _autodiscover record of as this legacy Exchange record is not required for Office 365. #Net start w32time error 1058 update*** can't find _lyncdiscover: Non-existent domainįrom the output above, it’s recommended to remove those legacy records and update them with CNAMES and SRVs as provided in section (C) ![]() Svr hostname = Į internet address = 2.2.2.2 Sample commands from a desktop client: H:\>nslookup ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |