Hi everyone,
Thank you very much for your help in advance.
I wrote a script and put it in our group policy/user/scripts/logon/logoff. I
make sure both "show files" and "the field" points to the same file. However,
the script never run.
In the script, I put down:
@echo off
@echo The script is running
del "%userprofile%\Cookies\*.*" /s /q
del "%userprofile%\Local Settings\Temporary Internet Files\*.*" /s /q
I just tried to remove the temp files eveytime the user log off. This does
not even run. I am pretty sure I put in a right OU with a right user.
Hope you can help.
Thank you.
Bobson
|
|
0
|
|
|
|
Reply
|
Utf
|
1/5/2010 9:14:02 PM |
|
How is the script included in the gpo? Usually when something like this
fails the script is inaccesible at logon time.
Check out Petri and Mueller, two mvp's that detail the steps needed
http://www.petri.co.il/setting-up-logon-script-through-gpo-windows-server-2008.htm
http://www.rlmueller.net/LogonScriptFAQ.htm
--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4
Microsoft's Thrive IT Pro of the Month - June 2009
http://www.pbbergs.com
Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.
"Bobson" <Bobson@discussions.microsoft.com> wrote in message
news:FF9B6D0A-0FB6-421F-A3EA-23D5B80C8D89@microsoft.com...
> Hi everyone,
>
> Thank you very much for your help in advance.
>
> I wrote a script and put it in our group policy/user/scripts/logon/logoff.
> I
> make sure both "show files" and "the field" points to the same file.
> However,
> the script never run.
>
> In the script, I put down:
>
> @echo off
> @echo The script is running
> del "%userprofile%\Cookies\*.*" /s /q
> del "%userprofile%\Local Settings\Temporary Internet Files\*.*" /s /q
>
> I just tried to remove the temp files eveytime the user log off. This does
> not even run. I am pretty sure I put in a right OU with a right user.
>
> Hope you can help.
>
> Thank you.
>
> Bobson
|
|
0
|
|
|
|
Reply
|
Paul
|
1/5/2010 9:46:52 PM
|
|