Jump to content

rajeshjohn

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by rajeshjohn

  1. Thanks for the time Giving a try with the cmd /C start /wait c:\folder\FirstLog.cmd will report
  2. Thank you for the replies. I found that in the fix from this posting. http://www.msfn.org/board/topic/158579-w7-unattend-first-logon-command-resolved/ Ok, Now, I need to post install 2 msi packages on this VM once it is up and running. What should I use ?? I will try WISM as suggested by David. This forum rocks Thanks a lot
  3. I am trying to automate the windows 7 installation on KVM. So, i have this xml on a A:\. It works fine if i comment the <RunSynchronous> in the Specialize pass of Windows=shell-setup. Can someone shed light on this for me: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DiskConfiguration> <Disk wcm:action="add"> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <!--System partition--> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <size>100</size> </CreatePartition> <Createpartition wcm:action="add"> <order>2</order> <type>Primary</type> <Extend>true</Extend> </Createpartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>system</Label> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> <!--Windows Partition--> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>Win7Ent</Label> <Letter>C</Letter> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> </OSImage> </ImageInstall> <UserData> <ProductKey> <WillShowUI>OnError</WillShowUI> <!-- Change Product Key here. --> <Key>xxxxxxx</Key> </ProductKey> <AcceptEula>true</AcceptEula> </UserData> </component> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> </settings> <!-- Disables UA Notificiation when programs try to install software or make changes to the computer. "false" --> <settings pass="offlineServicing"> <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <EnableLUA>false</EnableLUA> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <OEMInformation> <HelpCustomized>false</HelpCustomized> </OEMInformation> <!-- Rename computer here. --> <ComputerName>*</ComputerName> <TimeZone>Eastern Standard Time</TimeZone> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Description>EnableAdmin</Description> <Order>1</Order> <Path>cmd /c net user Administrator /active:yes</Path> </RunSynchronousCommand> </RunSynchronous> </component> <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <!-- Disable automatic activation. This gives 30 days of usage when product key is specified in setup (WinPE pass). --> <SkipAutoActivation>true</SkipAutoActivation> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <!-- Rem out SkipMachine and SkipUser to Prompt for User Name --> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <TimeZone>Eastern Standard Time</TimeZone> <UserAccounts> <LocalAccounts> <AdministratorPassword> <Value>Passw0rd1</Value> <PlainText>true</PlainText> </AdministratorPassword> </LocalAccounts> </UserAccounts> <AutoLogon> <Password> <Value>Passw0rd1</Value> </Password> <Enabled>true</Enabled> <LogonCount>999</LogonCount> <Username>Administrator</Username> </AutoLogon> <Display> <ColorDepth>32</ColorDepth> <DPI>96</DPI> <HorizontalResolution>1366</HorizontalResolution> <RefreshRate>70</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> <Themes> <ThemeName>OEM</ThemeName> <DesktopBackground>%WINDIR%\Web\Wallpaper\Landscapes\imp9.jpg</DesktopBackground> <DefaultThemesOff>false</DefaultThemesOff> </Themes> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>en-US</UserLocale> </component> <FirstLogonCommands> <synchronousCommand wcm:action="add"> <Description>First_reg_edit</Description> <Order>1</Order> <CommandLine>CMD /c REG.exe add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\windowsupdate</CommandLine> </synchronousCommand> </FirstLogonCommands> < </component> </settings> </unattend>
×
×
  • Create New...