Jump to content

Recommended Posts

Posted

Hi, im trying to make full unattended xp sp2 installation cd, but seems like my cmdlines.txt doesnt work... There is no problem with copying files from $OEM$ directory to the hard drive / system folder, but files i want to execute using cmdlines dont run/open. I tried to put "pause" in cmdlines.txt, so it should probably show 'press any key...' in a cmd window, but i dont see it while installing, maybe i missed something in winnt.sif? :/

This is my Winnt.sif:

;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
Repartition=Yes
UnattendSwitch="Yes"
WaitForReboot="No"
Hibernation=No

[GuiUnattended]
AdminPassword=xxx
EncryptedAdminPassword=Yes
OEMSkipRegional=1
TimeZone=100
OemSkipWelcome=1

[UserData]
ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
FullName="xxx"
OrgName=""
ComputerName=xxx

[Display]
BitsPerPel=32
Xresolution=1280
YResolution=1024
Vrefresh=85

[RegionalSettings]
LanguageGroup=1
Language=00000809

[Identification]
JoinWorkgroup=xxx

[Networking]
InstallDefaultComponents=Yes

Cmdlines.txt:

[Commands]
"users.cmd"
"test.cmd"

users.cmd:

net user test /add
net localgroup Administrators test /add
net localgroup Users test /delete
net accounts /maxpwage:unlimited

EXIT

test.cmd:

(i made this file to check if cmdlines was executed, it worked once i believe :P)

MKDIR C:\test

EXIT

My cd looks like this ->

root

|- $OEM$

| |

| |- $1

| |- $$

| |- Cmdlines.txt

| |- users.cmd

| |- test.cmd

|

|- I386 (this is untouched folder from original xp cd)

|- autorun.ini etc...


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...