View Single Post
  #1  
Old November 13th 20, 09:37 AM posted to microsoft.public.windowsxp.general
R.Wieser
external usenet poster
 
Posts: 1,302
Default How to add a "Shutdown" folder (the opposite of the "startup" folder) ?

Hello all,

I would like to have a "shutdown" folder which functions in the same way as
the "startup" folder does ("C:\Documents and Settings\{username}\Start
Menu\Programs\Startup") (read: drop a program, batch, script, etc into the
folder and it will, on shutdown, be executed).

I've been looking at adding a "logoff script" (running the contents of the
"shutdown" folder) using "gpedit.msc", but realised that I have no idea when
that one actually runs, nor that it had its own place to store its scripts
("C:\WINDOWS\system32\GroupPolicy\User\Scripts\Log off"). And from that
realised that it might perhaps be a good idea to see if someone knows a bit
more about this subject - before trying to recreate something that might be
build-in (but not activated) perhaps ...

Regards,
Rudy Wieser


Ads