Execute on Windows Shutdown
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi! Is there any way to make windows execute an app on shutdown? (something like
HKCU\Software\Microsoft\Windows\Current Version\Run
but for shutdown) ..or do I need to have an app running in background trapping the WM_ENDSESSION message? X|Cheers,
Marc:beer: Click to see my *real* signature :beer:
-
Hi! Is there any way to make windows execute an app on shutdown? (something like
HKCU\Software\Microsoft\Windows\Current Version\Run
but for shutdown) ..or do I need to have an app running in background trapping the WM_ENDSESSION message? X|Cheers,
Marc:beer: Click to see my *real* signature :beer:
This is dependent on OS version. For NT5+ you can do this using gpedit.msc.