A "solution" would be to run those bats/scripts with another computer account credentials. So, if you have computerA, with 2 users, U1 and U2, which will use the computer. Create a 3rd user, U3; create an scheduled task, and set your task to run the bat (for deleting and other administrative tasks) under the U3 account, at computer start-up (if the users log-on many times, without the computer to be restarted, the task will only be executed at computer start-up), or to be run regularly - but this is a "dangerous" setting -> if your user just uses the files you want to modify?