Skip to main content

Wipe Computers - Factory Reset

Summary

The script includes an option to initiate a factory reset, which will erase all data on the computer. Please use this script with extreme caution.

Sample Run

  • To ask the logged-in user before performing the factory reset:
    Image

  • To forcefully perform the factory reset:
    Image

Variables

NameDescription
ProjectNameFactoryReset
WorkingDirectoryC:/ProgramData/_Automation/FactoryReset

User Parameters

NameExampleRequiredDescription
showprompt1FalseIf the user parameter is set to 1, the script will prompt the user with the message: A Factory Reset has been issued to your machine. Would you like to perform Factory Reset Now? If the parameter is left blank, the script will initiate the factory reset without prompting the user.

Output

  • Script log