AGenMIS
asked on
W2K3 Group Policy Shutdown Script
I created a batch file to delete temp files. I added this file to the shutdown script in Group Policy but it doesn't seem to be deleting my temps. Will this work through Group Policy? Below is what I came up with.
RD /S /Q %temp%
RD /S /Q C:\Windows\Temp
RD /S /Q %temp%
RD /S /Q C:\Windows\Temp
ASKER
Making it a logoff script worked. Any way to get it to work if I want to make it a shut down script?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can also try "del %temp%\*.* /s /q"