I have classrooms computers require maintenance and manages,
when logged into (as) admin profile, need to run a batch file (below) to delete/remove history FROM other user profile,
Question., what's the correct input to execute that?
(%USER_PROFILE%\%TEMP%\) ?!
-----------
@echo off
REM Clears Temporary Internet Files
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
REM Clears Cookies
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
REM Clears History
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
REM Clears Form Data
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
REM Clears Passwords
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
REM Clears Delete All
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
REM Delete All - "Also delete files and settings stored by add-ons"
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
echo y | chkdsk /f /r
echo y | gpupdate /force
echo enter 'shutdown -a' to abort the shutdown
start "" shutdown -f -r -t 30
exit