The file path needs quotations: CD "C:\Program Files\Microsoft Office\Office14" and RUNAS will prompt for a password unless you include it in the script. If you are using the K1000, I would skip the RUNAS command and use the Scripting module to run the script as a specific user.