{"id":984,"date":"2013-07-01T10:44:37","date_gmt":"2013-07-01T08:44:37","guid":{"rendered":"http:\/\/blogs.chrisse.se\/?p=984"},"modified":"2013-07-01T10:44:37","modified_gmt":"2013-07-01T08:44:37","slug":"dc-locator-flags-for-windows-server-2012-and-windows-server-2012-r2","status":"publish","type":"post","link":"https:\/\/blog.chrisse.se\/?p=984","title":{"rendered":"DC Locator flags for Windows Server 2012 and Windows Server 2012 R2"},"content":{"rendered":"<p>The DC Locator flags to specify the requirements of a Windows Server 2012 DC or a Windows Server 2012 R2 DC using the <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms675983(v=vs.85).aspx\">DsGetDCName<\/a> API are as following:\n<\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Franklin Gothic Demi; font-size:10pt\">Table\u00a01: Windows Server 2012 DC Locator flags<br \/>\n<\/span><\/p>\n<div style=\"margin-left: 77pt\">\n<table style=\"border-collapse:collapse\" border=\"0\">\n<colgroup>\n<col style=\"width:265px\"\/>\n<col style=\"width:345px\"\/><\/colgroup>\n<tbody valign=\"top\">\n<tr style=\"background: #d9d9d9\">\n<td vAlign=\"middle\" style=\"padding-left: 5px; padding-right: 5px; border-top:  solid gray 1.5pt; border-left:  solid gray 1.5pt; border-bottom:  solid gray 0.5pt; border-right:  solid gray 0.5pt\">\n<p style=\"text-align: center\"><span style=\"font-family:Franklin Gothic Demi Cond; font-size:9pt\">Name<\/span><\/p>\n<\/td>\n<td style=\"padding-left: 5px; padding-right: 5px; border-top:  solid gray 1.5pt; border-left:  none; border-bottom:  solid gray 0.5pt; border-right:  solid gray 1.5pt\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"padding-left: 5px; padding-right: 5px; border-top:  none; border-left:  solid gray 1.5pt; border-bottom:  solid gray 0.5pt; border-right:  solid gray 0.5pt\">\n<p><span style=\"font-size:9pt\"><span style=\"font-family:Arial\">DS_DIRECTORY_SERVICE_8_REQUIRED<br \/>(<\/span><span style=\"color:maroon; font-family:Franklin Gothic Medium Cond\">0x200000<\/span><span style=\"font-family:Arial\">)<\/span><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 5px; padding-right: 5px; border-top:  none; border-left:  none; border-bottom:  solid gray 0.5pt; border-right:  solid gray 1.5pt\">\n<p><span style=\"font-family:Arial; font-size:9pt\">Requires that the returned domain controller be running Windows Server 2012 or later.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding-left: 5px; padding-right: 5px; border-top:  none; border-left:  solid gray 1.5pt; border-bottom:  solid gray 0.5pt; border-right:  solid gray 0.5pt\">\n<p><span style=\"color:black; font-size:9pt\"><span style=\"font-family:Arial\">DS_DIRECTORY_SERVICE_9_REQUIRED<br \/>(<\/span><span style=\"color:maroon\"><span style=\"font-family:Franklin Gothic Medium Cond\">0x400000<\/span><span style=\"color:black; font-family:Arial\">)<\/span><\/span><\/span><\/p>\n<\/td>\n<td style=\"padding-left: 5px; padding-right: 5px; border-top:  none; border-left:  none; border-bottom:  solid gray 0.5pt; border-right:  solid gray 1.5pt\">\n<p><span style=\"font-family:Arial; font-size:9pt\">Requires that the returned domain controller be running Windows Server 2012 R2 or later.<br \/><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The DC Locator flags to specify the requirements of a Windows Server 2012 DC or a Windows Server 2012 R2 DC using the DsGetDCName API are as following: Table\u00a01: Windows Server 2012 DC Locator flags Name \u00a0 DS_DIRECTORY_SERVICE_8_REQUIRED(0x200000) Requires that the returned domain controller be running Windows Server 2012 or later. DS_DIRECTORY_SERVICE_9_REQUIRED(0x400000) Requires that the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.chrisse.se\/?p=984\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;DC Locator flags for Windows Server 2012 and Windows Server 2012 R2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-984","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.chrisse.se\/index.php?rest_route=\/wp\/v2\/posts\/984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chrisse.se\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chrisse.se\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chrisse.se\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chrisse.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=984"}],"version-history":[{"count":0,"href":"https:\/\/blog.chrisse.se\/index.php?rest_route=\/wp\/v2\/posts\/984\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.chrisse.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chrisse.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chrisse.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}