Problem deleting certain user\temp directories

  • Thread starter Thread starter Axtell_089
  • Start date Start date
A

Axtell_089

Guest
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