MSFN Forum: a sample autounattend.xml - working good - MSFN Forum

Jump to content


  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

a sample autounattend.xml - working good install in 8 minutes, only partitioning screen is not automated Rate Topic: -----

#41 User is offline   nDrew 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 29-January 05

Posted 14 February 2007 - 09:53 PM

but how to disable those warnings at unsigned drivers' install? :(


#42 User is offline   Mateus 

  • Group: Members
  • Posts: 5
  • Joined: 15-February 07

Posted 15 February 2007 - 03:44 PM

Hello!

Can somebody help me ?

Sorry but I am a beginner but I have some work with Unattend XP.

Where should put I the autounattend.xml?

I now learn English so I cant read all of your publication.

#43 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 March 2007 - 07:00 PM

Looks like i'm not so scared of the "UseConfigSetRoot" tag now anymore.
Because i do end up using it anyways, for the sake of running automated scripts after copying files over to HDD using the $OEM$ folder path (which needs above tag).
So i just delete %configsetroot% folder now at the end of my scripts.
(for those who havent already read about this in the beginning of this topic, u need to use the UseConfigSetRoot tag in your xml, if u want to use the $OEM$ tree. And u can specify %configsetroot%\drivers, in your xml, to get Setup to pick up drivers automatically from dvdroot\drivers folder. I was afraid to use this feature since the entire dvd would get copied - but then realised it would get copied anyways, for the purpose i'm looking at, so cant avoid the copying of that folder)

Now my recent discovery, is that i dont need to bother with the unattend.xml to set a directory to pickup drivers from!
Because i can simply drop my PnPdrvrs folder into the "$OEM$\$$\inf" folder on dvd, & since its part of the DevicePath & vista searches recursively, the drivers will be installed automatically at bootup, provided your drivers are signed/WHQL.
Wondering if this will work for XP too.

Not quite sure if the above even makes sense at all to a beginner, but those of you who've been looking for a straight-forward way for this, might find it useful. If you want clarifications, just ask! :)

#44 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,693
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

  Posted 05 March 2007 - 03:57 PM

Hey guys few q's

How to stop windows on first show to setup further users? Also the home ofice network setup screen thing?

I have the following in my xml

[/code]  
 <OOBE>
				<HideEULAPage>true</HideEULAPage>
				<NetworkLocation>Other</NetworkLocation>
				<ProtectYourPC>3</ProtectYourPC>
				<SkipUserOOBE>true</SkipUserOOBE>
			</OOBE>
 [code]


Do I need to set skip machine oobe as well as Admin set & autologon toggled on.



[/code]

</settings>
	<settings pass="specialize">
		<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>
				<JoinWorkgroup>Workgroup</JoinWorkgroup>
[code]


Do I need to nominate something else in the ans file to skip the setup network lot?

Thanks Fellas

Update:

Choosing skip machine setting sorted the user screen as expected, although waik setting depracated. Works fine though.

I also changed my network setting from Other to Work however pops the network screen up with Work highlighted? Not a real biggy though.

This post has been edited by MAVERICKS CHOICE: 06 March 2007 - 01:36 PM


#45 User is offline   Fatila 

  • Group: Members
  • Posts: 7
  • Joined: 03-March 07

Posted 08 March 2007 - 07:58 PM

Thanks for your pointers.

In the MS AIK guide, it explains how vista will search for the unattend.xml from removable media. However I wish to install Vista from a USB flash drive, is there a way to get the install to search a folder within the same media?

#46 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 March 2007 - 02:07 PM

I'm back - found this about system-variable folders on vista & how they correspond to XP (it may not be much, but its notable because it gives quite a bit of info on the topic, on one page) - on link below
http://trustedaccess.info/blogs/travelling...orn-Server.aspx
And how to install *.MSU updates for vista silently - http://trustedaccess.info/blogs/travelling...s-silently.aspx


hi maverick, below helps? :)
; Set the Network Location
;00000000 = Home/Work; 00000001 = Public
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork]
"Category"=dword:00000000

This post has been edited by prathapml: 11 March 2007 - 02:25 PM


#47 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,693
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 March 2007 - 03:33 PM

Thanks, Have bookmarked & will try the network reg setting. This will stop this page from showing on first logon I take it?
I have succesfully integrated selected updates to my source & working fine. getting very close to where i would like to be in UA now.

#48 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 March 2007 - 03:52 PM

Hmm, do you mean this page comes up before first login, or after u login?

And the above is superb then, i'd like to know about these please:
when do u apply your reg settings - if u apply it before first-login, then how do u apply it? (and thru which pass?)
how to integrate updates into source? :o

#49 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,693
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

  Posted 11 March 2007 - 04:27 PM

This is happening straight after setup on first logon, autologon in my case. I manually apply my reg after setup atm, will automate that soon haven't been that far yet, but will take on any suggestions for this?

One of our members Arneh posted this Slip updates

