I have created a task in Task Scheduler for the Microsoft Sticky Notes app downloaded from the Microsoft Store, to open 30 seconds after I turn on my PC and enter the Desktop, but in order for this task to work I need to always remember to manually 'close' the Microsoft Sticky Notes app on my Taskbar before actually shutting down my PC.
If I don't manually 'close' the Microsoft Sticky Notes app that's on the taskbar - the very next time I turn on my PC and enter the Desktop - the Sticky Notes I have on my Desktop launch instantly by default, which is something I don't want. I only want the Sticky Notes to launch 30 seconds AFTER I turn on the PC and enter the Desktop.
In Registry Editor under: Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace\Notes
> LaunchOnNextUserSession
every time I modify the 'value data' to 0
it always resets to 1
.
So is there a way to automate whenever I click: 'Shut Down' for the Microsoft Sticky Notes app to firstly 'close' ever so shortly before the PC itself actually shuts down?