G
Guest
Guest
Archived from groups: microsoft.public.win2000.group_policy (More info?)
I want to create the logoff.bat file for delete the
cookie on local machine with GPO, but is not working,
here is what I did, the logoff.bat like this:
echo off
del /q " \\%computername%\c$\documents and settings\%
username%\cookie\%username, so when I test on command
prompt it work no problem,no mater I login as
administrator or glctest1 (user name), I am running
nt2003 server, so I open the GPMC, create an GPO
name "deleted cookies", and copy the logoff.bat file into
c:\training1.gov\sysvol in
traing1.gov\training1.gov\policy\{54A172EB-DD19-4E38-A3C1
\user\scripts\logoff directory, then I did the gpupdate,
when I edit the GPO, I select user configuration--
>windows settings\scripts\logoff, add logoff.bat in there.
so logoff administrator, then login glctest1, then I
search c:\documents and settings\glctest1.training1
\cookies\, all the cookies still there, what is wrong
wiht my GPO, in order for make this work, should I edit
the default domain controller policy or default domain
policy under Group Policy Objects, I don't know I am
doing this right or not. need help.
Thanks.
Lillian
I want to create the logoff.bat file for delete the
cookie on local machine with GPO, but is not working,
here is what I did, the logoff.bat like this:
echo off
del /q " \\%computername%\c$\documents and settings\%
username%\cookie\%username, so when I test on command
prompt it work no problem,no mater I login as
administrator or glctest1 (user name), I am running
nt2003 server, so I open the GPMC, create an GPO
name "deleted cookies", and copy the logoff.bat file into
c:\training1.gov\sysvol in
traing1.gov\training1.gov\policy\{54A172EB-DD19-4E38-A3C1
\user\scripts\logoff directory, then I did the gpupdate,
when I edit the GPO, I select user configuration--
>windows settings\scripts\logoff, add logoff.bat in there.
so logoff administrator, then login glctest1, then I
search c:\documents and settings\glctest1.training1
\cookies\, all the cookies still there, what is wrong
wiht my GPO, in order for make this work, should I edit
the default domain controller policy or default domain
policy under Group Policy Objects, I don't know I am
doing this right or not. need help.
Thanks.
Lillian