I have WDS setup and running and can deploy images with no issue. I'm needing to figure out if I can accomplish a specific task though.

I need to check to see if two files exist on the C drive before the drive is wiped and reimaged. If the files exist, I need to copy them to a mapped drive and put them inside a folder that is named just like the computer. After the computer finishes imaging I need to copy the files back before the "Automated Software Installation" starts.

Yes you can create a new TS and on the 'Select Template' part you have the option for "Custom Task Sequence" which will create a blank TS. Then you can add your scripts to it and test them without having to run the entire OS install everytime. You can access it from inside of Windows by going to:

"\\DeploymentSever\DeploymentShare$\Scripts\LiteTouch.vbs"

I have a TS set up to just install Applications and I access it this way. Saves a lot of time!

Thank you soooo much. That worked like a charm. I know my PRE TS works from yesterday. But when I add it to my main TS, it doesn't seem to be executing. Is there a specific place that I'm suppose to be placing this? Currently I have it inside the State Capture group. It is set to be the first thing ran inside that group. Do I need to place it somewhere else?

I also had 1 other question. I edited my unattend.txt and sysprep.txt to have my video set to 32-bit. After I image the computer, the video settings are set to 16-bit. 32-bit is an option but it doesn't select it after the imaging is over.

I remember having a similar problem with screen resolution. What I found was that during my deployment the Unattend.xml/Sysprep.inf file was not appliled. The settings had to be set in the Capture process Unattend.xml/Sysprep.inf file.

I found this out by mounting my captured WIM file and examing the Unattend.xml/Sysprep.inf file. If you find this to be the case, you can edit the Unattend.xml/Sysprep.inf file and save it back without having to recapture your image.

I used the free tool GImageX, which is just a GUI interface for the ImageX tool from Microsoft, to mount the WIM files.

That does help. I will mount the wim and modify it. I noticed that the %ComputerNam% variable that was used to name the folder in my script is giving the file a random generated name. How can I tell the WDS to look at the current name typed in during the LiteTouch process? Also, can I tell the LiteTouch process to look at the current name of the PC and give us the option to rename it if we want?

The only reason I can think of that you would have a random name is if the copy file script is running in WinPE. How do you start the TS? Are you starting it from within the current OS or are you PXE booting into WinPE?

During the deployment proess it should ask you for a computer name, unless it is disabled in your CustomSettings.ini. Mine has the following line: