can you post a sample of the script? im not so sure about the registry issue so a look at the code may help. the problem with the second is a directory issue. ive had it before. since WPI runs the script from a different directory, the working directory changes. are you using "Run" or "ShellExecute" because ive had this issue with ShellExecute and "Run" seems to work differently.