On Windows 2012 server click the start button and type cmd, windows will search and return the command prompt. Click on “Command Prompt”. 2. From the command prompt type “netdom query fsmo” and hit “enter”.