I added this to a logon script yesterday. Its supposed to delete all temp internet files within folders to remove stuff like outlook OLK temp files
if exist "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\*.*" (
cd "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\*"
del *.* /s /f /q
)
What it actually does is remove all files from temp internet files and users personal U:\ drives files.
Not the folders, just the files. What part of the script specifies it should remove u:\ data??
Currently in the process of restoring a mass of personal data, luckily i caught it before around another 50 people logged in.
Just noticed in active directory under profile settings is the login script that had the code in. Underneath this is the home folder where it connects to U:\
How did the script tie the two together?
if exist "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\*.*" (
cd "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\*"
del *.* /s /f /q
)
What it actually does is remove all files from temp internet files and users personal U:\ drives files.

Currently in the process of restoring a mass of personal data, luckily i caught it before around another 50 people logged in.
Just noticed in active directory under profile settings is the login script that had the code in. Underneath this is the home folder where it connects to U:\
How did the script tie the two together?
Last edited: