- This is a script that runs from Windows Task Scheduler to detect when a PC is woken from sleep/hibernation and will log information on the device that woke it
- Clone this repo
- Set up the scheduled task
- Open Windows Task Scheduler as admin
- Right-click on Task Scheduler Library on the left-hand sidebar
- Click Import Task...
- Navigate to the
Log Wakes.xml
file and select it
- Navigate to the Actions tab and edit the Action
- Click Browse...
- Navigate to the
LogWakes.bat
file and select it
- Change other settings if desired and click OK
- Test the script manually by right-clicking on it and selecting Run
- The log file name and directory are specified in the script
About
Batch script to log information about what woke it from sleep/hibernation
Languages
Language:Batchfile 100.0%