<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2527 " id="quads-ad2527" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<p>If you&#8217;re planning to Install Active directory on multiple DCs for backup, you can speed up this process by using the following script which is provided by Microsoft. but you&#8217;ll have to copy and paste it in notepad and save it in .ps1 extension after editing the Domain Name and Domain Netbios name.</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2524 " id="quads-ad2524" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2531 " id="quads-ad2531" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2530 " id="quads-ad2530" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<p>You may also wanna change the forest mode to match the one in your environment if you already have an old DC. </p>



<p># Windows PowerShell script for AD DS Deployment </p>



<p># </p>



<p>Import-Module ADDSDeployment</p>



<p>Install-ADDSForest `</p>



<p>-CreateDnsDelegation:$false `</p>



<p>-DatabasePath &#8220;C:\Windows\NTDS&#8221; `</p>



<p>-DomainMode &#8220;Win2012&#8221; `</p>



<p>-DomainName &#8220;moh10ly.com&#8221; `</p>



<p>-DomainNetbiosName &#8220;Moh10ly&#8221; `</p>



<p>-ForestMode &#8220;Win2012&#8221; `</p>



<p>-InstallDns:$true `</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2523 " id="quads-ad2523" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<p>-LogPath &#8220;C:\Windows\NTDS&#8221; `</p>



<p>-NoRebootOnCompletion:$false `</p>



<p>-SysvolPath &#8220;C:\Windows\SYSVOL&#8221; `</p>



<p>-Force:$true</p>



<p>Note: If you want to have a different Computer name, you will need to change that manually before you start the process below and restart after changing the computer name. </p>



<p>You will need to install the AD Domain Service management tools before you are able to run the powershell </p>



<p>Install-windowsfeature -name AD-Domain-Services –IncludeManagementTools </p>



<figure class="wp-block-image"><a href="http://lh6.ggpht.com/-9Z3s_roOuyA/VN5cZmUB7cI/AAAAAAAAMt8/wv4fBenpqm0/s1600-h/clip_image001%25255B4%25255D.png" target="_blank" rel="noreferrer noopener"><img src="https://lh3.googleusercontent.com/kgRBripop1_IwolJryULEuu1Cjan_4FfUibIjI-buYs3uHh2edAwT3D972Ba8ahwcq79SZHcs-f7xeyfLKnvqcET8j36BOhikNWwjNF0Qm4M7sGW3s8=w673" alt="clip_image001"/></a> 

<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2525 " id="quads-ad2525" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>
 
</figure>



<p>When the management tools are installed you can drag and drop the powershell file to powershell window and press Enter and as soon as you do that it will ask you for the SafeModeADministratorPassword. </p>



<figure class="wp-block-image"><a href="http://lh6.ggpht.com/-s_Ti40KaW_w/VN5cbpExpxI/AAAAAAAAMuM/AL7TToE4gM8/s1600-h/clip_image002%25255B4%25255D.png" target="_blank" rel="noreferrer noopener"><img src="https://lh6.googleusercontent.com/cCvTqL7ngOtjyk5zBmfs6vSyaJ_6n8W2wsa3FfngzFYHeZMel2fCEEAlPSb84T4K6T8U8t1C_c2Sse34aZ36CACVhx6IMlTWwuUGcHv8AtxVD8Vpng=w673" alt="clip_image002"/></a></figure>



<p>After you press Enter it will start the installation process </p>



<figure class="wp-block-image"><a href="http://lh3.ggpht.com/-xCro1_RXxcw/VN5cdcefYII/AAAAAAAAMuc/OKdzVyCAYxY/s1600-h/clip_image003%25255B4%25255D.png" target="_blank" rel="noreferrer noopener"><img src="https://lh3.googleusercontent.com/3pj0TqZU1T76IkQjax8ph5_UT8d0XRRh6paIIAbkM61c3yzZ4claSsikhCzd9C7IszKVCKSnwQOtp6IVv5LkOp5LtqCCTUbVRL7Ixq6wyKMo5gzA_rsz=w673" alt="clip_image003"/></a></figure>



<p>When finished it will let you know that server is going to be restarted automatically. </p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2526 " id="quads-ad2526" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<figure class="wp-block-image"><a href="http://lh4.ggpht.com/-zWf9OcVhJE0/VN5cf17SpnI/AAAAAAAAMuo/48Mg0AQBUyQ/s1600-h/clip_image004%25255B4%25255D.png" target="_blank" rel="noreferrer noopener"><img src="https://lh5.googleusercontent.com/MKSKQ5TJmnh1HqodfmPpr3s8ZOE0ow01DcpXBl51T2ao5V2m3lh9dG-e6y4HcSszbtUFa6it1TAXHOh4klkIPwSEcf-1VuTbOZ1lhCjLbmQrrVHRag=w673" alt="clip_image004"/></a></figure>



<p>After restarting the server, this is how the Full computer name became. </p>



<figure class="wp-block-image"><a href="http://lh6.ggpht.com/-u0WEfkiohQc/VN5ciKUPT5I/AAAAAAAAMu8/g8DLBjbvZ38/s1600-h/clip_image005%25255B4%25255D.png" target="_blank" rel="noreferrer noopener"><img src="https://lh6.googleusercontent.com/dROEt1PbDKKyMBGwS4KTXwwInuAdz5nTDN7IQ8lTGxqC4KMhU7g9nQa2hQyMJKpYwlRfNJd_R68_rGdzD_S7omENR0TfWAV5eGw_k9xlgtcgIWp9Zg=w673" alt="clip_image005"/></a></figure>
</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2522 " id="quads-ad2522" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>


Reset and manage your Active Directory users' Passwords Active Directory is one of the most…
Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…
If you're using a Proxy server in your firewall or in your network and have…
Story:I got some clients that have reported some of their users being locked out and…
Delegate Permissions This is a code that I have wrote recently to check if an…
Story: I got a request from a client who constantly gets CVs and have to…