|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Deleting temporary Internet files from logon.batWe have problems (as many other) to have GPO delete cached profiles from a w2k server. Hence I thought I'd delete it manually from logon.bat when the user logs in. I added the following line to logon.bat: del /F /S /Q "\\server4\e$\home\%USERNAME%\profile\Local Settings\Temporary Internet Files\*.*" However I get an access denied error. The same occurs when I try to issue the above command when the user is logged in. I thought that users were free to delete contents in their own profile.?? Any (other) clue(s) on how to force deletion of 'unnecessary' contents in cached profiles? regards Gene
Show quote
Hide quote
"Gene Rofssey" <gen***@gmail.com> wrote in message Try this command instead, first from a Command Promptnews:e43rBJ1QGHA.5728@tk2msftngp13.phx.gbl... > Hi, > > We have problems (as many other) to have GPO delete cached profiles from a > w2k server. > > Hence I thought I'd delete it manually from logon.bat when the user logs in. > I added the following line to logon.bat: > > del /F /S /Q "\\server4\e$\home\%USERNAME%\profile\Local Settings\Temporary > Internet Files\*.*" > > However I get an access denied error. The same occurs when I try to issue > the above command when the user is logged in. I thought that users were > free to delete contents in their own profile.?? > > Any (other) clue(s) on how to force deletion of 'unnecessary' contents in > cached profiles? > > regards > > Gene and then via logon.bat: rd /s /q "\\server4\e$\home\%USERNAME%\profile\Local Settings\Temporary Internet Files\content.ie5" |
|||||||||||||||||||||||