Thread: Running logoff script for local user Reply to Thread
Your Username: Click here to log in
Image Verification
Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 
Trackback
Send Trackbacks to (Separate multiple URLs with spaces):

Additional Options
Miscellaneous Options

Topic Review (Newest First)
02-20-2009 05:38 PM
Klaus Jorgensen
Re: Running logoff script for local user

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


02-20-2009 03:46 PM
sgrigg
Re: Running logoff script for local user

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
>
>
>
02-20-2009 03:25 PM
Klaus Jorgensen
Re: Running logoff script for local user

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


02-20-2009 03:00 PM
sgrigg
Running logoff script for local user

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!

Posting Rules
You may not post new threads
You may 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 On