Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



prathapml

a sample autounattend.xml - working good

Recommended Posts


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

Share this post


Link to post
Share on other sites
EmRoD    0

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

Share this post


Link to post
Share on other sites
FireGeier    0

@ 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

Share this post


Link to post
Share on other sites
sp00f    0

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

Share this post


Link to post
Share on other sites
sp00f    0
lol sp00f its up to everyone to look closely at an example and fix as needed for their install

You should read the first post again (this time better)he didnt mentioned that.

Share this post


Link to post
Share on other sites
maxXPsoft    27
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

Share this post


Link to post
Share on other sites
Mateus    0

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.

Share this post


Link to post
Share on other sites
prathapml    0

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
Fatila    0

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?

Share this post


Link to post
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.

×