Set Task Schedule Log Off and Backup Windows on Log Off

Posted by @Teresa

September 28, 2017

Learn how to configure Windows Task Scheduler log off event and perform logoff backup in Windows 7/8/10 or Windows Server 2008/2012 with reliable backup solution.

About Windows Task Scheduler

Task Scheduler is a Windows built-in service which allows you to perform routine tasks on a selected computer. Its operating theory is quite simple. After monitoring whatever criteria you choose to initiate the tasks (most referred to as triggers), it will execute the tasks when the criteria is met. In lots of aspects, Task Scheduler can be used to assist the computer management. For example, it can be used to start a program, display a message box and so on.

The tasks could be triggered under many events as it lists in Microsoft official website, such as execute when a particular system event occurs, when the system is booted, when a user logs on, or at a specific time on a weekly schedule, etc. It is fairly helpful if you want to perform unattended tasks or when you are likely to forget to do something.

How to set Task Scheduler log off event?

Even though it is covered that Task Scheduler will run at many time points, it cannot execute task when a user logs off. This is annoying because a mass of data may need to be saved or some particular programs need to start after logging off. You can assign user logoff scripts with gpedit.msc if the Windows version supports Group Policy Object (GPO). The GPO is supported by Windows Professional and full editions. Type gpedit.msc at Run box and press Enter. Go to Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown) -> switch to Shutdown. Then go to User Configuration -> Windows Settings -> Scripts and turn to logoff.

For Windows versions that don’t support GPO, you need to create registry entries. This will modify the registry, so it is suggested to create a backup before proceeding. Open Notepad and copy below code:

Create registry entry

Perform Windows 7 backup at log off

After setting Windows Task Scheduler log off event, it is necessary to take logoff backup into consideration. As mentioned before, log off event trigger is helpful due to many operations need to be completed, so as to data backup. Many benefits of logoff backup are listed clearly in our daily life. For instance, some important updates require a restart. If the updates fail, it may result in system unbootable or even data loss. Therefore, backup before logoff, then everything saved.

AOMEI Backupper Professional is a reliable and user-friendly backup solution that supports automatically backup Windows including systems, applications, personal files, etc. when you log off user account. As to schedule backup, this utility provides Daily, Weekly, Monthly, Event triggers and Real-time sync modes. In Event triggers option, four types are available. They are User logon, User logoff, System startup and System shutdown. You can switch to different types to suit your needs.

Auto backup Windows 7 when a user logs off with AOMEI Backupper

This backup solution supports many storage devices such as SSD, HDD, SSHD, USB flash drive, Thumb Drive etc. It also allows you to backup files to OneDrive desktop application. In a nutshell, any storage that could be detected by Windows and could be written to can be used as destination backup storage. Connect them to computer first if needed.

1.  Download (Windows 10/8/7/XP/Vista supported), install and start AOMEI Backupper. At the main console, click Backup and then System Backup.

System Backup

2.  System drive and System Reserved Partition are selected automatically. Click Step2 to choose destination backup location.

Step2

3.  Click Schedule at the lower left corner and select Event triggers from the drop-down list.

Event triggers

4.  Choose User logoff option.

User logoff

5. Click Start Backup to add this task or backup system immediately.

Start Backup

Tips:

  • You can edit name of this task for better identification.
  • Scheme: this option will assist you manage backup storage in order to save disk space.

Scheme

It will start the backup task and next time when you log off, the backup will run automatically without user interference. All roads lead to Rome. Although Task Scheduler log off configuration differs from logoff backup, both of them play a role of protecting computer. As a matter of fact, AOMEI Backupper is also USB drive auto backup software in Windows.