c:\winnt\labsetup\tools\sdelete -p 7 -s -q "c:\documents and
settings\student\*"
rmdir /s /q "c:\documents and settings\student"
mkdir "c:\documents and settings\student"
c:\winnt\labsetup\xcacls "c:\documents and settings\student" /G
Administrator:F /T /E /Y
c:\winnt\labsetup\xcacls "c:\documents and settings\student" /G
SYSTEM:F
/T /E /Y
c:\winnt\labsetup\xcacls "c:\documents and settings\student" /G
Student:F /T /E /Y
xcopy c:\winnt\labsetup\student\*.* "c:\documents and settings\student"
/e /s /c /y /h /q /r
[Unattended]
ExtendOemPartition=1
OemSkipEula = Yes
;InstallFilesPath = "c:\sysprep\i386"
[GuiUnattended]
AdminPassword = Put in admin password
OemSkipWelcome = 1
TimeZone = 010
OEMSkipRegional=1
AutoLogonAccountCreation = "Yes"
[UserData]
FullName = "Student"
OrgName = "LAB"
ComputerName=*
;ProductKey= "QJDPG-MWFFK-HF6M2-M8CWR-2KXQQ"
[Identification]
;DomainAdmin = "CORPDOM\AcctAddID"
;DomainAdminPassword = Domain password
JoinWorkGroup = "LAB"
[Sysprep]
BuildMassStorageSection = Yes
[SysprepMassStorage]
[Networking]
- ProductKey is the VLA
(Volume License) key you get from
Microsoft.
- If you want the lab machine
to join the Windows domain fill out
DomainAdmin and DomainAdminPassword variables
When you are done invoke Sysprep with following arguments
c:\sysprep\tools\sysprep
-quiet -mini -reboot
Now you can use imaging software to make a master image and deploy it
to other machines.
I have
been using G4U from
http://www.feyrer.de/g4u/#reqs
to image machines.
Burn the ISO image to a CD. Set up an FTP server somewhere and create
an FTP user with a password. I will call it installuser.
- Boot off of a G4U CD
- When the prompt shows up type
- GZIP=3 uploaddisk
installuser@ftpserver.IP.address image-deploy.gz
- You will be prompted for a
password. Enter installuser's password you set
- You should now get a blank
screen showing upload progress
- This will take about 30-40
minutes
- When done please take G4U
download CD and reboot the
machine by
typing reboot
- You are done with creating a
master image
- Boot off of a G4U CD
- slurpdisk installuser@ftpserver.IP.address image-deploy.gz
- You will be prompted for a
password. Enter anything
- You should now get a blank
screen showing download progress
- This will take about 30-40
minutes
- When done please take G4U
download CD and reboot the machine by
typing reboot
Author:
Vladimir Vuksan.
Date Modified: $Date: 2005-09-07 15:44:26 -0400 (Wed, 07 Sep 2005) $
Credit
should go to Alex Seazzu for pointing out ways of protecting the
machine using NTFS permissions