Re: Want to run a script at logoff



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?



.



Relevant Pages

  • Re: Getting desperate: GPO applying incorrectly, PLEASE HELP ME!!
    ... GPO security settings from the defauts. ... Restart the workstation computer and the Terminal server, ... I've chosen these settings only because the affect is easy to observe. ... add check mark in the Deny column for Apply Group Policy ...
    (microsoft.public.windows.group_policy)
  • Re: User Profiles
    ... Windows Server 2003. ... effects of another GPO, ... the shared folder - enabled various other settings - enabled GPO ... 231287 - Loopback Processing of Group Policy ...
    (microsoft.public.windows.terminal_services)
  • Re: GPO delivered User rights for unique local account.
    ... You do not need to install adminpak to alter GPO settings, ... If you were to use gpedit (as from an adminpak install) on a XP Pro at SP2 ... For server A you now need LocalAccountA1 in a certain user right. ... local group policy or if one used uniformly named machine local ...
    (microsoft.public.win2000.security)
  • Re: Group Policy to control custom server application
    ... You'll be hard-pressed to do this via GPO. ... There is no remote notification mechanism in Group Policy that you can rely on. ... I don't see how you can let the server app know that the client has logged on without some kind of event-based notification communication between client and server. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Unable to save GPO edits in Windows 2003 Small Bussiness Serve
    ... I am able to create GPO's on my test server and edit them as ... to delete the GPO at the very least. ... Group Policy Management "The server is unwilling to process the request" ...
    (microsoft.public.windows.server.sbs)

Loading