Jump to content

Logging on locally after unattended install joins computer to the doma


Recommended Posts

My sif file is below. I have set up my unattended install so that the computer joins the domain and is placed in the appropriate OU. That allows it to right away catch a few GPO installs. I thought I was setting it up to log in once locally and run c:\install\start.cmd. In start.cmd, I have a registry edot that is supposed to set the appropriate default domain to logon to. Then another registry edit sets the computer to automatically logon to a specific domain account. Then it's to run shutdown.exe so that the computer will reboot and autologn on to the specific domain user account. The login script of that specific user account then deletes c:\install, installs some more software, sets the computer not to autologon on and then reboots the computer.

Problem is that when I come back to the computer after the install is finished, the domain rather then the local machien name is showing in the domain field for logging on. The c:\install folder is still there and none of the programs have installed. So I log in with a domain account, run c:\install\start.cmd and everything then starts to work as it should.

I'm wondering if having the computer placed in a specific domain during the install is causing the domain to show in the domain field rather than the computer name? So then the local admin account can't log in? Does that make sense?

SIF File

;SetupMgrTag

[Data]

AutoPartition=1

MsDosInitiated="0"

UnattendedInstall="Yes"

AutomaticUpdates=yes

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

FileSystem=ConvertNTFS

ExtendOEMPartition=1

UnattendSwitch="yes"

WaitForReboot="No"

OemPnPDriversPath="Drivers"

DriverSigningPolicy=Ignore

[GuiUnattended]

AdminPassword=mysecretpassword

EncryptedAdminPassword=No

OEMSkipRegional=1

TimeZone=10

OemSkipWelcome=1

AutoLogon=Yes

AutoLogonCount=1

[userData]

ComputerName=*

ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

FullName="Bishop Grandin High School"

OrgName="047C309-"

[identification]

JoinDomain=student.cssd.ab.ca

DomainAdmin=cssdadmin\jeremy.schubert

DomainAdminPassword=mysecretpassword

MachineObjectOU="ou=047CC309,ou=047CSchool,ou=sectionC06,ou=computer accounts,dc=student,dc=cssd,dc=ab,dc=ca"

[branding]

BrandIEUsingUnattended=Yes

Home_Page=http://www.bghs.ca

[Proxy]

Proxy_Enable=0

Use_Same_Proxy=1

[WindowsFirewall]

Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]

Mode = 0

[Networking]

InstallDefaultComponents=Yes

[Components]

msmsgs=off

msnexplr=off

freecell=off

hearts=off

minesweeper=off

pinball=off

solitaire=off

spider=off

zonegames=off

[Display]

BitsPerPel=16

Xresolution=1024

Yresolution=768

Vrefresh=85

AutoConfirm=1

[GUIRUNONCE]

"C:\install\start.cmd"

Edited by jeremyschubert
Link to comment
Share on other sites


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