Transferring Windows Server roles to a new server, Part II FSMO

netdom query fsmo
Get-ADDomain | Select-Object InfrastructureMaster, RIDMaster, PDCEmulatorGet-ADForest | Select-Object DomainNamingMaster, SchemaMaster
Move-ADDirectoryServerOperationMasterRole -Identity BackupDC3 -OperationMasterRole pdcemulator, ridmaster, infrastructuremaster, schemamaster, domainnamingmaster
w32tm.exe /config /syncfromflags:manual /manualpeerlist:131.107.13.100,0x8 /reliable:yes /updatew32tm.exe /config /update
w32tm /query /configuration
Get-ADObject -LDAPFilter “objectClass=organizationalUnit” -SearchBase “OU=Domain Controllers,DC=test,DC=local” | Set-adobject -ProtectedFromAccidentalDeletion $true

--

--

--

I work various IT jobs & like Windows domain security as a hobby. Most of what’s here is my notes from work or the lab.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Hello World!!!

Using GitHub’s API to Clean Up Learn.co Repos

The Key to Successful Code Reviews

Manage Heroku’s app environment variables securely

How to send welcome emails after user registration in Laravel?

The tale of two forks: GlassFish and Payara

How to catch HTTP traffic in Appium automated tests with BrowserMob MITM proxy

Building REST API web service using AKKA-HTTP, showing CRUD operations baked with Redis

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rich

Rich

I work various IT jobs & like Windows domain security as a hobby. Most of what’s here is my notes from work or the lab.

More from Medium

Bulk Import Issues — February 2022

Secure Your Application Using A Virtual Network

STACK SMASHING ATTACK — BLOG

How to Assign Static IP Address in Raspberry PI