Is it possible to run a script on shutdown on Windows 10 Home edition?
Group Policy Editor (gpedit.msc) is not available.

Already tried to modify registry
Execute a script a startup and shutdown
Tested successfully on Windows 10 Professional but won't work on Home.

Also, tried through Task Scheduler without success
Ramblings...: How to run a script on logout/shutdown in windows 7

Any help would be great!

Thanks in advance