We help IT Professionals succeed at work.

Is there something like a shutdown folder?

sciuriware
sciuriware asked
on
1,330 Views
Last Modified: 2008-04-24
I know the startup folder and its usage.
Now, is there something in XP that enables me to run a program at EXIT,
that is: a program is started when I log off (or shutdown).

A raggy solution is to start a background process from the startup folder that
gets an exit when I log off, but as there is a logoff sound, there must be a better way to close down.

;JOOP!
Comment
Watch Question

Technical Architect
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
I fear that 'gpedit.msc' (probably in system32) is not part of the Home Edition.

;JOOP!
Pete LongTechnical Architect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Ouch! Yes it is sorry m8
Pete LongTechnical Architect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
You will need a third party app, look at something like http://www.winability.com/active-exit/
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Krompton, I got XP Professional too, on my laptop.
Your solution could imply that copying 'gpedit.msc' would be possible.

;JOOP!

Commented:
I'm not sure that it would be quite that simple. But yes I think in theory you could get gpedit.msc to operate on Home. I was successful helping someone get secondary logon service from Pro to work on XP Embedded.
If you have access to a Pro machine it may be simpler to input the gpedit settings you want there then export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts to a reg file and import on the target machine.

Cheers

Author

Commented:
Unfortunately:   gpedit.msc does not work on Home Edition,
and the Registry branch is not 'seen' under Home Edition.

So, thank you all, I'm going for my own primitive solution: a process that receives an exit on logoff.

;JOOP!
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.