MSFN Forum: Unattended through WDS - Autonaming - MSFN Forum

Jump to content


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

Unattended through WDS - Autonaming Rate Topic: -----

#1 User is offline   agressiv 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 12-September 03

Posted 15 March 2007 - 02:12 PM

I just got WDS up and running in a lab and am trying to get a basic Vista image up and running, joining the domain.

Joining the domain silently works (there are a few things I have to click on which I haven't figured out yet but everything else seems to be automated) - and it is not prompting me to create a local account.

Problems:
    I can't seem to open the boot.wim in the System Image Manager (it says there is no catalog and when I tell it to create one, it bombs saying that it could not allocate the required space in a registry log, and I dont have any disk space problems.)
    I'm trying to use the auto-naming that RIS used to have and its not working (right click the WDS Server, properties, Directory Services) - I put in %MACHINENAME% as the computername in the unattended file but its ignoring it and just doing a randomly generated name.
    How do you prevent the performance profiler from running? We dont really care about the results and its just a big waste of time (IMO) in a corporate environment.
I'd really rather not have to use a script at this point since we have 100+ OU's in our production network that would contain possible computer accounts and I dont want to have some huge script that handles every one of our branches.

Any ideas?

agressiv

This post has been edited by agressiv: 15 March 2007 - 02:31 PM



#2 User is offline   pmol100 

  • Group: Members
  • Posts: 8
  • Joined: 14-December 06

Posted 16 March 2007 - 01:20 AM

About that auto naming of computer account, I can tell you, I have raised a case at Microsoft since it doesn't work here either.

The case has been logged in January and until today there is no solution.

In the Computername field in the unattended file you should only put a *, but even then it doesn't work.

#3 User is offline   agressiv 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 12-September 03

Posted 16 March 2007 - 08:10 AM

Thanks for the reply. Its good to know I'm not the only one who is having problems with what I would consider to be trivial. It was a core feature of RIS that I don't want to lose with WDS.

Anyways, looks like I'm out of luck on the performance profiler, but there are two screens that are still prompting me that I can't get to go away.

On one of the lines that has " <component name="Microsoft-Windows-International-Core-WinPE", I've tried dropping the -WinPE but it made no difference.

agressiv

Attached File  prompt1.jpg (79.66K)
Number of downloads: 57
Attached File  prompt2.jpg (59.45K)
Number of downloads: 35

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
	<settings pass="windowsPE">
		<component name="Microsoft-Windows-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">
			<DynamicUpdate>
				<Enable>true</Enable>
			</DynamicUpdate>
			<UserData>
				<ProductKey>
					<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
					<WillShowUI>OnError</WillShowUI>
				</ProductKey>
				<AcceptEula>true</AcceptEula>
				<FullName>Company</FullName>
				<Organization>Company</Organization>
			</UserData>
			<EnableFirewall>true</EnableFirewall>
			<EnableNetwork>true</EnableNetwork>
			<DiskConfiguration>
				<WillShowUI>Never</WillShowUI>
				<Disk wcm:action="add">
					<DiskID>0</DiskID>
					<WillWipeDisk>true</WillWipeDisk>
					<CreatePartitions>
						<CreatePartition wcm:action="add">
							<Order>1</Order>
							<Type>Primary</Type>
							<Size>1500</Size>
						</CreatePartition>
					</CreatePartitions>
					<ModifyPartitions>
						<ModifyPartition wcm:action="add">
							<Active>true</Active>
							<Extend>true</Extend>
							<Format>NTFS</Format>
							<Label>Machine</Label>
							<Letter>C</Letter>
							<Order>1</Order>
							<PartitionID>1</PartitionID>
						</ModifyPartition>
					</ModifyPartitions>
				</Disk>
			</DiskConfiguration>
			<ImageInstall>
				<OSImage>
					<InstallTo>
						<DiskID>0</DiskID>
						<PartitionID>1</PartitionID>
					</InstallTo>
					<WillShowUI>OnError</WillShowUI>
				</OSImage>
			</ImageInstall>
		</component>
		<component name="Microsoft-Windows-International-Core-WinPE" 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">
			<SetupUILanguage>
				<UILanguage>en-US</UILanguage>
			</SetupUILanguage>
			<InputLocale>0409:00000409</InputLocale>
			<UILanguage>en-US</UILanguage>
			<UserLocale>en-US</UserLocale>
			<SystemLocale>en-US</SystemLocale>
			<UILanguageFallback>en-US</UILanguageFallback>
		</component>
	</settings>
	<settings pass="specialize">
		<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">
			<ComputerName>*</ComputerName>
			<RegisteredOrganization>Company</RegisteredOrganization>
			<RegisteredOwner>Company</RegisteredOwner>
		</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>
				<JoinDomain>MYDOMAIN</JoinDomain>
				<Credentials>
					<Domain>MYDOMAIN</Domain>
					<Password>password</Password>
					<Username>user</Username>
				</Credentials>
			</Identification>
		</component>
	</settings>
	<settings pass="oobeSystem">
		<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">
			<OOBE>
				<HideEULAPage>true</HideEULAPage>
				<NetworkLocation>Work</NetworkLocation>
				<ProtectYourPC>1</ProtectYourPC>
				<SkipUserOOBE>true</SkipUserOOBE>
			</OOBE>
			<UserAccounts>
				<DomainAccounts>
					<DomainAccountList wcm:action="add">
						<DomainAccount wcm:action="add">
							<Group>Administrators</Group>
							<Name>Domain Admins</Name>
						</DomainAccount>
						<Domain>mydomain.com</Domain>
					</DomainAccountList>
				</DomainAccounts>
				<AdministratorPassword>
					<Value>password</Value>
					<PlainText>true</PlainText>
				</AdministratorPassword>
			</UserAccounts>
			<TimeZone>Central Standard Time</TimeZone>
			<RegisteredOrganization>Company</RegisteredOrganization>
			<RegisteredOwner>Company</RegisteredOwner>
		</component>
	</settings>
	<cpi:offlineImage cpi:source="wim:d:/vista-x32/sources/install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


#4 User is offline   theredone447 

  • Group: Members
  • Posts: 1
  • Joined: 22-July 04

Posted 16 March 2007 - 10:10 AM

I don't know about the last one unless you use the SkipMachineOOBE but to get rid of the other one you need something like this
 
<component name="Microsoft-Windows-International-Core" 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">
  <InputLocale>en-US</InputLocale> 
  <SystemLocale>en-US</SystemLocale> 
  <UILanguage>en-US</UILanguage> 
  <UserLocale>en-US</UserLocale> 
  </component> 

under the OOBESytem pass

#5 User is offline   agressiv 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 12-September 03

Posted 19 March 2007 - 01:48 PM

That was it! Thanks!

agressiv

#6 User is offline   JaySwift 

  • Group: Members
  • Posts: 3
  • Joined: 13-March 07

Posted 26 March 2007 - 11:15 PM

Hi Guys

Has anybody heard back from Microsoft on this yet? I also logged this issue, but nobody really understood what I was on about and nobody could give me an indication whether somebody is actually looking in to it or not.

The computer naming issue is seriously holding us back from putting WDS in to production.

JS

#7 User is offline   agressiv 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 12-September 03

Posted 29 March 2007 - 11:46 AM

I will open up a premier case with them now - I actually have some time.

agressiv

#8 User is offline   agressiv 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 12-September 03

Posted 06 April 2007 - 10:51 AM

Finally figured this out, but I figured it out on my own.

Skipping all the troubleshooting, make sure you replace, in the Microsoft-Windows-UnattendedJoin section:

<Credentials>
   <Domain>DOMAIN</Domain>
   <Password>password</Password>
   <Username>user</Username>
</Credentials>

with

<UnsecureJoin>True</UnsecureJoin>

While UnsecureJoin in the documentation refers to pre-staging computer accounts (which I'm not doing), I'm guessing that the computer naming policy is also qualifying as "pre-staging" at least in the sense that the XML file is not responsible for the computer name.

A good way of testing it is to set the policy and NOT use an ImageUnattend.xml (just use a WDSClientUnattended.xml) - that should name the computer appropriately but prompt you for everything else. This is the one thing the Microsoft guy did that led me down the path that it would work and I just needed to figure out what to tweak.

agressiv

#9 User is offline   ashleyoneill 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 11-October 06

Posted 11 April 2007 - 08:30 AM

has anyone got any further with this?

in our environment i need to be able to add machines to the domain with a name specified by the engineer like you could with RIS.

#10 User is offline   ashleyoneill 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 11-October 06

Posted 24 April 2007 - 06:45 AM

still no-one has an answer on this :( ?

#11 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 24 April 2007 - 07:42 AM

View Postashleyoneill, on Apr 24 2007, 02:45 PM, said:

still no-one has an answer on this :( ?


Hello ashleyoneill!

I've no experiences with WDS but I think this thread on MSTechNet could may help you out.

Regards,
Martin

#12 User is offline   ashleyoneill 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 11-October 06

Posted 21 May 2007 - 03:18 AM

the answer to this is

use BDD 2007 to deploy vista machines in an enterprise environment.

WDS alone does not have the ability to support a domain based environment properly when building machines in respect to naming them.

#13 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 21 May 2007 - 12:33 PM

View Postashleyoneill, on May 21 2007, 05:18 AM, said:

the answer to this is

use BDD 2007 to deploy vista machines in an enterprise environment.

WDS alone does not have the ability to support a domain based environment properly when building machines in respect to naming them.


Or MS simply wants to push its BDD...

Kinda gay since WDS is the replacement for RIS...

#14 User is offline   ashleyoneill 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 11-October 06

Posted 23 May 2007 - 04:50 AM

yes its really annoying because i like the way WDS works and dont like BDD as it seems to be a bit of a tacky tool

#15 User is offline   gangsterhenk 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 29-June 06

Posted 25 May 2007 - 02:24 AM

add %MACHINENAME% to the COMPUTERNAME SECTION (Shell-setup), add it in specialize pass and it will work.

UnsecureJoin is FALSE in my unattended, and auto domain joining goes fine, and i get the correct pre-staged computername in the correct OU

This post has been edited by gangsterhenk: 25 May 2007 - 02:27 AM


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 - 2013 msfn.org
Privacy Policy