Thanks for the help, I modified my script for Shell "%comspec% /c echo o|cacls..." and it worked. The script is not a logon script. It's a technician script to lock the computers for our students in our computer labs. Since we must run programs that are old, some of them need more access, like writing a temp file in the windows folder.