SJ98 Posted December 3, 2025 Posted December 3, 2025 Hello, Does anyone happen to have a script that can be ran, either scheduled from a PC or otherwise that will remove Adobe appdata from student's profiles (C Drive specifically)? We currently route our appdata to a students C drive at the moment because if we try to do it to their network drive instead, Adobe really doesn't like it and Dreamweaver/Photoshop start crashing heavily. It doesn't seem to crash much at all if we route it to the C drive of the user instead. I mean, if anyone has any possible solutions where we can route it back to their network drive and not have Adobe crash every 5 minutes, I would happily hear them out too! I am obviously cautious that they will eventually fill up the C Drive and will start having issues loading or being used. Thanks everyone!
glen_j Posted December 3, 2025 Posted December 3, 2025 We have a logoff batch file to remove the temp files. Would just need to change the path. set as a log off script via GPO. @echo off set "TempPath=%LOCALAPPDATA%\Temp" echo Clearing Temp folder: %TempPath% :: Delete all files del /f /q "%TempPath%\*.*" :: Delete all subfolders for /d %%i in ("%TempPath%\*") do rd /s /q "%%i" echo Temp folder cleared successfully. 1
BKGarry Posted December 3, 2025 Posted December 3, 2025 I think you can make a login batch file to do the following del %localappdata%\Temp\*.* /s /f /q This will delete everything in the Temp directory, which is what photoshop uses 2
SJ98 Posted December 4, 2025 Author Posted December 4, 2025 Thanks both for providing batch files. I'll see if either are suitable for us!
Hoyt Posted January 12 Posted January 12 OP I don't know if either of these methods will help you but I thought I'd list them just in case. We have used delprof2 for many years with good results. It is fairly customizable but it does delete the entire user profile (which is fine with me). I have a shortcut to it on my Desktop. A lot of times when I sit down at a user's PC I just run it for general maintenance. If you need to script profile deletion this fellow here has some PS scripts that do it: Delete User Profiles with PowerShell & CIM (I have not tried this method myself). Every few weeks I'll use EMCO remote installer and push through my delprof2 batch files across my segment of the network. It seems that with every version of Windows profiles get larger and larger. I have seen some exceed 75 gigabytes. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now