Used AllOff for Windows?
Developer’s Description
By JSutils
AllOff monitors keyboard, mouse, and CPU load and initiates computer shutdown if the activity is less than the threshold for a specified length of time. It can be started manually, on start up or automatically via the Windows Task Scheduler. The CPU load and many other parameters can be configured via the configuration screen.