Category: Active Directory 101

Join Computer to Domain with Desired Computer Name and OU

Step #1: This is the simplest method to add a computer to a domain. In this example you will be prompted for credentials followed by the required reboot. PowerShell   1 2 Add-Computer -DomainName “your.domain.here” Restart-Computer Step #2: If you require an automated script without prompting the user for credentials you can provide the user […]

Read More »

How To Build An Active Directory Site Inventory Report With PowerShell

If you’re having to deal with hundreds of subnets and multiple Active Directory sites, this PowerShell script will allow you to quickly build an inventory report listing all of your AD sites and subnets. Building An AD Site Inventory Report To do this, you’ll first need to ensure you’re either on a Windows Server 2008 […]

Read More »

How to Import a Group Policy Object’s Settings into Another Group Policy Object

You may sometimes find it necessary to copy Group Policy Objects (GPOs) from one Active Directory domain to another. This can be useful when you want to apply the same policy settings to groups of users or computers in different domains within a multi-domain forest, or when you are performing a migration from one domain […]

Read More »

How to reset pswds for AD user acct via PowerShell

Open PowerShell in admin mode and enter the following: Make sure to have a .csv file with a column name of “Username” and “Password”     Import-Module ActiveDirectory  $UserPwds = Import-CSV C:\users\msgeek\desktop\Users.CSV  ForEach($User in $UserPwds)  {        Set-adaccountpassword $User.UserName -reset -newpassword (Convertto-Securestring -asplaintext $($User.Password) -force)  }     

Read More »

Why does my Windows Service keep forgetting its password?

The mystery: “The service did not start due to a login failure” One of our customers reported a very strange problem last week. After about a day of running flawlessly, their windows service would suddenly fail to start after a reboot. The error reported by the Event Viewer hinted at a problem with the service user’s account: […]

Read More »

How to setup Active Directory (AD) In Windows Server 2016

In this tutorial I will go through step by step on how to install the Active Directory ( AD ) role on Windows Server 2016. If you are setting up the server for production is recommended to set a static IP address on the server before you start the AD installation. Also before you start the AD […]

Read More »

Adding a Windows Server 2012 Domain Controller to an Existing Windows Server 2003 network

Prerequisites Download Windows Server 2012 R2. If you plan on completing this Step-By-Step in a virtual lab, it is recommended to download the FREE Hyper-V Server 2012 R2 first. Check to ensure the Domain Functional Level is currently setup to at least Windows 2003 mode. This is the lowest required Domain Functional Level that would allow a Windows Server 2012 Domain Controller installation. […]

Read More »

Active Directory Migration from Windows Server 2003 to Windows Server 2012 R2

Transferring the Flexible Single Master Operations (FSMO) Role Open the Active Directory Users and Computers console on your new Windows Server 2012 R2 computer. Right click your domain and select Operations Masters in the sub menu. In the Operations Masters window, ensure the RID tab is selected. Select the Change button. Select Yes when asked about transferring the operations master role. Once the operations master role has successfully […]

Read More »

Export List of Users from AD and all Proxy Addresses

If you need a list of users and their respective proxy addresses then the command below will do this 🙂   Get-ADUser –Filter * –Properties proxyaddresses | Select-Object Name, @{L = “ProxyAddresses”; E = { $_.ProxyAddresses -join “;”}} | Export-Csv –Path c:\temp\proxyaddresses.csv –NoTypeInformation

Read More »

FashionBuzz © 2015 | All Rights Reserved Theme by Flythemes