Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Script to delete content in c:\windows\temp

$
0
0

Hi, I want to remove content of c:\windows\temp on all of computers in my domain.

I'm using script like that

"rmdir /S /Q c:\windows\Temp"

and it's working on my local computer, when I run it

I've pasted the bat file to DC Sysvol lacation, and I've configured shutdown script in GPO Computer Configuration.

When i reboot my computer it doesn't clean Temp location.

Could you give me a hand?

Thanks

Ernest


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>