Discussion Locked

logoff script not doing its job

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Howdy all, I have a quick question for you.... I am using a logoff script via group policy to clear the browser history at logoff, but it isnt doing its job. I am using one I found on the web called exp.cmd it's verbatim is:

cd %homedrive%%homepath%
rd /s/q cookies
rd /s/q locals~1\history
rd /s/q locals~1\tempor~1

What happens is the machine fereezes at "running logoff scripts" and you have to hardwire reset to continue :( I tried removing the last line and then it will log out properly, but wont clear the websites visited. Any ideas?
THX all!
Kalapper

4 replies

by kalapper

I forgot to mention, I think it may be due to the group policy security I have applied. It is a user account that I am trying this on, so it is tight. If necessaqry I will just do it on the image before I ghost it and hopefully it will work then. Anyway, thanks gals/guys!
Kalapper

by kalapper

I forgot to mention, I think it may be due to the group policy security I have applied. It is a user account that I am trying this on, so it is tight. If necessaqry I will just do it on the image before I ghost it and hopefully it will work then. Anyway, thanks gals/guys!
Kalapper

by kalapper

Oh Yes, and I am not interested in using a 3rd party utility, Ive been mandated no xtra software is to be used.
THX!
Kalapper

by rgun2515

What are the users permissions set as? I am assuming you are using XP pro on a windows domain. Does the user have full permissions over the directory you are tiring to delete?

This discussion is closed to new replies.