Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

Last Signed in User - Restore

Summary

This script will restore the backup logon user to the login screen of the machine.

Sample Run

Sample Run

Variables

Document the various variables in the script. Delete any section that is not relevant to your script.

NameDescription
LogonRestoreThis stores information about whether the last logged on user is backed up or not.

Process

This script will restore the backup logon user to the login screen of the machine. It first checks for the logon backup file, i.e., 'C:/Temp/Logonbackup/logonexport.reg'. If found, it will restore it on the machine and remove this backup after restoration.

Output

  • Script log