Re: Want to run a script at logoff
- From: Meinolf Weber [MVP-DS] <meiweb(nospam)@gmx.de>
- Date: Mon, 15 Jun 2009 06:26:00 +0000 (UTC)
Hello Ashpoint,
If you use gpedit.msc you work locally on the server, in a domina configure GPOs with GPMC and add them to the OUs where either the user or computer is located.
Best regards
Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
We have a Windows 2003 Server domain and WinXPPro workstations that
are all joined to the domain. All my GPO work has been on the server.
Regards,
Michael
"Meinolf Weber [MVP-DS]" wrote:
Hello Ashpoint,
Do you have a domain or only workgroup machines?
Best regards
Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and
confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
Hi Meinolf...
I'm confused about your comment "The GPO with the script has to be
linked to the OU, not container, where the user accounts are
located"
I used the MMC and added the Group Policy Object Editor in the
(default) "Local Computer"
In there, I navigated to User Configuration, Scriots (Login/Logoff)
and selected Logoff.
In there I added \\Myserver\netlogon\logoff.bat
I díd do a GPUpdate /Force AND also revisited the system after
overnight.
The login script still does not run.
"Meinolf Weber [MVP-DS]" wrote:
Hello Ashpoint,
The GPO with the script has to be linked to the OU, not container,
where the user accounts are located. Then you have to wait 90-120
minutes for automatic GPO refresh or run gpupdate /force or reboot.
I assume you have used Group policy management console, gpmc.msc
(console for domain management)? Or did you run Group policy editor
gpedit.msc (locally on the machine)?
Best regards
Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties,
and
confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
I have a small DOS batch file that I would ike to run when a user
logs off their workstation.
I have no experience with Group Policy but laoded the Group Policy
utility in the MMC and "think" I added the file to the right
section for logout scripts. But, the script does not get run.
I've tested the script and it works fine, I just need to know how
to configure the GP so that the script runs on the worksation when
the user logs off.
Maybe someone can direct me to a "dummy's" HowTo step by step to
show me the way?
.
- Follow-Ups:
- Re: Want to run a script at logoff
- From: Ashpoint
- Re: Want to run a script at logoff
- References:
- Re: Want to run a script at logoff
- From: Ashpoint
- Re: Want to run a script at logoff
- Prev by Date: Re: Group policy and Windows Time Service
- Next by Date: Re: Authoring ADM file for x64 machines?
- Previous by thread: Re: Want to run a script at logoff
- Next by thread: Re: Want to run a script at logoff
- Index(es):
Relevant Pages
|
Loading