Jump to content

Recommended Posts

Posted

Hi I have recently a server to do run RIS. Its all working correctly apart from the runonce commands.

This is my answer file-

;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=FullUnattended

OemSkipEula=Yes

OemPreinstall=No

TargetPath=\WINDOWS

FileSystem=LeaveAlone

NtUpgrade=No

OverwriteOemFilesOnUpgrade=No

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

AutoLogon=Yes

AutoLogonCount=1

OEMSkipRegional=1

TimeZone=290

OemSkipWelcome=1

[userData]

ProductKey=J4F7C-3BPY9-47VY6-2QYHP-6VWYT

FullName="Owner"

OrgName=""

ComputerName=%MACHINENAME%

[Display]

BitsPerPel=24

Xresolution=800

YResolution=600

[TapiLocation]

CountryCode=64

Dialing=Tone

AreaCode=03

[RegionalSettings]

LanguageGroup=1

SystemLocale=00001409

UserLocale=00001409

InputLocale=1409:00000409

[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

[branding]

BrandIEUsingUnattended=Yes

[Proxy]

Proxy_Enable=0

Use_Same_Proxy=0

[GuiRunOnce]

\\risk-server\c$\presp3\setupnew.bat

Now if i type the runonce command into run once windows has installed it works fine but it just won't do it automatically. Any help on what I'm doing wrong would be greatly appreciated.

The batch file just installs all the windows xp updates and adobe reader ETC.

Regards

Adam


Posted

There are some issues in using a remote file in the GUI run once portion - if perhaps you made a local file that instead did the same thing, would it work properly in this way?

Posted

The GuiRunOnce command is executed at the first logon. Since this is an AutoLogon, the command runs in the local Administrator account context. This account most likely can't access the \\risk-server\c$ share. Try running the batch file from a local folder as cluberti suggested.

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...