Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Is there a way to execute a prgm/script at user logoff/shutdown?

14 Apr 2011   #1
pstein

win7pro 64bit
 
 
Is there a way to execute a prgm/script at user logoff/shutdown?

In old WinXP there was a tricky feature in Group Policy editor to execute a script when a User logs off resp. the computer was shutdown.


I do not find this feature in Windos 7 (pro).

is there another way to execute a *.bat batch script at
a) user logoff
b) shutdown?

Peter


My System SpecsSystem Spec
.
14 Apr 2011   #2
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

You can do it in pro and above with gpedit.

Use Startup, Shutdown, Logon, and Logoff Scripts
My System SpecsSystem Spec
Reply

 Is there a way to execute a prgm/script at user logoff/shutdown?




Thread Tools





Similar help and support threads
Thread Forum
Enable user account at logoff/shutdown - server 2008 R2
Hi folks. I've got Server 2008 R2 laptop that I need to transfer files to. Frequently, when I reconnect the mapped drive on the source computer, it disables my account on the laptop. Sometimes I forget to check & re-enable it, causing me to get someone to re-enable my account. I created a...
General Discussion
Switch User then logoff, back to ctrl-alt-del login not previous user
On windows 7 professional 64-bit sp1, if a current user is screen locked, the lock screen indicates the current user name and account is logged on and the computer is locked. I am using Classic Logon in group policy, and under local policy-security options-interactive logon i have it set to...
General Discussion
Forcing user logoff/switch user with Remote Desktop
Here's my issue, I would like to RDP to a Windows 7 laptop. Even with Administrative privledges, it will tell me "Waiting for user to respond". I would like to either switch users via RDP, or force them to log off without prompting. Server is SBS 2008. I already have "Set Rules for remote...
Network & Sharing
Logoff script not running at shutdown
I have a script that launches Ccleaner and needs to run at shutdown. Shutdown scripts do not run within the user space as I understand, so I figured I'd use a logoff script which will run while the user is still logged in. The logoff script works when logging off as expected, but does not run...
General Discussion
Logoff script timeout?
Just wondering if anyone has come across this before. As part of our logoff script we run a backup application to backup users data to the network. In XP we never had a problem, in Windows 7 a few power users have come across a problem. If they have lots of data that's changed, when the script...
General Discussion
Logoff users with a script?
Hello, The issue I have is my co-workers and I share a VM which we remote into, only one person needs access to it at a time. I have been searching for a way that I could set a script to run when I log on which would log off all other users on the system. I have tried to do it with a simple...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:48.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App