batch file - auto run a bat script in windows 7 at login

Full Windows SYSTEM cleanup script - Script Center Feb 16, 2017 Disable Windows Defender Registry Script - Windows 7 - MSFN May 31, 2014 Creating a PowerShell Script - Windows 7 Tutorial

Jun 15, 2017

May 31, 2014 Creating a PowerShell Script - Windows 7 Tutorial

Is there any way, in Windows 7 Professional, to run a batch script (e.g., a .BAT file) when the user clicks on "shutdown" (not a batch file scheduled to shut down the machine, just one that runs only if the user clicks on "shutdown")?. Ideally, such a script would show the command prompt window and offer an option to cancel the shutdown procedure.

Script Reset Windows Update Agent Nov 18, 2019 long running script window 7 - Microsoft Community Jun 15, 2017 How to make Windows 7 LIGHTER for gaming! - YouTube May 10, 2019