1. Logon to your server as an administrator
  2. Start--All Programs--Accessories--Right-Click on Command Prompt and choose Run as Administrator
  3. Enter the following command:

wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !="") CALL GetGracePeriodDays