MSFN Forum: UnattendedJoin ComputerName account in AD - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

UnattendedJoin ComputerName account in AD Rate Topic: -----

#1 User is offline   cjoyce1980 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 06-December 06

Posted 19 December 2006 - 11:01 AM

Not sure if I'm doing something wrong or it's AD/Unattend.

During the specialize process is the only point were you can input your computer name and also do an UnattendedJoin to a Domain, but just before the Vista PC allows you to enter the computer name, the computer account is created in AD.

The computer name is alway sometime like this, LH-XXXXXXXXXXXX. That's a "LH-" then a random mix of 12 characters. Its not the MAC address, or any other type that i'm use to seeing.

Anyway, once i've inputted the computer name, the computer account in AD doesn't change it to the name i've specified, but keeps the one it originally inputted, so when i try and log on to the domain, i can't because the computer is untrusted as it does not have a valid computer account in AD.

How can I get it to accept the name i have entered, or can i stop it from adding the computer account to AD until i have entered the preferred computer name?

The account doing the UnattendedJoin is a Domain Admin, (code below).

<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<Display>
				<ColorDepth>32</ColorDepth>
				<DPI>96</DPI>
				<HorizontalResolution>1024</HorizontalResolution>
				<RefreshRate>75</RefreshRate>
				<VerticalResolution>768</VerticalResolution>
			</Display>
			<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
			<CopyProfile>false</CopyProfile>
			<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
			<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
			<ProductKey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</ProductKey>
			<RegisteredOrganization>Org</RegisteredOrganization>
			<RegisteredOwner>Own</RegisteredOwner>
			<ShowWindowsLive>false</ShowWindowsLive>
			<StartPanelOff>false</StartPanelOff>
			<TimeZone>GMT Standard Time</TimeZone>
		</component>
		<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
			<Identification>
				<Credentials>
					<Domain>bw-wan</Domain>
					<Password>password</Password>
					<Username>vista</Username>
				</Credentials>
				<JoinDomain>bw-wan</JoinDomain>
			</Identification>
		</component>



#2 User is offline   cjoyce1980 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 06-December 06

Posted 21 December 2006 - 05:10 AM

Come on guys, anyone?

#3 User is offline   Br4tt3 

  • World famous sausage eater...
  • PipPipPipPip
  • Group: Members
  • Posts: 566
  • Joined: 20-April 04

Posted 27 December 2006 - 03:04 AM

Hi!

I can only encourage you to let Vista randomly build your name when joining the computer to the domain using the name property of (*). Once you have reached full blown Windows, let a script that always will be run set the name for you given the naming standard of your corp. That way, the computers will always be unique when joining the domain, and then complying with ur comp naming convention provided from the script. There is loads of examples with vbscript, and others have done the same thing....

#4 User is offline   mattffrost 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 18-July 06

Posted 28 December 2006 - 03:08 PM

Try pre populating the domain with the computer name you specifiy in your unattend.xml file.

Matt

#5 User is offline   eschloss 

  • Group: Members
  • Posts: 9
  • Joined: 01-June 04

Posted 02 January 2007 - 12:52 PM

I use this xml created by the wsim and it works fine.



-<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
-<Identification>
-<Credentials>
<Domain>DOMAINNAME</Domain>
<Password>Userpassword</Password>
<Username>Username</Username>
</Credentials>
<JoinDomain>DOMAINNAME</JoinDomain>
<MachineObjectOU>OU=OUNAME,DC=DCNAME,DC=org </MachineObjectOU>
</Identification>
</component>

#6 User is offline   Deman 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 12-December 06

Posted 06 January 2007 - 03:41 AM

I'm inclined to agree with Br4tt3, the way I've worked it is to let the unattendxml file do its thing with the LH-Random computer name and then let a script tidy things up.

Since I'm hopeless with VBS I use a program called WSName which does all the renaming for me, including deleting any existing duplicate computer name
:)

#7 User is offline   Ritmo2k 

  • Group: Members
  • Posts: 6
  • Joined: 13-November 06

Posted 18 January 2007 - 10:35 PM

Can anyone share the vb rename script they are using for thier corp? How does your script fetch names, and how does it not duplicate names?

Thanks!

#8 User is offline   eschloss 

  • Group: Members
  • Posts: 9
  • Joined: 01-June 04

Posted 19 January 2007 - 07:00 AM

what I do is:
boot to PE
run a script that
1) prompts for the machine name
2) merges the entered machine name into the autounattend.xml via a vbscript
3) kicks off setup using the modified autounattend.xml

so far this is working well for me.

#9 User is offline   joshiieeii 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 14-September 04

Posted 02 February 2007 - 10:01 PM

View Posteschloss, on Jan 19 2007, 08:00 AM, said:

what I do is:
boot to PE
run a script that
1) prompts for the machine name
2) merges the entered machine name into the autounattend.xml via a vbscript
3) kicks off setup using the modified autounattend.xml

so far this is working well for me.


Where are you putting the machine name in the autounattend.xml??

I am assuming you are just editing the xml from within WinPE and placing it on a share somewhere and having the build reference it there?? Can you be a little more detailed on how you are getting setup to use the modified autounattend.xml??

This post has been edited by joshiieeii: 02 February 2007 - 10:01 PM


#10 User is offline   joshiieeii 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 14-September 04

Posted 14 February 2007 - 03:57 PM

Does anyone have any leads on how eschloss is able to "merges the entered machine name into the autounattend.xml via a vbscript"??

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy