Jump to content

a sample autounattend.xml - working good


Recommended Posts


... also let me know how you get on with %CDRoot% dont have a chance to test tommorrow busy but last time ...

Hello maxX & urie!

Like expected %CDRoot% does not work to install drivers during WinPE pass.

For the moment I try to use my own %DriversRoot% variable using setx.exe. But I'm not successfull. Well... if I check the registry in WinPE using regedit. %DriversRoot% seems to be setted to Environment. But if I open a cmd-Windows the DriversRoot variable does not appear in the list even it's present in the registry.

EDIT:

Forget about this part... global environment can't be set in running system. :whistle:

Starting Setup from WinPE results in an error that boot critical drivers are not valid. This error means, it can not find the path. So %DriversRoot% variable does not work.

Do you have any ideas here?

Thanks,

Martin

Edited by FireGeier
Link to comment
Share on other sites

If you want to get rid of the configetroot folder just add a

specialize

RunSynchronousCommand

%systemroot%\System32\cmd /c "rd /S /Q %systemroot%\ConfigSetRoot"

I use it to remove files copied from my usb drive during setup, but I understand the issue when running configset from dvd :/

Link to comment
Share on other sites

@ EmRoD:

For sure this works, but it's not like installing drivers from DVD. We're trying to find a method, where drivers getting installed right away from the media. If you're installing from DVD for example using configsetroot the Vista DVD will be copied to your HD two times. That's not wasting time only in worst case you could run out of Disk space during installation.

Martin

Link to comment
Share on other sites

  • 2 weeks later...

It doesnt work for me, each time i edit things like the KEY , and userlocale it wont open after saving.

Im using a Dutch Vista by the way.

EDIT:

got it working now, only there are more things peolle need to change then only the REMOVED

Your account is in it with password, and your time zones

You might change the first post.

Edited by sp00f
Link to comment
Share on other sites

here's a working sample, made for my preferences

your right I don't understand here's a working sample, made for my preferences

edit

what I'm trying to say is a lot of these have been posted and not even 1 will work for you, you need the WAIK and be very careful even then, a bad entry will crash you, been there done that about a 100 times till I got what I wanted from all my tests

Edited by maxXPsoft
Link to comment
Share on other sites

  • 2 weeks later...

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! :)

Link to comment
Share on other sites

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


<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
  

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



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

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.

Edited by MAVERICKS CHOICE
Link to comment
Share on other sites

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?

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