Request you to provide script which can block an asset of off-boarded employee so that he cannot use the system
Your script request has been shared with the script developers.
Please try this script in JSON and let us know if you need any modification
20230330_1_exported_procedures.json (2.2 KB)
Note: Run as a Local System User
please provide the password in the variable “password” in the script so that the script will change all the user account passwords on the endpoint machine with the password given in the script.
This script will limit the system access for all the users including admins as well as changes the account password for all the users so that no one can actually log into the account except the person that ran the script on the endpoint machine.