Renaming a Domain Controller

Contrary to some people’s beliefs, it is actually possible to rename a domain controller! For this to work you must have at least 2 domain controllers already in your domain. This WILL NOT work if you have a single domain controller. Before you start if the domain controller you are Continue Reading


Resetting Office 365 Password using Powershell

To reset an office 365 user’s password you need the Windows Azure Active Directory Module installed¬† Open the console and enter Connect-MsolService Press Enter, enter your admin Office 365 account username and password in the logon box Then issue this command Set-MsolUserPassword -UserPrincipalName -NewPassword London1234 -ForceChangePassword $false

Resetting User’s Password in Active Directory Using Powershell

This command and script was created for ease of convenience, simplicity and speed during a recent job   Set-ADAccountPassword <username> -Reset -NewPassword (ConvertTo-SecureString -AsPlainText <password> -Force) And to prevent them from changing or changing at logon Set-AdUser -Identity <username>¬†-CannotChangePassword:$true -ChangePasswordAtLogon:$false

Performing an Authoritative Synchronisation of SYSVOL using DFSR

I came across a scenario the other week where newly promoted 2012 R2 domain controller would not complete it’s initial SYSVOL replication and in doing so was failing to advertise properly as an available authentication server. The only way I was able to resolve this issue was to perform an Continue Reading