Jump to content

gangsterhenk

Member
  • Posts

    14
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Netherlands

About gangsterhenk

gangsterhenk's Achievements

0

Reputation

  1. Example of XML answer file, please read the following notes: -I used this xml in autounattend.xml (attached to image) and WdsClientUnattend.xml (hooked to client, x86 boot) -after PXE boot and choosing WDS Vista harddisk will be wiped (1 partition will be created) and installation begins automaticly -workstation will be joined to the domain with correct workstation name (assuming workstation is prestaged for RIS) -www.google.nl will be set as homepage -local administrator account will be enabled and a local password will be set -UAC will be turned off -a custom script (custom.bat) will copy extra gadgets to the local harddrive: <?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-US</UILanguage> </SetupUILanguage> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </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"> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1280</HorizontalResolution> <VerticalResolution>1024</VerticalResolution> </Display> <ImageInstall> <OSImage> <InstallFrom> <Path>W:\RemoteInstall\Vista\ultimate.wim</Path> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows Vista ULTIMATE</Value> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </OSImage> </ImageInstall> <UserData> <ProductKey> <WillShowUI>OnError</WillShowUI> <Key>123AB-123AB-123AB-123AB-123AB</Key> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>My name</FullName> <Organization>My org</Organization> </UserData> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>false</Extend> <Format>NTFS</Format> <Label>VISTA_OS</Label> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> </DiskConfiguration> <WindowsDeploymentServices> <Login> <Credentials> <Domain>mydomain</Domain> <Password>adminpassword</Password> <Username>administrator</Username> </Credentials> </Login> <ImageSelection> <InstallImage> <ImageGroup>Vista</ImageGroup> <ImageName>Windows Vista Ultimate</ImageName> <Filename>install.wim</Filename> </InstallImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </ImageSelection> </WindowsDeploymentServices> <UseConfigurationSet>true</UseConfigurationSet> </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-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> <Credentials> <Domain>mydomain</Domain> <Password>adminpassword</Password> <Username>administrator</Username> </Credentials> <JoinDomain>mydomain</JoinDomain> </Identification> </component> <component name="Microsoft-Windows-IE-InternetExplorer" 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"> <Home_Page>http://www.google.nl</Home_Page> <BlockPopups>yes</BlockPopups> <IEWelcomeMsg>false</IEWelcomeMsg> </component> <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>%machinename%</ComputerName> </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>net user administrator /active:yes</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>2</Order> <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>3</Order> <Credentials> <Domain>mydomain</Domain> <Password>adminpassword</Password> <Username>administrator</Username> </Credentials> <Path>\\myserver\reminst\Vista\custom\custom.bat</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>1</LogonCount> <Username>administrator</Username> <Password> <Value>mylocalpassword</Value> <PlainText>true</PlainText> </Password> </AutoLogon> <Display> <ColorDepth>32</ColorDepth> <DPI>96</DPI> <HorizontalResolution>1280</HorizontalResolution> <VerticalResolution>1024</VerticalResolution> </Display> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <TimeZone>W. Europe Standard Time</TimeZone> <UserAccounts> <AdministratorPassword> <Value>mylocalpassword</Value> <PlainText>true</PlainText> </AdministratorPassword> </UserAccounts> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>\\myserver\reminst\test.bat</CommandLine> <Order>1</Order> </SynchronousCommand> </FirstLogonCommands> </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"> <Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\SlideShow.gadget,false</Gadget1> <Gadget4>%PROGRAMFILES%\windows sidebar\gadgets\NetworkUtilizationv1.1.3.0.Gadget,true</Gadget4> <Gadget2>%PROGRAMFILES%\windows sidebar\gadgets\MultiMeterD124.gadget,true</Gadget2> <Gadget3>%PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true</Gadget3> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:keyValue="d13b15e1" wcm:action="add"> <Credentials> <Domain>mydomain</Domain> <Password>adminpassword</Password> <Username>administrator</Username> </Credentials> <Path>\\myserver\Reminst\Vista\Distro\Out-of-Box Drivers</Path> </PathAndCredentials> </DriverPaths> </component> </settings> <cpi:offlineImage cpi:source="wim:w:/winpe/ultimate.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
  2. Mount your Boot.WIM with imagex / mountrw, load the System hive ("MountPoint"\Windows\System32\Config\SYSTEM) into regedit In the Key Name box, type OriginalInstall, and then click OK. and add the following key as REG_DWORD "HKLM\SYSTEM\ControlSet001\Services\FBWF\WinPECacheThreshold" set the value to 0x40 (64MB) or 0x80 (128MB) Commit changes with ImageX / commit. Burn the new Boot.WIM on your WinPE DVD or replace boot.wim in Windows Deployment Services
  3. It worked with my Si3112 SATA controller, i added the si3112 drivers to the x:\drivers folder (added the driversroot.txt to X:\) and it worked (Windows PE)
  4. In the unattended.xml, section RunSynchronousCommand, Pass1 WindowsPE, I tried using the command "net use w: \\server\share" to map a drive. I also entered the proper credentials. However the drive isnt mapped under PE. What am i doing wrong ? <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Credentials> <Domain>mydomain</Domain> <Password>mypassword</Password> <Username>administrator</Username> </Credentials> <Path>net use w: \\myserver\myshare</Path> </RunSynchronousCommand> </RunSynchronous>
  5. add %MACHINENAME% to the COMPUTERNAME SECTION (Shell-setup), add it in specialize pass and it will work. UnsecureJoin is FALSE in my unattended, and auto domain joining goes fine, and i get the correct pre-staged computername in the correct OU
  6. Solved by adding %Machinename% in Computername (Microsoft-Windows-Shell-Setup / specialize pass)
  7. I figured out (thanks mostly to Firegeier) to install Vista unattended in a network enviroment. I have some questions about the finetuning: -How can I disable the Windows Experience Index test during setup ? -How can I turn off Windows Search during setup ? -Although i prestaged the computername in Active Directory, Vista creates a random computername -WDS options -> "Create the client in the following location" doesnt seem to work, the computer account is created in the standard Computers OU
  8. I tried the diskconfig part of graymadder, but still nothing happens....i will combine the full unattended file of nebruin and use the disk-settings from graymadder..and figure out what the problem is. cheers. ghk.
  9. What am I doing wrong ?? Bootup with F12 - WINPE starts - PE asks for username and password - Choose IMAGE (Vista Enterprise) So far so good......then it asks for "On which partition to install ??" I dont want that.....i want PE to wipe it, format it and install vista without intervention....just like RIS does....i tried everything......can someone take a look at my answer file ? (this is attached to the Vista EE image and to the X86 WDS client). Note: domain join and timezone settings work, also the "enable local admin command".. ....but for example also the sidebar option (i just want the clock) doesnt work (after install it shows 3 gadgets) ----------------------------------------------------------------------------------------------------------------------------------- <?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> <WillShowUI>OnError</WillShowUI> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>HOMEUSER</FullName> <Organization>HOMEORG</Organization> </UserData> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <Size>20000</Size> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="modify"> <Active>true</Active> <Extend>false</Extend> <Format>NTFS</Format> <Label>VISTA</Label> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <InstallToAvailablePartition>true</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> <ProtectYourPC>3</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <TimeZone>W. Europe Standard Time</TimeZone> </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"> <Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true</Gadget1> <Gadget2 /> <Gadget3 /> </component> </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> <Credentials> <Domain>domain</Domain> <Password>password</Password> <Username>administrator</Username> </Credentials> <JoinDomain>domain</JoinDomain> </Identification> </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> <Credentials> <Domain>domain</Domain> <Password>password</Password> <Username>administrator</Username> </Credentials> <Path>net user administrator /active:yes</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="auditSystem"> <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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"> <DriverPaths> <PathAndCredentials wcm:action="add" wcm:keyValue="1"> <Credentials> <Domain>domain</Domain> <Password>password</Password> <Username>administrator</Username> </Credentials> <Path>\\server\reminst\alldrivers</Path> </PathAndCredentials> </DriverPaths> </component> </settings> <cpi:offlineImage cpi:source="wim:w:/winpe/enterprise.wim#Windows Vista ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
×
×
  • Create New...