This is correct. At the start of the .bat file, it's best to call caspol with the -reset parameter, which sets all policies back to their defaults. Also, use the polchgprompt off parameter, otherwise caspol will expect user input for each alteration.