Re: Local Group Policy - User Logoff Scripts



Well...that's what I originally thought. As it currently stands, my domain
account doesn't work (as is the case with several other domain accounts I've
tested). However, I did find a few domain accounts for which the logoff
script worked. These are slightly different accounts (we refer to them as
"Functional" accounts), but I'm not sure at this point what the slight
difference is.

I can query AD to get group memberships and other AD settings, but don't
know if this will tell me anything.

Knowing that I am using local profiles with Group Policy loopback on, is it
possible that a Group Policy is being pushed from the domain level that's
affecting the ability of (some) domain accounts to run logoff scripts?

"Gabe Knuth" wrote:

> So, only regular DOMAIN users are not working correctly...right?
>
> "Paul999" <Paul999@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:8414E03C-29CC-451E-91B2-E02F1DED15FF@xxxxxxxxxxxxxxxx
> >I looked at the policy for the command prompt and configured as you
> >indicated
> > below (the original setting was "Not configured"). As for the permissions
> > on
> > the GPO...
> >
> >> You might also check the permissions on the GPO itself to make sure that
> >> users are given the Apply Group Policy right.
> >
> > ...where do I go to set this?
> >
> > A few more notes on our configuration and testing:
> >
> > - this is a member server of an AD domain (and I only have admin rights on
> > this box and cannot gain access to user account settings on the DC).
> > - I'm having the problems with the network (AD domain) accounts. As a
> > test, I created a local account (non-admin) and logged in with the local
> > account. Upon logging off, the script ran perfectly.
> > - I also enabled "Group Policy Loopback processing" on the server, but
> > that
> > didn't seem to help with network accounts. I wanted to override any
> > (potential) GPO that were pushed from the DC (if any).
> > - I am forcing local user profiles (I don't want to download user's
> > roaming
> > profile to this server)...not sure if this impacts anything.
> >
> > Not sure where to look or debug steps to take at this point.
> >
> >
> > "Gabe Knuth" wrote:
> >
> >> Have you turned on the policy to disable the command prompt for users?
> >>
> >> If so, you could have blocked scripts from running as well. Look in your
> >> GPO and find the "User Config | Administrative Templates | System |
> >> Prevent
> >> Access to the command prompt" policy and ensure that it is set to Enabled
> >> with "also disable script processing" set to NO.
> >>
> >> You might also check the permissions on the GPO itself to make sure that
> >> users are given the Apply Group Policy right.
> >>
> >>
> >> "Paul999" <Paul999@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >> news:E97847C9-2B49-47E2-90F0-0EE90209AE90@xxxxxxxxxxxxxxxx
> >> > I've configured a local group policy on our Win2K Advanced server
> >> > (running
> >> > Terminal Services) to run a script when users logoff. If I log on and
> >> > log
> >> > off as an administrator, the script runs fine. If I log on and log off
> >> > as
> >> > a
> >> > general user, the logoff script never runs (it may attempt to run, but
> >> > doesn't generate an expected output file nor does it give any errors).
> >> >
> >> > When logged on as a general user, I can access the script location
> >> > (%systemroot%\system32\GroupPolicy\User\Scripts\Logoff and run it by
> >> > double-clicking on the .cmd file. When doing this, the script
> >> > generates
> >> > the
> >> > expected output file (in another location). I'm puzzled as to why this
> >> > script won't run upon logging off (unless I'm logged in as an
> >> > administrator).
> >> >
> >> > Is there an alternative method for invoking scripts upon logoff and/or
> >> > is
> >> > there a way to debug this type of an issue?
> >>
> >>
> >>
>
>
>
.



Relevant Pages

  • Re: startup script on local acounts...
    ... Using the local policy should work for local account. ... client add the local group policy snap-in to a MMC. ... > policy to run a user startup script. ... > script works fine for any domain accounts logging into these machines ...
    (microsoft.public.windows.server.active_directory)
  • Re: Changing Local Admin passwords from server ASAP
    ... when I navigate to my workstation from the SBS manage computer mmc and view ... the local users, it's definitely my workstation's local accounts I'm seeing, ... admin rights without increasing their rights elsewhere on the network. ... While certain domain accounts may have ...
    (microsoft.public.windows.server.sbs)
  • Re: It must be simple, but...
    ... Why did you create domain accounts on the server and local accounts on the ... If you MUST share your client drives, ...
    (microsoft.public.windows.server.sbs)
  • Re: Local Group Policy - User Logoff Scripts
    ... What mode are you using in Loopback Processing? ... server and ran the Group Policy Results Wizard from the Group Policy ... I did find a few domain accounts for which the logoff ...
    (microsoft.public.windows.server.general)
  • Re: Permission on share folder xp pro
    ... You are correct that you cannot assign share permissions to anyone other ... What you need to do is set up accounts on the machine for each user who ... you need a winNT4 server or Win2k server to do this. ... also 'central' domain accounts. ...
    (microsoft.public.windowsxp.security_admin)