A. As I discussed in the FAQ "Q. How can I automatically display computer information on my desktop?", Sysinternals offers a free utility called BgInfo that displays configurable system information on your desktop wallpaper. To add local FSMO information to the BgInfo system information, perform the following steps:

  1. Open the script localsrvroles.vbs, which is presented in the FAQ "Q. How can I check the Flexible Single-Master Operation (FSMO) roles for the local server from the command line?".
  2. For the script to work in BgInfo, replace all instances of WScript.Echo with Echo and save the script.
  3. Start BgInfo (bginfo.exe).
  4. Click the Custom button, then click New.
  5. In the Identifier field, enter the identifier "FSMO Roles". Then, under "Replace identifier with," select "VB Script file," as this figure shows.
  6. Click Browse, navigate to the location of the localsrvroles.vbs file, then click Open.
  7. Click OK to close the Define New Field dialog box.
  8. Click OK to close the User Defined Fields dialog box.
  9. Select FSMO Roles from the Fields list, then click Add.

Now when you click OK to run BgInfo, the local FSMO roles appear on the desktop with the other system information. In this figure, notice that the domain controller (DC) doesn't hold any Schema or Domain Naming forest roles. The localsrvroles.vbs file and the server.bgi configuration file that I used to create the sample output are available at the URL above.