Jump to content

Recommended Posts

Posted

I know this topic has been visited 37 times in as many days, but I'm still encountering problems.

Win 2000 SP4 RIS

Win XP SP1a clients

SIF installation works flawlessly...up to the point of actually logging on the first time. I'm joined to a domain so I understand that the local admin account is disabled by default. Changing the switch (DisableAdminAccountOnDomainJoin) from 1 to 0 does not correct this behavior. I'm also unable to run any batch files, etc., as the system will not automatically log in for the first time to execute the GUIRunOnce.

Any pointers? Thanks@


Posted

I'll take a shot. Been hitting the RIS installations hard this week myself. Can you post your risstndrd.sif and your other cmd files you're using (blank the keys!)?

As far as the local admin account being disabled on first boot, I'm not experiencing this myself. And the only difference in my setup is a W2K3 SBS server. Have you tried to logon to the newly RIS'ed PC as local admin with success (not autologin)?

As far as the batch files, everything in the XP guide and steps on this site works with RIS. It's beautiful. Post your sif and batch files and we'll try to get something working! :)

Posted

I can login with normal domain accounts, but the local admin is disabled (no login!). If I enable the local account (remotely) before it attempts to login, the entire operation succeeds flawlessly.

---XPinstall.sif-----------

[data]

floppyless = "1"

msdosinitiated = "1"

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

OriTyp = "4"

LocalSourceOnCD = 1

DisableAdminAccountOnDomainJoin = 0

[setupData]

OsLoadOptions = "/noguiboot /fastdetect"

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

[unattended]

OemPreinstall = yes

NoWaitAfterTextMode = 0

FileSystem = LeaveAlone

ExtendOEMPartition = 0

TargetPath = \WINDOWS

OemSkipEula = yes

InstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"

LegacyNIC = 1

[userData]

FullName = "Employee"

OrgName = "Company"

ComputerName = %MACHINENAME%

ProductID="xxx"

[GuiUnattended]

OemSkipWelcome = 1

OemSkipRegional = 1

TimeZone = %TIMEZONE%

AutoLogon=Yes

AutoLogonCount=1

AdminPassword = "xxx"

[userInfo]

Identity000="bob"

[Display]

BitsPerPel = 32

XResolution = 1024

YResolution = 768

VRefresh = 60

[Networking]

[NetServices]

MS_Server=params.MS_PSched

[identification]

JoinDomain = %MACHINEDOMAIN%

CreateComputerAccountInDomain = No

DoOldStyleDomainJoin = Yes

[GuiRunOnce]

Command0="c:\windows\cleanup.cmd"

[RemoteInstall]

Repartition = Yes

UseWholeDisk = Yes

[OSChooser]

Description ="Windows XP Professional SP1a"

Help ="Automatically installs Windows Professional with Service Pack 1a"

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

ImageType =Flat

Version="5.1"

---cleanup.cmd-----------

md c:\Temp

rd /q /s c:\pnpdrvrs

Posted

I've just read that if you eliminate the DisableAdminAccountOnDomainJoin parameter from your .sif file, you'll be ok. I don't have that parameter in any of my .sif files and haven't experienced a disable admin account yet. Have you tried it without the setting in your .sif?

Posted

Here's what I got that lets me Auto Login as Admin to do my program installs:

ristndrd.sif

[data]
floppyless = "1"
msdosinitiated = "1"
OriSrc = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
OriTyp = "4"
LocalSourceOnCD = 1

[SetupData]
OsLoadOptions = "/noguiboot /fastdetect"
SetupSourceDevice = "\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"

[Unattended]
OemPreinstall = Yes
UnattendMode = FullUnattended
UnattendSwitch = yes
OemPnPDriversPath = Drivers\AudioDrv;Drivers\Chipset\win2kxp;Drivers\Ethernet\win2k;Drivers\Display;Drivers\Mouse;Drivers\Mouse\eng
AutoActivate = Yes
CrashDumpSetting = 0
Hibernation = No
FileSystem = ConvertNTFS
ExtendOEMPartition = 0
TargetPath = \WINDOWS
OemSkipEula = yes
DriverSigningPolicy = Ignore
WaitForReboot = No
InstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
LegacyNIC = 1

[UserData]
FullName = "user"
OrgName = "none"
ComputerName = computername
ProductId = ************************

[GuiUnattended]
OemSkipWelcome = 1
OemSkipRegional = 1
TimeZone = 35
AdminPassword = "********" (will set local admin password here)

[Shell]
DefaultStartPanelOff = Yes
DefaultThemesOff = Yes

[Display]
BitsPerPel = 16
XResolution = 1024
YResolution = 768
VRefresh = 70

[TapiLocation]
CountryCode = 1
AreaCode = 517
Dialing = Tone

[Networking]

[NetServices]
MS_Server=params.MS_PSched

[Identification]
JoinDomain = DOMAIN
DoOldStyleDomainJoin = Yes

[Components]
msmsgs=off
msnexplr=off
zonegames=off

[RemoteInstall]
Repartition = Yes
UseWholeDisk = Yes

[TerminalServices]
AllowConnections=1

[GuiRunOnce]
%systemdrive%\install\rehbatch.cmd

[OSChooser]
Description ="Microsoft Windows XP Professional SP1a"
Help ="Automatically installs Microsoft Windows XP Professional SP1a without prompting the user for input."
LaunchFile = "%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"
ImageType =Flat
Version="5.1 (0)"

cmdlines.txt, Which will run during T-13 of GUI setup:

[COMMANDS]
"useraccounts.cmd"

useraccounts.cmd

REGEDIT /S autologon.reg

autologon.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="administrator"
"DefaultPassword"="********"   (uses same local admin password as in .sif)
"AutoAdminLogon"="1"
"AutoLogonCount"=dword:00000001

Then the rehbatch.cmd runs (unique for each employee) which calls a master batch file (that all employees run) and imports another registry file (unique) to set the users login name for their first logon.

I know it seems a bit convoluted but I would try this route once to see if it works. If it does, I'd say there's something going on in your .sif file (setting wise) with the Admin auto logon. I modeled this setup from the unattended guide on this site.

Let me know what happens. I hope something here helps! :)

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