Re: GPO for logoff.bat to delete the cookie on local drive

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Lillian (anonymous_at_discussions.microsoft.com)
Date: 06/16/04


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
>.
>



Relevant Pages

  • Re: c:Documents and SettingsNetworkService
    ... >hide them from removal tools or using IE to delete cookies. ... My anti virus software was updated. ... I have a separate administrator account that I use for administrive tasks ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Cookies activated but still demand to logon all the time
    ... Try logging on as the true Administrator account, ... new Admin account, ... If you still can't re-register the Shdocvw.dll then take a look at the other ... cookies from being downloaded or renewed. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • RE: Cookie Killer *.bat file that you all have requested :)
    ... You can use %username% variable instead of Administrator to hit the ... > cleans most of the internet rubbish any computer ... > Internet explorer and Netscape browsers, cookies ... > folder, and then go to the other folders, and try ...
    (Focus-Microsoft)
  • Re: unknown added files to Administrator folder
    ... developed by Netscape to enable Web authors to design interactive sites. ... > files got into my Adminstrator folder when I had never used this ... > account up untill last night. ... > this because the last time I deleted cookies, I was not able to access ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Security discussion regarding hubs, firewalls, anti-virus and
    ... User Account Control needs advanced customization features -- I have ... allowing blocking of 3rd party cookies and session cookies ... I tried to drag it to a folder on my links so I could access it ... I looked at the folder and I appear to have full rights. ...
    (microsoft.public.security)