Jump to content

tonycrew

Member
  • Posts

    40
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Posts posted by tonycrew

  1. I can't open my script anymore...

    I don't think it can be my script as i can't open any of my last 5 backup scipts... I can open the script off the autounattend guide web site....?

    If anyone can see anything please let me know..

    Here's the Error LOG...

    12:40 : System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

    at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)

    at System.Collections.Generic.List`1.Enumerator.MoveNext()

    at Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFile.ReadSettingsFromUnattendNode(Node unattendRoot)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFile.DoLoad(Boolean useImagePathInAnswerFile)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.AnswerFile..ctor(String path)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.OpenAnswerFile(String path)

    at Microsoft.ComponentStudio.MainForm.OnFileOpenUnattend(Command command)

    Here's my Autounattend.xml

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

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

    <servicing></servicing>

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

    </SetupUILanguage>

    <UserLocale>en-GB</UserLocale>

    <UILanguage>en-GB</UILanguage>

    <SystemLocale>en-GB</SystemLocale>

    <InputLocale>0809:00000809</InputLocale>

    <LayeredDriver>1</LayeredDriver>

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

    <WillShowUI>OnError</WillShowUI>

    <Key>*****-*****-*****-*****-*****</Key>

    </ProductKey>

    <AcceptEula>true</AcceptEula>

    <Organization>MegaVista</Organization>

    <FullName>Administrator</FullName>

    </UserData>

    <Display>

    <ColorDepth>32</ColorDepth>

    <HorizontalResolution>1024</HorizontalResolution>

    <VerticalResolution>768</VerticalResolution>

    </Display>

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

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

    <RunSynchronousCommand wcm:action="add">

    <Order>3</Order>

    <Path>cmd /c reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f</Path>

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>4</Order>

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

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>5</Order>

    <Credentials />

    <Path>CMD /C BCDEDIT /SET QUIETBOOT ON</Path>

    </RunSynchronousCommand>

    </RunSynchronous>

    </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>0809:00000809</InputLocale>

    <SystemLocale>en-GB</SystemLocale>

    <UILanguage>en-GB</UILanguage>

    <UserLocale>en-GB</UserLocale>

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

    <Username>Administrator</Username>

    </AutoLogon>

    <Display>

    <ColorDepth>32</ColorDepth>

    <DPI>96</DPI>

    <HorizontalResolution>1024</HorizontalResolution>

    <VerticalResolution>768</VerticalResolution>

    </Display>

    <OOBE>

    <HideEULAPage>true</HideEULAPage>

    <NetworkLocation>Home</NetworkLocation>

    <ProtectYourPC>1</ProtectYourPC>

    <SkipMachineOOBE>true</SkipMachineOOBE>

    <SkipUserOOBE>true</SkipUserOOBE>

    </OOBE>

    <TimeZone>GMT Standard Time</TimeZone>

    <FirstLogonCommands>

    <SynchronousCommand wcm:action="add">

    <Order>5</Order>

    <CommandLine>cmd /c %AppsRoot%\Install\wallpaper.cmd</CommandLine>

    <Description>Wallpaper Setup</Description>

    </SynchronousCommand>

    <SynchronousCommand wcm:action="add">

    <Order>1</Order>

    <CommandLine>c:\windows\setup\scripts\first.cmd</CommandLine>

    <Description>first boot command file</Description>

    </SynchronousCommand>

    <SynchronousCommand wcm:action="add">

    <Order>2</Order>

    <CommandLine>cmd /c REGEDIT /S %AppsRoot%\Install\SecurityCenterShutup.reg</CommandLine>

    </SynchronousCommand>

    <SynchronousCommand wcm:action="add">

    <Order>3</Order>

    <CommandLine>CMD /C BCDEDIT /SET QUIETBOOT ON</CommandLine>

    </SynchronousCommand>

    </FirstLogonCommands>

    <OEMInformation>

    <Logo>c:\windows\system32\oobe\dell_badge.bmp</Logo>

    <Manufacturer>Dell</Manufacturer>

    </OEMInformation>

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

    <SystemLocale>en-GB</SystemLocale>

    <UILanguage>en-GB</UILanguage>

    <UserLocale>en-GB</UserLocale>

    <InputLocale>0809:00000809</InputLocale>

    </component>

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

    <Gadget3>%PROGRAMFILES%\windows sidebar\gadgets\RSSFeeds.Gadgett,true</Gadget3>

    <Gadget2>%PROGRAMFILES%\windows sidebar\Shared Gadgets\weatherbug.gadget,true</Gadget2>

    <Gadget1>%PROGRAMFILES%\windows sidebar\Shared Gadgets\VistaOrbClock.Gadget,true</Gadget1>

    <Gadget4>%PROGRAMFILES%\windows sidebar\Shared Gadgets\ukrp_1.3.3.gadget</Gadget4>

    <Gadget5>%PROGRAMFILES%\windows sidebar\Shared Gadgets\SYS.gadget</Gadget5>

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

    <TimeZone>GMT Standard Time</TimeZone>

    </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\SAVVISTA\NoScan.reg</Path>

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>20</Order>

    <Path>cmd /c REGEDIT /S %AppsRoot%\Install\DELL.REG</Path>

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>76</Order>

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

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>300</Order>

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

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>60</Order>

    <Path>cmd /c %AppsRoot%\Install\vsoConvertXtoDVD2.v2.1.8.193-AnyFile.exe /VERYSILENT /SP-</Path>

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>70</Order>

    <Path>cmd /c %AppsRoot%\Install\SetupImgBurn_2.3.2.0.exe /S</Path>

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>80</Order>

    <Path>cmd /c %AppsRoot%\Install\SetupDVDDecrypter_3.5.4.0.exe /S</Path>

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>75</Order>

    <Path>cmd /c %AppsRoot%\Install\WinRAR-v3.62.exe /s</Path>

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>95</Order>

    <Path>cmd /c %AppsRoot%\Install\AcrRead\AcroRead.msi /qb</Path>

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>15</Order>

    <Path>cmd /c %AppsRoot%\Install\wallpaper.cmd</Path>

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>1</Order>

    <Path>cmd /c %AppsRoot%\Install\jre-6u2-windows-i586-p.exe /s /v/qn</Path>

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>2</Order>

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

    </RunSynchronousCommand>

    <RunSynchronousCommand wcm:action="add">

    <Order>3</Order>

    <Path>CMD /C BCDEDIT /SET QUIETBOOT ON</Path>

    </RunSynchronousCommand>

    </RunSynchronous>

    </component>

    </settings>

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

    </unattend>

  2. I tried the CMD /C BCDEDIT /SET QUICKBOOT ON from another post in autounattend xml file using WSIM i put it in audit user and also in firstlogon.cmd in %oem% then mounted install.wim and replaced the win load mui with my new mui, but i still get the normal boot up, so i manually changed it with msconfig and i get the aurora background and my new mui isn't there..? This is all tetsed on VMWARE.

    I know the mui works as i tried it on my real pc.

  3. Hi,

    Some info that might help you further ;)

    Downloaded gadgets can be found here:

    %userprofile%AppData\Local\Microsoft\Windows Sidebar\Gadgets\*

    Your current Gadget configuration can be found here:

    %userprofile%AppData\Local\Microsoft\Windows Sidebar\Settings.ini

    For your unattended project:

    You can place gadgets in (will be available for all users):

    install.wim > program files\windows sidebar\shared gadgets\

    Thanks that helps alot.. i figured some stuf out but was putting the gadgets in the wrong folder...

    I mounted install.wim then placed them in Administrator\AppData\Local\Microsoft\Windows Sidebar\Gadgets\

    and they didn't show up, they never installed, but i will try

    program files\windows sidebar\shared gadgets\

    Thanks...

    example

    <settings pass="oobeSystem">

    <component name="Microsoft-Windows-Sidebar" 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">
    <Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\Notes.Gadget,true</Gadget1>
    <Gadget2>%PROGRAMFILES%\windows sidebar\gadgets\Calender.gadget,true</Gadget2>
    <Gadget3>%PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true</Gadget3>
    </component>

    I found this ... i may point it to the shared gadgets folder... thanks

    BTW. if anyone wants to know you can extract the gadgets with Winrar... :)

  4. I am using vsoConvertXtoDVD2.v2.1.8.193-AnyFile.exe /VERYSILENT /SP- which installs great from a sync command but when it installs the PCOUFFIN Drivers a window pops up asking to Install or Don't Install this window opens behind the command promt screen so i then have to move the windows around and select Install.. Is there anyway to turn off Windows Security in the setup using a sync command then turn it back on...?

  5. I have made an Autounattend.xml with WSIM, i also have WPI set to run with a SetupComplete.cmd in the DVD\SOURCES\$OEM$\$$\SETUP\SCRIPTS folder...

    I would like to silent install from the setup complete command if possible so it's automatic.....

    If you have silent install can you see a progress bar so you know when it's done..?

    SetupComplete.cmd

    @echo off

    for %%A in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do (
    if exist %%A\bootmgr (
    if not exist %%A\setup.exe (
    echo.
    echo Installing to drive %%A
    echo.
    if exist %%A\menu.lst attrib %%A\menu.lst -h -r -s
    if exist %%A\menu.lst ren %%A\menu.lst menu_lst.bak
    if exist %%A\grldr attrib %%A\grldr -h -r -s
    copy %systemroot%\setup\scripts\grldr %%A\grldr
    attrib %%A\grldr +h +s +r
    %systemroot%\setup\scripts\bootinst /nt60 %%A
    )
    )
    )

    for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\sources\install.wim set CDROM=%%i:
    echo Found CD-Rom as drive %CDROM%


    RMDIR %UserProfile%\Desktop\Serials
    RD %UserProfile%\Desktop\Serials

    REM SETTING WALLPAPER
    REG ADD "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d %systemroot%\Web\Wallpaper\UltimateStart_1920x1440.jpg /f
    REG ADD "HKCU\Software\Microsoft\Internet Explorer\Desktop\General" /v Wallpaper /t REG_EXPAND_SZ /d %%systemroot%%\Web\Wallpaper\UltimateStart_1920x1440.jpg /f
    REG ADD "HKCU\Software\Microsoft\Internet Explorer\Desktop\General" /v BackupWallpaper /t REG_EXPAND_SZ /d %%systemroot%%\Web\Wallpaper\UltimateStart_1920x1440.jpg /f


    Start %cdrom%\install\update.exe
    Start %cdrom%\WPI\wpi.hta

    del %0

  6. I don't understand but my locale keeps ending up welsh...

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing></servicing>
    <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-GB</UILanguage>
    </SetupUILanguage>
    <UserLocale>en-GB</UserLocale>
    <UILanguage>en-GB</UILanguage>
    <SystemLocale>en-GB</SystemLocale>
    <InputLocale>0452:00000452</InputLocale>
    <LayeredDriver>1</LayeredDriver>
    </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>
    <WillShowUI>OnError</WillShowUI>
    <Key>****-****-****-****-****</Key>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    <Organization>MegaVista</Organization>
    <FullName>Administrator</FullName>
    </UserData>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <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="specialize">
    <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>
    <RunSynchronousCommand wcm:action="add">
    <Order>3</Order>
    <Path>cmd /c reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </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>0452:00000452</InputLocale>
    <SystemLocale>en-GB</SystemLocale>
    <UILanguage>en-GB</UILanguage>
    <UserLocale>en-GB</UserLocale>
    </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>5</LogonCount>
    <Username>Administrator</Username>
    </AutoLogon>
    <Display>
    <ColorDepth>32</ColorDepth>
    <DPI>96</DPI>
    <HorizontalResolution>1024</HorizontalResolution>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Home</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    <TimeZone>GMT Standard Time</TimeZone>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <Order>3</Order>
    <CommandLine>cmd /c %AppsRoot%\install\Cracks.exe</CommandLine>
    <Description>Serials-Cracks And Keygens</Description>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <Order>4</Order>
    <CommandLine>cmd /c %AppsRoot%\install\Gadgets.exe</CommandLine>
    <Description>Sidebar Addons</Description>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <Order>5</Order>
    <CommandLine>cmd /c %AppsRoot%\install\wallpaper.cmd</CommandLine>
    <Description>Wallpaper Setup</Description>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <Order>2</Order>
    <CommandLine>cmd /c %AppsRoot%\install\install.exe</CommandLine>
    <Description>Shortcut Update</Description>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <Order>1</Order>
    <CommandLine>c:\windows\setup\scripts\first.cmd</CommandLine>
    <Description>first boot command file</Description>
    </SynchronousCommand>
    </FirstLogonCommands>
    <OEMInformation>
    <Logo>c:\windows\system32\oobe\dell_badge.bmp</Logo>
    <Manufacturer>Dell</Manufacturer>
    </OEMInformation>
    <Themes>
    <CustomDefaultThemeFile>C:\Windows\Resources\Themes\aero.theme</CustomDefaultThemeFile>
    <DefaultThemesOff>false</DefaultThemesOff>
    </Themes>
    </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">
    <SystemLocale>en-GB</SystemLocale>
    <UILanguage>en-GB</UILanguage>
    <UserLocale>en-GB</UserLocale>
    <InputLocale>0452:00000452</InputLocale>
    </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>
    <TimeZone>GMT Standard Time</TimeZone>
    </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\SAVVISTA\NoScan.reg</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>20</Order>
    <Path>cmd /c REGEDIT /S %AppsRoot%\Install\DELL.REG</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>30</Order>
    <Path>cmd /c REGEDIT /S %AppsRoot%\Install\winrar\winrar.reg</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>300</Order>
    <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>60</Order>
    <Path>cmd /c %AppsRoot%\Install\vsoConvertXtoDVD2.v2.1.8.193-AnyFile.exe /VERYSILENT /SP-</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>70</Order>
    <Path>cmd /c %AppsRoot%\Install\SetupImgBurn_2.3.2.0.exe /S</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>80</Order>
    <Path>cmd /c %AppsRoot%\Install\SetupDVDDecrypter_3.5.4.0.exe /S</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>75</Order>
    <Path>cmd /c %AppsRoot%\Install\WinRAR-v3.62.exe /s</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>90</Order>
    <Path>cmd /c %AppsRoot%\Install\AcrRead\AcroRead.msi /qb</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>91</Order>
    <Path>cmd /c %AppsRoot%\install\install.exe</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>92</Order>
    <Path>cmd /c %AppsRoot%\install\Cracks.exe</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>93</Order>
    <Path>cmd /c %AppsRoot%\install\Gadgets.exe</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>95</Order>
    <Path>cmd /c %AppsRoot%\install\wallpaper.cmd</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:e:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

  7. After windows boot there's a sysprep box on the screen it i click ok and it does some cleanup for a minute or so then reboot, when its rebooted i have to choose locale, username, home-work-etc, then it checks system performance then loads windows and all my settings have gone again like my wallpaper i set.

    Also can you turn the way windows notifies you about security off..?

    Here's my script

    <?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-GB</UILanguage>
    </SetupUILanguage>
    <UserLocale>en-GB</UserLocale>
    <UILanguage>en-GB</UILanguage>
    <SystemLocale>en-GB</SystemLocale>
    <InputLocale>0452:00000452</InputLocale>
    <LayeredDriver>1</LayeredDriver>
    </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>
    <WillShowUI>OnError</WillShowUI>
    <Key>*****-*****-*****-*****-*****</Key>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    <Organization>MegaVista</Organization>
    <FullName>Administrator</FullName>
    </UserData>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <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="specialize">
    <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>
    <RunSynchronousCommand wcm:action="add">
    <Order>3</Order>
    <Path>cmd /c reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </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>2</LogonCount>
    <Username>Administrator</Username>
    </AutoLogon>
    <Display>
    <ColorDepth>32</ColorDepth>
    <DPI>96</DPI>
    <HorizontalResolution>1024</HorizontalResolution>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Home</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    <TimeZone>GMT Standard Time</TimeZone>
    </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">
    <SystemLocale>en-GB</SystemLocale>
    <UILanguage>en-GB</UILanguage>
    <UserLocale>en-GB</UserLocale>
    <InputLocale>0452:00000452</InputLocale>
    </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>1</Order>
    <Path>cmd /c REGEDIT /S %AppsRoot%\Install\SAVVISTA\NoScan.rag</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>2</Order>
    <Path>cmd /c REGEDIT /S %AppsRoot%\Install\DELL.REG</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>3</Order>
    <Path>cmd /c REGEDIT /S %AppsRoot%\Install\winrar\winrar.reg</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>4</Order>
    <Path>cmd /c REGEDIT /S %AppsRoot%\Install\wallpaper1.reg</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>5</Order>
    <Path>cmd /c REGEDIT /S %AppsRoot%\Install\wallpaper2.reg</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:e:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

×
×
  • Create New...