Jump to content


Sign in to follow this  
anyweb

SYSPREP.INF in XP

Recommended Posts

;SetupMgrTag

 

 

 

[unattended]

 

OEMPnPDriversPath="drivers\audio;drivers\nic;drivers\video;drivers\video_si;drivers\audio;drivers\net;drivers\usb;drivers\video_ju;drivers\netbc44"

 

InstallFilesPath=C:\sysprep\i386

 

OEMSkipEula=Yes

 

 

 

 

 

[GuiUnattended]

 

AdminPassword=lalala

 

AutoLogon=Yes

 

AutoLogonCount=1

 

OEMSkipRegional=1

 

OEMDuplicatorstring="windows-noob"

 

TimeZone=110

 

OemSkipWelcome=1

 

 

 

 

 

[userData]

 

FullName="windows-noob"

 

OrgName="windows-noob"

 

ComputerName=

 

ProductKey = "Y34HR-1GHTU-W15HU-D4MND-L4M3R'

 

 

[GuiRunOnce]

 

"C:\winnt\start.bat"

 

"C:\winnt\second.bat 1"

 

"shutdown -r -t 60"

 

 

 

 

 

[Display]

 

BitsPerPel=32

 

Xresolution=800

 

YResolution=600

 

Vrefresh=72

 

 

 

[identification]

 

DomainAdmin = Administrator

 

DomainAdminPassword = lalala)N123

 

JoinDomain = RIS2

 

MachineObjectOU = "OU = Ris2 Clients,DC = adm,DC = theoffice,DC = uk"

 

 

 

[Networking]

 

InstallDefaultComponents=Yes

 

 

 

[sysprepcleanup]

Share this post


Link to post
Share on other sites

Alright I see your sysprep.inf file here and I see mine. Mine is pretty much the default but what I want it to do is when the computer restarts after pulling that image down.. I do not want to have to join the domain and all of those options where you have to keep clicking next. The only thing I want to have to do is name the computer.

 

I am going to do some more reading here and see if I cannot figure this out but do you have a full how-to on how to do this, I was unable to find one?

Share this post


Link to post
Share on other sites

Okay I have it fully automated now here is my last question..

 

to get it to join the correct OU here is what I read

 

MachineObjectOU="OU=Desktops,OU=Machines,DC=Domain,DC=local"

 

Now from what I understand of that here is what I put

MachineObjectOU="OU=PATHFINDER,OU=Computers,DC=pathfinder.com,DC=local"

 

Here is what my AD tree looks like:

 

ADUC

<Saved Queries

<pathfinder.com

<<administrators and admingroups

<<Builtin

<<Computers

<<Domain Controllers

<<PATHFINDER

<<<Computers

<<<Printers

<<<Servers

<<<Users and Groups

 

I want it to put the new computers in the Computers OU under PATHFINDER. Is what I typed going to do that?

Share this post


Link to post
Share on other sites

Okay I have it fully automated now here is my last question..

 

to get it to join the correct OU here is what I read

 

MachineObjectOU="OU=Desktops,OU=Machines,DC=Domain,DC=local"

 

Now from what I understand of that here is what I put

MachineObjectOU="OU=PATHFINDER,OU=Computers,DC=pathfinder.com,DC=local"

 

Here is what my AD tree looks like:

 

ADUC

<Saved Queries

<pathfinder.com

<<administrators and admingroups

<<Builtin

<<Computers

<<Domain Controllers

<<PATHFINDER

<<<Computers

<<<Printers

<<<Servers

<<<Users and Groups

 

I want it to put the new computers in the Computers OU under PATHFINDER. Is what I typed going to do that?

 

 

teh command follow the bottom to top hirarchy .You will need to specifiy the child ou followed by Childs parent OU's

like MachineObjectOU="OU=computers,OU=PATHFINDER,DC=pathfinder,DC=com"

 

Share this post


Link to post
Share on other sites

Hi, I'm hoping someone can look at my sysprep.sif and WDSunattended.xml and tell me what I am doing wrong. I have setup my WDS as per the excellent instructions on this forum and I can deploy my XP image fine. It only takes 20 minutes which is fantastic again.

 

However, I want to automate the entire process from start to finish. Just to give you some backup ground I have a Windows 2003 server SP2 that has WDS setup on it.

 

