How to Reset Terminal Server (RDS) Grace Period using PowerShell?

Q: Is it possible to Script Reset Terminal Server (RDS) Grace Period using PowerShell?

chicagotech.net: Yes, delete the REG_BINARY in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod

Or go to this page to download powershell script: https://gallery.technet.microsoft.com/scriptcenter/Reset-Terminal-Server-RDS-44922d91

Published by

Bob Lin

Bob Lin, Chicagotech-MVP, MCSE & CNE Data recovery, Windows OS Recovery, Networking, and Computer Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com