Re: GPO for logoff.bat to delete the cookie on local drive
From: Lillian (anonymous_at_discussions.microsoft.com)
Date: 06/16/04
- Next message: Arizona Bill: "RE: Assigning user profiles based on OU"
- Previous message: djc: "GPOs and VPN"
- In reply to: Marin Marinov: "Re: GPO for logoff.bat to delete the cookie on local drive"
- Next in thread: Marin Marinov: "Re: GPO for logoff.bat to delete the cookie on local drive"
- Reply: Marin Marinov: "Re: GPO for logoff.bat to delete the cookie on local drive"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Jun 2004 07:39:40 -0700
Marin:
I have logoff.bat file on the c:\ directory, when I
login as glctest1, I double click logoff.bat file,
nothing happen, the cookies is still there, why? also you
mention about del /q "%userprofile%/cookies/*.*", how to
define userprofile ? I also create the separate OU is
call "Deleted cookies" under training1.gov, I did not
modify default domain policy and default domain
controllers policy.
thanks.
Lillian
>-----Original Message-----
><snip>
>Hi Lillian,
>I would suggest you slightly modify your script for two
reasons. First,
>you don't need to connect to the admin share since the
script runs
>locally, plus only member of Administrators can connect
to c$ anyway.
>Second,it's not always guaranteed that the profile will
be named after
>the user's logon name. So here's my idea:
>del /q "%userprofile%/cookies/*.*"
>
>You didn't mention in your post if the domain user
accounts are in the
>OU you linked the GPO to. You're on the right track
here, don't edit the
>default GPOs. Bare in mind that in order for settings
under User
>Configuration to apply to a user her user account must
be in an OU that
>is "hit" by the GPO (directly or from a
parent).Respectively for
>Computer configuration the computer account must be in
such an OU.
>
>Also, in your case you logged off Administrator which
should trigger the
>deletion of Administrator's cookies and not those of
glctest1 which you
>later examined. So while logged on with glctest1 review
the cookies of
>Administrator - they should be gone.
>
>HTH
>--
>Cheers,
> Marin Marinov
> MCT, MCSE 2003/2000/NT4.0,
> MCSE:Security 2003/2000, MCP+I
>-
>This posting is provided "AS IS" with no warranties, and
confers no
>rights.
>
>"True knowledge exists in knowing that you know nothing."
>Socrates
>.
>
- Next message: Arizona Bill: "RE: Assigning user profiles based on OU"
- Previous message: djc: "GPOs and VPN"
- In reply to: Marin Marinov: "Re: GPO for logoff.bat to delete the cookie on local drive"
- Next in thread: Marin Marinov: "Re: GPO for logoff.bat to delete the cookie on local drive"
- Reply: Marin Marinov: "Re: GPO for logoff.bat to delete the cookie on local drive"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|