In WDS, under Myserver.local/images I have

WDS - Windows XP Capture - the physical path for the is e:\remoteinstall\images\windows xp image\testcapture.wim

WDS - Windows XP Deployment

 

I have syspreped a machine and stored the image in the above location. When manually deploying the image it works fine no problem.

 

What I trying to do now is completely automating the process of

A)formatting the hard disk

B)Select the image and install it completely in unattended mode.

 

I have created a sysprep.sif file which is sitting in e:\remoteinstall\images\windowsxpimage\$oem$\$1 and looks like this

 

 

;SetupMgrTag

[Data]

AutoPartition=1

MsDosInitiated="1"

UnattendedInstall="Yes"

floppyless="1"

OriSrc="\\%SERVERNAME%\RemInst\%INSTALLPATH%"

OriTyp="4"

LocalSourceOnCD=1

 

[setupData]

OsLoadOptions="/noguiboot /fastdetect"

SetupSourceDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"

 

[unattended]

UnattendMode=ProvideDefault

OemPreinstall=No

TargetPath=\WINDOWS

FileSystem=LeaveAlone

NtUpgrade=No

OverwriteOemFilesOnUpgrade=No

 

[GuiUnattended]

AdminPassword=b6b1aa9b9bb2da02e034c60fa8ac8477eade334b884441b523fdb791c93f0a56

EncryptedAdminPassword=Yes

OEMSkipRegional=1

TimeZone=%TIMEZONE%

 

[userData]

ProductKey=xxxx-xxxx-xxxxx-xxxxx-xxxxx

FullName="myname"

OrgName="mycompaney"

ComputerName=%MACHINENAME%

 

[Display]

BitsPerPel=24

Xresolution=1024

YResolution=768

Vrefresh=60

 

[RegionalSettings]

LanguageGroup=1

SystemLocale=00000809

UserLocale=00000809

InputLocale=0809:00000809

 

[setupMgr]

DistFolder=C:\windist

DistShare=windist

 

[identification]

JoinDomain=%MACHINEDOMAIN%

DoOldStyleDomainJoin=Yes

 

[Networking]

InstallDefaultComponents=Yes

ProcessPageSections=Yes

 

[RemoteInstall]

Repartition=Yes

 

[OSChooser]

Description="Windows Professional - Standard Installation"

Help="This will install Windows Professional in a standard configuration."

LaunchFile="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"

ImageType=Flat

 

and I have an wdsunattended.xml file sitting in E:\RemoteInstall\WdsClientUnattend. I have linked this file to my wds root, client properties. The file looks like

 

<?xml version="1.0" ?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

<WindowsDeploymentServices>

<Login>

<WillShowUI>OnError</WillShowUI>

<Credentials>

<Username>myadmin</Username>

<Domain>mydomain</Domain>

<Password>mypassword</Password>

</Credentials>

</Login>

<ImageSelection>

<WillShowUI>OnError</WillShowUI>

<InstallImage>

<ImageName>WDS - Windows XP Deployment</ImageName>

<ImageGroup>Boot Images</ImageGroup>

<Filename>e:\RemoteInstall\Images\Windows XP Image\xptestcapture.wim</Filename>

</InstallImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

</ImageSelection>

</WindowsDeploymentServices>

<DiskConfiguration>

<WillShowUI>OnError</WillShowUI>

<Disk>

<CreatePartitions>

<CreatePartition>

<Order>1</Order>

<Type>Primary</Type>

<Extend>true</Extend>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition>

<Active>true</Active>

<Extend>false</Extend>

<Format>NTFS</Format>

<Label>OS</Label>

<Letter>C</Letter>

<Order>1</Order>

<PartitionID>1</PartitionID>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

</DiskConfiguration>

</component>

<component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

<SetupUILanguage>

<WillShowUI>OnError</WillShowUI>

<UILanguage>en-UK</UILanguage>

</SetupUILanguage>

<UILanguage>en-UK</UILanguage>

</component>

</settings>

</unattend>

 

However, This does not seem to have had little effect. Sorry for the rather long winded post, but I've tried to give as much information as possible, so as to give a clear picture of where I am at. Many thanks in advance for any help. Kind Regards.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...