How to Query in CMD for FSMO Roles ?

Follow steps below:

  1. Click Start Click run or on Run Type CMD , press Enter
  2. Type the command netdom query fsmo