- Logon to your server as an administrator
- Start–All Programs–Accessories–Right-Click on Command Prompt and choose Run as Administrator
- Enter the following command:
wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !=””) CALL GetGracePeriodDays