PC Review


Reply
Thread Tools Rate Thread

Running logoff script for local user

 
 
sgrigg
Guest
Posts: n/a
 
      20th Feb 2009
Running logon/logoff script for a domain user is easy through group policy.
I've figured out how to use the runonce key (set via Group Policy) to run a
logon script for a local user but can't figure out how to run a script when a
local user logs off. The local user is defined on most workstations and
always has the same name. It doesn't matter to me if the same script runs
for all users as long as it runs for the local users as well.

Thanks!
 
Reply With Quote
 
 
 
 
Klaus Jorgensen
Guest
Posts: n/a
 
      20th Feb 2009
After serious thinking sgrigg wrote :
> Running logon/logoff script for a domain user is easy through group policy.
> I've figured out how to use the runonce key (set via Group Policy) to run a
> logon script for a local user but can't figure out how to run a script when a
> local user logs off. The local user is defined on most workstations and
> always has the same name. It doesn't matter to me if the same script runs
> for all users as long as it runs for the local users as well.


Run gpedit.msc on a workstation as you do in AD for a domain user.

--
/klaus


 
Reply With Quote
 
 
 
 
sgrigg
Guest
Posts: n/a
 
      20th Feb 2009
I should have mentioned that I am in a domain environment and want this
logoff script to affect all workstations. I'm not about to visit every
workstation and edit the local policy

"Klaus Jorgensen" wrote:

> After serious thinking sgrigg wrote :
> > Running logon/logoff script for a domain user is easy through group policy.
> > I've figured out how to use the runonce key (set via Group Policy) to run a
> > logon script for a local user but can't figure out how to run a script when a
> > local user logs off. The local user is defined on most workstations and
> > always has the same name. It doesn't matter to me if the same script runs
> > for all users as long as it runs for the local users as well.

>
> Run gpedit.msc on a workstation as you do in AD for a domain user.
>
> --
> /klaus
>
>
>

 
Reply With Quote
 
Klaus Jorgensen
Guest
Posts: n/a
 
      20th Feb 2009
sgrigg laid this down on his screen :
> I should have mentioned that I am in a domain environment and want this
> logoff script to affect all workstations. I'm not about to visit every
> workstation and edit the local policy


It's good exercise. :-)

Haven't seen any info other than using a utilily like RegShot and see
what gpedit.msc is doing to the registry. No definite answer, though.

--
/klaus


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple User Logoff and Logon -- Can't Just Logoff -- Must Restar CLE Windows XP General 0 24th Sep 2008 04:02 AM
Problem adding local user to local group or deleting local user fkitzmann Microsoft Windows 2000 4 16th Feb 2008 04:02 AM
Local Group Policy logoff script =?Utf-8?B?RHJ1bW1lcjk5MDk=?= Microsoft Windows 2000 Group Policy 4 29th Oct 2004 02:39 PM
local logoff script problem for non-admin users Der Kaiser Microsoft Windows 2000 CMD Promt 2 3rd Nov 2003 02:44 PM
local logoff script problem for non-admin users Der Kaiser Microsoft Windows 2000 Group Policy 0 30th Oct 2003 01:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:54 AM.