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. 



FireGeier

Vista unattended Guide

Recommended Posts

Here is the truth about sysprep: it's really meant for system builders who want to clone the custem system image for rapid deploy to many computers. Also it is mostly to prerpare a computer with a preinstalled os that the custumer does not have to install but does have to answer oobe questions at first log on.

So, if you arn't preparing the computer for a custumer or planing to clone the system image you would have no need for sysprep.

Therefore the best and easyest way is forgetv about sysprep and add you programs at pass 7 first log on commands.

Share this post


Link to post
Share on other sites

Hi,

am hoping someone can help me with this issue I am having on this install of Vista. I keep getting this same error and the directory does in fact exist, as always any and all help is greatly appreciated.

The directory "C:\Program Files\Windows AIK\Tools\PETools" does NOT exist!

Share this post


Link to post
Share on other sites

I'm asking out of curiosity (no malice intended), but what makes you think that this guide's section on installing applications would be valid for WinVista's gold release but not for Vista SP1 ?

Share this post


Link to post
Share on other sites

I have created a Unattended .XML using Vista Unattended XML Creator. Pl. help me where to save this file.

Share this post


Link to post
Share on other sites
Working Environment Check:

Environment variables are checked...

All necessary environment variables are setted.

Checking existnece of directories...

The directory "F:\VistaWork" does exist.

The directory "F:\VistaWork\DVD" does exist.

The directory "F:\VistaWork\Distribution" does exist.

The directory "F:\VistaWork\Logs" does exist.

The directory "F:\VistaWork\Mount" does exist.

The directory "F:\VistaWork\wim" does exist.

The directory "F:\VistaWork\Updates" does exist.

The directory "F:\VistaWork\Sandbox" does exist.

The directory "C:\Program Files\Windows AIK\Tools\Servicing" does exist.

The directory "C:\Program Files\Windows AIK\Tools\PETools" does NOT exist!

The directory "C:\Program Files\Windows AIK\Tools\x86" does exist.

1 directories do NOT exist. So the procedure

can'b be continued.

Please check, if all necessary directories are created

properly on your system!

You will find more informations about that inside Vista guide

in "Preparation\ Prepare directories".

my system winxp sp3 ı allways take thıs error some body tell me how can ı pass thıs step

Share this post


Link to post
Share on other sites

pals....

<OEMInformation>

<Manufacturer>Intel</Manufacturer>

<Model>Customized By The Day Walker!</Model>

<Logo>%WINDIR%\system32\oobe\INTEL_BADGE.BMP</Logo>

</OEMInformation>

thou i have soecified the above for oem info.....

the details come in the properties,,but i couldnt c the logo...there

y is that so......wots the problem????

and

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

<CopyProfile>true</CopyProfile>

</component>

here i have specified the computer name int he file, but still the computer name doesnt get applied....

help needed, thatx /...

angel

Share this post


Link to post
Share on other sites

great job with this guide

could you also explain how to

1. change default location of the users profile folder and program files to an other partition

2. disable system restore

3. disable hibernation

4. disable superfetch Service

5. disable windows search Service

6. disable index this dirve for faster searching

7. disable scheduled defragmentation

8. how to i enable anvanced performance on disk device properties

9. after installing applications, how do i make vista unattended to install serials of those apps automatically

i reinstall vista a lot and im tired of going through these procedures every time so i would be really greatfull if someone could help to automate this or sript or batch it with unattended vista. :wacko:

thanks

Share this post


Link to post
Share on other sites

I followed your guide to building a Vista Autounattend.xml file and created the following answer file:

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

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

<UserLocale>en-US</UserLocale>

<UILanguage>en-US</UILanguage>

<SystemLocale>en-US</SystemLocale>

</component>

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

<UserData>

<ProductKey>

<Key>VMCB9-FDRV6-6CDQM-RV23K-RP8F7</Key>

<WillShowUI>OnError</WillShowUI>

</ProductKey>

<Organization>EagleWing Computing</Organization>

<FullName>John User</FullName>

<AcceptEula>true</AcceptEula>

</UserData>

<ImageInstall>

<OSImage>

<InstallFrom>

<MetaData wcm:action="add">

<Key>/IMAGE/NAME</Key>

<Value>Windows Vista ULTIMATE</Value>

</MetaData>

</InstallFrom>

<InstallToAvailablePartition>false</InstallToAvailablePartition>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

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

<ProtectYourPC>1</ProtectYourPC>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

<TimeZone>Mountain Standard Time</TimeZone>

