OK, I give up. I have been searching the net for the last couple of weeks and have not been able to figure this out. Here is what I need to do. I need to check for the existence of the app directory and the profile directory before the unattended install of XP. If the folders exist, I want to rename them to preserve the old data so the install can create new instances of the folders. I also need to make sure that all drives are formatted before the install starts because the unattended install errors out registering dlls if they are not. This is because I am putting the apps folder and profiles folder on the d drive. I tried using the detachedprogram option but this did not work. Microsoft documentation states that this runs along with the install so I believe that is why. I have also tried using Bart’s PE to launce the XP setup from there but found it to be somewhat flaky. Does anyone have suggestions as to how I should go about doing this?