Very nice batch to slip updates straight into the source, all credit to Arneh :thumbup

This post has been edited by MAVERICKS CHOICE: 11 March 2007 - 04:31 PM


#50 User is offline   keul 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 08-March 04

Posted 12 March 2007 - 02:55 PM

I apply reg tweaks during first login (with autologon), then install apps and finally execute sysprep (with copyprofile).
It seems that first login is the best way to apply tweaks because if you do it before, HKCU won't be imported for default user.

However, I can't exactly mimic what I used to do during XP unattended install : whatever I do, some reg tweaks keep being erased by windows :

HCKU\Control Panel\WindowMetrics\PaddedBorderWidth
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Superhidden


These settings seem to be overwritten when an account is first logged (ie when windows does its pseuso RunOnceEx things -> "Configuring Desktop", "Configuring Internet Explorer" ...).
I managed bypassing this issue by importing reg tweaks in a runonce key so that it's done after first account configuration. Then, at first logon, Administrator account has all tweaks applied.

But this only moves this issue one step beyond : when sysprep executes, copyprofile is successfully done (new user accounts got nearly all tweaks applied), but one more time "Configuring..." erases some of them for this new account.

Can't remember if I already tried re-adding runonce reg import just before executing sysprep so that reg tweaks import would be done for new account as well... Anyway, I find this method pretty much complicated for such a basic thing.

#51 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 13 March 2007 - 09:13 AM

View PostMAVERICKS CHOICE, on Mar 5 2007, 10:57 PM, said:

Hey guys few q's

How to stop windows on first show to setup further users? Also the home ofice network setup screen thing?

I have the following in my xml

[/code]  
 <OOBE>
				<HideEULAPage>true</HideEULAPage>
				<NetworkLocation>Other</NetworkLocation>
				<ProtectYourPC>3</ProtectYourPC>
				<SkipUserOOBE>true</SkipUserOOBE>
			</OOBE>
 [code]


Do I need to set skip machine oobe as well as Admin set & autologon toggled on.



[/code]

</settings>
	<settings pass="specialize">
		<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>
				<JoinWorkgroup>Workgroup</JoinWorkgroup>
[code]


Do I need to nominate something else in the ans file to skip the setup network lot?

Thanks Fellas

Update:

Choosing skip machine setting sorted the user screen as expected, although waik setting depracated. Works fine though.

I also changed my network setting from Other to Work however pops the network screen up with Work highlighted? Not a real biggy though.


I have the same problem.

#52 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,693
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 March 2007 - 12:57 PM

Yes still haven't found a way to kill the network page on first startup?

#53 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 13 March 2007 - 06:33 PM

View PostMAVERICKS CHOICE, on Mar 13 2007, 07:57 PM, said:

Yes still haven't found a way to kill the network page on first startup?

Only more people with same prob

http://forums.microsoft.com/TechNet/ShowPo...6&SiteID=17

#54 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 March 2007 - 06:47 PM

I use the sample autounattend.xml in first post & the regtweak posted above, & i never get prompted for the network-location :o

#55 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,693
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

  Posted 14 March 2007 - 02:58 AM

:angry:

@prathapml

Yes I have the same Network setting as you & using the Ultimate 32 bit ver.

Well more work is obviously req'd here as it appears many other peers are xping the same issue now??

This post has been edited by MAVERICKS CHOICE: 14 March 2007 - 03:04 AM


#56 User is offline   keul 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 08-March 04

Posted 17 March 2007 - 08:40 AM

prathapml: is your oemlogo displayed when you use the autounattend file submitted in your 1st post ?
Mine doesn't as windows stores the path in a REG_SZ key instead of a REG_EXPAND_SZ

mc: I use a modded version of prathapml's autounattend file, set network as "home" and never get network page on 1st startup. And now that I use sysprep with a second xml file with network set a "home", I don't get it either... Tell me if you need more information.

This post has been edited by keul: 17 March 2007 - 08:48 AM


#57 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 17 March 2007 - 12:38 PM

<StartPanelOff>true</StartPanelOff> doesnt work , or need i more settings for this?

#58 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,693
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 March 2007 - 01:56 PM

mc: I use a modded version of prathapml's autounattend file, set network as "home" and never get network page on 1st startup. And now that I use sysprep with a second xml file with network set a "home", I don't get it either... Tell me if you need more information.
[/quote]

Taken on board, will incorporate.

EDIT: I also found a sharp reboot after install at first use gets rid of that page & doesn't pop up again, quick & dirty I know...

This post has been edited by MAVERICKS CHOICE: 28 March 2007 - 02:16 PM


#59 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 13 April 2007 - 01:06 PM

I tried this on a x64 version, but then WAIK shows lots of errors

Any one else tried this on x64 ?

#60 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 April 2007 - 11:40 PM

The xml in first post is for 32-bit only. The x64 will be similar but processorArchitecture & publicKeyToken might change.

Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

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



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