{"id":4591,"date":"2025-10-01T20:03:00","date_gmt":"2025-10-02T00:03:00","guid":{"rendered":"https:\/\/adsecurity.org\/?p=4591"},"modified":"2025-09-15T11:45:49","modified_gmt":"2025-09-15T15:45:49","slug":"active-directory-security-tip-10-fsmo-roles","status":"publish","type":"post","link":"https:\/\/adsecurity.org\/?p=4591","title":{"rendered":"Active Directory Security Tip #10: FSMO Roles"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Getting Microsoft supported backups of Domain Controllers is an important part of recovery strategy. <br><br>A best practice is to locate all Flexible Master Single Operator (FSMO) roles on a single DC in the domain. That way you can more easily target the DC that hosts the FSMOs for backup. <br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"613\" height=\"190\" src=\"https:\/\/adsecurity.org\/wp-content\/uploads\/2025\/09\/GvglqFXXEAkNJuG.png\" alt=\"\" class=\"wp-image-4592\" srcset=\"https:\/\/adsecurity.org\/wp-content\/uploads\/2025\/09\/GvglqFXXEAkNJuG.png 613w, https:\/\/adsecurity.org\/wp-content\/uploads\/2025\/09\/GvglqFXXEAkNJuG-300x93.png 300w\" sizes=\"auto, (max-width: 613px) 100vw, 613px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br><strong>PowerShell code to check for FSMO role holders for the forest &amp; current domain: <\/strong><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ADForestArray = Get-ADForest \n$ADForestArray | Select-Object SchemaMaster,DomainNamingMaster \nForEach ($ADForestArrayDomain in $ADForestArray.Domains)\n {\n    $DomainDC = (Get-ADDomainController -Discover -DomainName $ADForestArrayDomain).Name\n    Get-ADDomain -Server $DomainDC | Select-Object PDCEmulator,RIDMaster,InfrastructureMaster\n }<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Getting Microsoft supported backups of Domain Controllers is an important part of recovery strategy. A best practice is to locate all Flexible Master Single Operator (FSMO) roles on a single DC in the domain. That way you can more easily target the DC that hosts the FSMOs for backup. PowerShell code to check for FSMO &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/adsecurity.org\/?p=4591\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[565,7,2],"tags":[1469,1480],"class_list":["post-4591","post","type-post","status-publish","format-standard","hentry","category-activedirectorysecurity","category-powershell","category-technical-reference","tag-activedirectorysecuritytip","tag-fsmoroles","item-wrap"],"_links":{"self":[{"href":"https:\/\/adsecurity.org\/index.php?rest_route=\/wp\/v2\/posts\/4591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adsecurity.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adsecurity.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adsecurity.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adsecurity.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4591"}],"version-history":[{"count":6,"href":"https:\/\/adsecurity.org\/index.php?rest_route=\/wp\/v2\/posts\/4591\/revisions"}],"predecessor-version":[{"id":4651,"href":"https:\/\/adsecurity.org\/index.php?rest_route=\/wp\/v2\/posts\/4591\/revisions\/4651"}],"wp:attachment":[{"href":"https:\/\/adsecurity.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adsecurity.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adsecurity.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}