New
#1
Execute Program in Batch File As Administrator (Or Other Solution)
We use a program called TFC.exe (Temp File Cleaner - addpcs.com) to wipe all sorts of temp files off a computer on a monthly basis.
The older version was a standalone .exe that users used to execute from a a folder on a server. The newer version is actually installed on each user's PC.
If TFC it is not run in administrator mode, it is limited to wiping the temp files as allowed by users file permissions. Most of our users do not have admin privileges, and thus, the system files and other user profiles that may be on the computer do not get cleaned.
What I want to do is allow this one program to execute in admin mode, either by having the user execute a batch file (or batch file converted to exe) using a shortcut, or maybe by automatically running it via the task scheduler.
The open ended question is: Can this be accomplished or am I going to have to log in to each computer to run as admin?
TIA.