<RegisteredOrganization>EagleWing Computing</RegisteredOrganization>

<RegisteredOwner>John User</RegisteredOwner>

<UserAccounts>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Description>Admin</Description>

<DisplayName>Admin</DisplayName>

<Group>Administrators</Group>

<Name>Admin</Name>

</LocalAccount>

<LocalAccount wcm:action="add">

<Description>John</Description>

<DisplayName>John</DisplayName>

<Group>Administrators</Group>

<Name>John</Name>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

<Display>

<ColorDepth>32</ColorDepth>

<DPI>96</DPI>

<HorizontalResolution>1024</HorizontalResolution>

<VerticalResolution>768</VerticalResolution>

</Display>

</component>

<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>0409:00000409</InputLocale>

<SystemLocale>en-US</SystemLocale>

<UILanguage>en-US</UILanguage>

<UserLocale>en-US</UserLocale>

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

<RegisteredOrganization>EagleWing Computing</RegisteredOrganization>

<RegisteredOwner>John User</RegisteredOwner>

<TimeZone>Mountain Standard Time</TimeZone>

</component>

<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">

<SkipAutoActivation>true</SkipAutoActivation>

</component>

<component name="Microsoft-Windows-Deployment" 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">

<RunSynchronous>

<RunSynchronousCommand wcm:action="add">

<Order>1</Order>

<Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path>

</RunSynchronousCommand>

<RunSynchronousCommand wcm:action="add">

<Order>2</Order>

<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>

</RunSynchronousCommand>

</RunSynchronous>

</component>

</settings>

<settings pass="auditSystem">

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

<AutoLogon>

<Enabled>true</Enabled>

<LogonCount>5</LogonCount>

<Username>Administrator</Username>

</AutoLogon>

</component>

</settings>

<settings pass="auditUser">

<component name="Microsoft-Windows-Deployment" 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">

<RunSynchronous>

<RunSynchronousCommand wcm:action="add">

<Order>10</Order>

<Path>cmd /c REGEDIT /S %AppsRoot%\Install\Regtweaks.reg</Path>

</RunSynchronousCommand>

<RunSynchronousCommand wcm:action="add">

<Order>20</Order>

<Path>cmd /c %AppsRoot%\Install\Flash\install_flash_player.exe /s</Path>

</RunSynchronousCommand>

<RunSynchronousCommand wcm:action="add">

<Order>30</Order>

<Path>cmd /c %AppsRoot%\Install\Java\jre.exe /s /v/qn</Path>

</RunSynchronousCommand>

<RunSynchronousCommand wcm:action="add">

<Order>40</Order>

<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>

</RunSynchronousCommand>

</RunSynchronous>

</component>

</settings>

<settings pass="generalize">

<component name="Microsoft-Windows-PnpSysprep" 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">

<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>

</component>

</settings>

<cpi:offlineImage cpi:source="wim:E:/EagleWing Vista/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

When I attempt to install vista from DVD it displays an error just after sysprep finishes installing my apps. It says that it has something to do with interactive login. Then it shuts down my machine. Then I turn my machine back on and it continues to install Vista. I thought maybe you could give me some idea what I am doing wrong or missing or somethin....

Edited by EagleWing

Share this post


Link to post
Share on other sites
I'm asking out of curiosity (no malice intended), but what makes you think that this guide's section on installing applications would be valid for WinVista's gold release but not for Vista SP1 ?

I don't think, I know the audit mode instructions are indubitably not applicable to SP1 installs. Search around, many SP1 users are very frustrated that they follow this guide line by line and wonder why their install powers off or crashes once entering audit mode to install apps.

Share this post


Link to post
Share on other sites

Hello everybody...

need some help....

After XP, I now try to make my Vista Unattended....

Automation is ok, but Vista don't automatically run Install.cmd command...

All the files are copied on the root og the destination partition, but don't run...

When Y trie to lauch install.cmd, it runs normally...

What's wrong....?

I'll give you my .xml and a screen of the root of destionation partition...

post-237017-1237802141_thumb.jpg

my xml :

<?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">

<UserData>

<ProductKey>

<Key>xxxx-xxxx-xxxx-xxxx-xxxx</Key>

<WillShowUI>OnError</WillShowUI>

</ProductKey>

<Organization>National Snack Food Association</Organization>

<FullName>ANONYMOUS</FullName>

<AcceptEula>true</AcceptEula>

</UserData>

<ImageInstall>

<OSImage>

