Problem deleting certain user\temp directories

A

Axtell_089

I perform maintenance on several Windows 10 VMs that contain many users on each VM. I use this clumsy batch file from administrative command prompt to automate the process.del /s/f/q C:\Users\user1\AppData\Local\Temp\*.*del /s/f/q C:\Users\user2\AppData\Local\Temp\*.*del /s/f/q C:\Users\user3\AppData\Local\Temp\*.*..and so forth.Problem is the directories that get left behind accumulate enough to cause performance issues. I can delete these as administrator from file explorer and using rmdir /s from administrative command prompt, but neither of can be automated. Here is an example of the ma

Continue reading...
 
Back
Top Bottom