Hi let me first say good job on the AutoRIS script it has helped me immensley while setting up RIS for our network. I have also got many ideas from your other scripts but I have noticed you using a lot of lines like If fs.FileExists("""%PROGRAMFILES%\Raxco\PerfectDisk\PDcmd.exe""") Then Using environment variables. It was my understanding that you had to expand these to get them to work like you have done in other places: sysdrv = ws.ExpandEnvironmentStrings ("%SYSTEMDRIVE%") These will work in your ws.run lines: ws.Run("""%PROGRAMFILES%\Raxco\PerfectDisk\PDcmd.exe"" /SCHEDBOOT /All /AllDrives"),0,True As it treats them like a command line. I tested this myself using ntregopt which I have added to my install by doing the construct the way you do it which didnt work then expanding it to a variable then using that and it seems to be true. You have used it extensively though which makes me doubt what Im saying. Is it just me or could you clarify this?