<InstallFrom>

<MetaData wcm:action="add">

<Key>/IMAGE/NAME</Key>

<Value>Windows Vista HOMEPREMIUM</Value>

</MetaData>

</InstallFrom>

<InstallToAvailablePartition>false</InstallToAvailablePartition>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

<UseConfigurationSet>true</UseConfigurationSet>

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

<AutoLogon>

<Enabled>true</Enabled>

<LogonCount>1</LogonCount>

<Username>Administrator</Username>

</AutoLogon>

<OOBE>

<HideEULAPage>true</HideEULAPage>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>false</SkipUserOOBE>

</OOBE>

<FirstLogonCommands>

<SynchronousCommand wcm:action="add">

<Order>1</Order>

<CommandLine>%systemdrive%\install\install.cmd</CommandLine>

</SynchronousCommand>

</FirstLogonCommands>

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

<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>

</component>

<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">

<SkipAutoActivation>true</SkipAutoActivation>

</component>

</settings>

<cpi:offlineImage cpi:source="wim:E:/projet/Projet Vista/vista sp1/sources/install.wim#Windows Vista HOMEPREMIUM" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

For information,

The files of the DVD

post-237017-1237802394_thumb.jpg

Thanks a lot for your help...

Feuilllearouler

Share this post


Link to post
Share on other sites

You could consider using the Microsoft Desktop Deployment Toolkit to help build your unattend and app installers - MDT 2008 is specific to Vista, but if you want to support both Vista and Win7 you can consider the 2010 beta on connect as well.

Gives you a nice GUI and a way to create a task layout of all your app installs, and plus it'll inject drivers, etc - all from a GUI. You really don't have to do any xml file editing at all. Just a suggestion.

Share this post


Link to post
Share on other sites

thanks for your answer...

Y have tried Vista Update Toolkit from NewAge forum, and it's ok...

But Y still wonder what is wrong on my xml.....

my install.cmd is :

@echo off

ECHO.

ECHO.

ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ECHO. XX ............................XX

ECHO. XX.............................XX

ECHO. XX.............................XX

ECHO. XX......INSTALLATION..DES......XX

ECHO. XX.........PROGRAMMES..........XX

ECHO. XX.............................XX

ECHO. XX.............................XX

ECHO. XX.............................XX

ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ECHO.

ECHO.

ECHO.

ECHO.

ECHO.

echo installation de AVG

start /wait %SYSTEMDRIVE%\INSTALL\avg\setup.exe /hide /no_welcome /NOAVGTOOLBAR

echo.

echo installation de Firefox

start /wait %SYSTEMDRIVE%\INSTALL\fire\fire.exe /S

echo.

echo installation de Open Office

start /wait %SYSTEMDRIVE%\INSTALL\open\setup.exe /S

echo.

echo installation de Utorrent

start /wait %SYSTEMDRIVE%\INSTALL\utorrent\utorrent.exe /S

echo.

echo installation de VLC

start /wait %SYSTEMDRIVE%\INSTALL\vlc\vlc.exe /S

echo.

echo installation de Winrar

start /wait %SYSTEMDRIVE%\INSTALL\winrar\setup.exe /S

echo.

echo installation de ThunderBird

start /wait %SYSTEMDRIVE%\INSTALL\thunder\thunder.exe -ms -ira

echo.

echo installation de Deepburner 1.9

start /wait %SYSTEMDRIVE%\INSTALL\deep\deepburner.exe /S

echo.

echo installation de Filezilla

start /wait %SYSTEMDRIVE%\INSTALL\file\file.exe /S

echo.

echo installation de Foxitreader

start /wait %SYSTEMDRIVE%\INSTALL\foxit\foxit.msi /qn REBOOT=Suppress

echo.

echo suppression du dossier d installation

rd /s /q %systemdrive%\INSTALL

echo.

start %windir%\system32\shutdown.exe -r -f -t 25 -c "Windows va redemarrer dans 25 secondes - ce redemarrage est normal apres l'installation de XPH Feuillearouler Unattended"

And I would find what"s wrong....

Thanks

Edited by feuillearouler

Share this post


Link to post
Share on other sites

I hope I have found......

It may be a mistake in .xml file :

<CommandLine>%systemdrive%\install\install.cmd</CommandLine>

It should be

<CommandLine>%systemdrive%\install\install.bat</CommandLine>

I hope it will be ok....I'll tell you more in few minutes....

One more thanks for all the help^you give us...

Edited by feuillearouler

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.

×