Question : Installing software and updates via a batch script.

Hi,

I have to build a few pc images and I'm looking to automate the process with a batch file.

I used GParted to create a FAT32 D:\ partition on the same hard drive as the System Drive (NTFS) and pointed the \Docs and Settings folder to D:\ in a winnt.sif unattend file during the Windows installation.  I had to use FAT32 for the D:\ as NTFS permissions prevented writing a profile to the \Docs and Settings folder on first login, even as Administrator.

I'm now in the process of creating a batch file to;
- Convert the D:\ to NTFS - reboot
- Install SP3 - reboot
- Install Drivers
- Install software and fonts

I can handle SP3, drivers, and fonts, but the convert is causing problems.

I want to name the volume 'Data', leave the drive mounted and convert on next reboot, but I can't specify all of these things in the one command line.

ie.
Data y| convert d: /fs:ntfs /x

This will unmount and convert the drive (Data), but I'd rather leave it mounted in case it causes issues later.

I have considered a VBS script, but I have zero knowledge of VBS and don't know where to start.


Ideas?

Thanks a lot!

Answer : Installing software and updates via a batch script.

Please close this question.  I have resolved it myself.
Thanks
Random Solutions  
 
programming4us programming4us