Please refer the below script for, Lock Windows workstation. Please run the script as system user and logged user
Categories Action
The script forces the reboot if the uptime of the Windows-Endpoint is more than the specific number of days and the Execution log is not recorded....
Categories Action