Jump to content

zeezam

Member
  • Posts

    146
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Sweden

Everything posted by zeezam

  1. Is that the problem? I'll check it out. I have done mine unattended file with WAIK.
  2. I have a full working unattend file that is activated to run wds in unattended mode. Now I want several images to choose during the installation and this solution doesn't work then because I have pointed out the imagename in the unattend file etc. I tried to cut and paste the windowsPE part to a new file and added the unattend file to the image in WDS but I got prompted with disk and language settings during the installation... Any ideas? In wich order do the components run during the windows 7 installation? Here is my unattend file that I use from the beginning; <?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>041d:0000041d</InputLocale> <SystemLocale>sv-SE</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>sv-SE</UserLocale> </component> <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <WindowsDeploymentServices> <Login> <WillShowUI>Never</WillShowUI> <Credentials> <Username>Administrator</Username> <Domain>domain.local</Domain> <Password>password</Password> </Credentials> </Login> <ImageSelection> <InstallImage> <ImageName>win7</ImageName> <ImageGroup>win7</ImageGroup> <Filename>win7std.wim</Filename> </InstallImage> <WillShowUI>Never</WillShowUI> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </ImageSelection> </WindowsDeploymentServices> <DiskConfiguration> <WillShowUI>Never</WillShowUI> <Disk> <CreatePartitions> <CreatePartition> <Order>1</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <ModifyPartitions> <ModifyPartition> <Active>true</Active> <Format>NTFS</Format> <Label>SYSTEM</Label> <Letter>C</Letter> <PartitionID>1</PartitionID> <Order>1</Order> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> </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> <UnsecureJoin>True</UnsecureJoin> <JoinDomain>domain.local</JoinDomain> <Credentials> <Domain>domain.local</Domain> <Password>password</Password> <Username>Administrator</Username> </Credentials> <MachineObjectOU>Computers</MachineObjectOU> </Identification> </component> <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled> <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet> <RegisteredOrganization>International Data Group</RegisteredOrganization> <RegisteredOwner>IT</RegisteredOwner> <ShowWindowsLive>false</ShowWindowsLive> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <TimeZone>W. Europe Standard Time</TimeZone> <CopyProfile>true</CopyProfile> </component> <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <SecurityLayer>2</SecurityLayer> <UserAuthentication>2</UserAuthentication> </component> <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <fDenyTSConnections>false</fDenyTSConnections> </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"> <Credentials> <Domain>domain.local</Domain> <Password>password</Password> <Username>Administrator</Username> </Credentials> <Path>net use administrator /active:yes</Path> <Order>1</Order> <Description>adminkonto active</Description> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <UserAccounts> <LocalAccounts> <LocalAccount> <Password> <Value>SwBhAG4AIABpAG4AdABlACAAcwBvAHYAYQAhAFAAYQBzAHMAdwBvAHIAZAA=</Value> <PlainText>false</PlainText> </Password> <Description>IT admin account</Description> <DisplayName>user</DisplayName> <Group>Administrators;Power Users</Group> <Name>user</Name> </LocalAccount> </LocalAccounts> <DomainAccounts> <DomainAccountList> <DomainAccount> <Name>Administrator</Name> <Group>Administrators;Power Users</Group> </DomainAccount> <Domain>domain.local</Domain> </DomainAccountList> </DomainAccounts> </UserAccounts> </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>041d:0000041d</InputLocale> <SystemLocale>sv-SE</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>sv-SE</UserLocale> </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"> <RunAsynchronous> <RunAsynchronousCommand wcm:action="add"> <Credentials> <Domain>idg.local</Domain> <Password>password</Password> <Username>Administrator</Username> </Credentials> <Path>wscript \\dc\scripts\win7\CloseWim.vbs</Path> <Order>1</Order> <Description>set network location</Description> </RunAsynchronousCommand> <RunAsynchronousCommand wcm:action="add"> <Credentials> <Domain>domain.local</Domain> <Password>password</Password> <Username>Administrator</Username> </Credentials> <Description>test</Description> <Order>2</Order> <Path>\\dc\scripts\win7\test.cmd</Path> </RunAsynchronousCommand> </RunAsynchronous> </component> </settings> <cpi:offlineImage cpi:source="catalog:c:/kb3aik_en/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>
  3. You need more than just the key you also need certificate if you have levono original OEM dvd look in $OEM$ folder. Ok, where do I put the certificate? To some of my computers lenovo only send windows xp media.
  4. I'm using the key that are labeled on the machine. Like this one; How do I find the COA SLP?
  5. I have a clean windows 7 pro image that I use on my wds. I tested with a new shipped lenovo x200 with oem licens, installed from wds and on the finish I typed in the windows 7 pro AO key. When I tried activate the license in windows I got this message; "The Windows 7 Professional product key you typed is invalid for activation" Any ideas?
  6. Solved it. I open the xml file in WSIM. I ran the validation. There is two type of international-core. On is named international-core-winpe. I I choose them from the component list and add to my answer file it comes to right place.
  7. That's not what I first did. myselfidem told me to put all to sv-SE. UILanguage is the one that should på en-US (for the gui). The sv-SE keyboard language still don't apply.
  8. I got an error; WdsClient: A matching language pack was not found. Please check your client unattended installation file. Language pack [sv-SE]. I don't want to have the whole gui to be sv-SE, just the keyboard layout...
  9. I have this section in my unattend.xml file; <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>041d:0000041d</InputLocale> <SystemLocale>sv-SE</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>sv-SE</UserLocale> </component> I have to choose from eng to swe keybaord layout after the installation is finished. edit: I don't think the Microsoft-Windows-International-Core-WinPE should be placed under oobe, that braked my hole installation and it wont pass the validation test in WSIM... Here is my full unattended.xml <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>041d:0000041d</InputLocale> <SystemLocale>sv-SE</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>sv-SE</UserLocale> </component> <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <WindowsDeploymentServices> <Login> <WillShowUI>Never</WillShowUI> <Credentials> <Username>Administrator</Username> <Domain>domain.local</Domain> <Password>pass</Password> </Credentials> </Login> <ImageSelection> <InstallImage> <ImageName>win7</ImageName> <ImageGroup>win7</ImageGroup> <Filename>win7std.wim</Filename> </InstallImage> <WillShowUI>Never</WillShowUI> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </ImageSelection> </WindowsDeploymentServices> <DiskConfiguration> <WillShowUI>Never</WillShowUI> <Disk> <CreatePartitions> <CreatePartition> <Order>1</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <ModifyPartitions> <ModifyPartition> <Active>true</Active> <Format>NTFS</Format> <Label>SYSTEM</Label> <Letter>C</Letter> <PartitionID>1</PartitionID> <Order>1</Order> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> </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> <UnsecureJoin>True</UnsecureJoin> <JoinDomain>domain.local</JoinDomain> </Identification> </component> <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled> <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet> <RegisteredOrganization>IT</RegisteredOrganization> <RegisteredOwner>IT</RegisteredOwner> <ShowWindowsLive>false</ShowWindowsLive> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <TimeZone>W. Europe Standard Time</TimeZone> </component> <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <SecurityLayer>2</SecurityLayer> <UserAuthentication>2</UserAuthentication> </component> <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <fDenyTSConnections>false</fDenyTSConnections> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>041d:0000041d</InputLocale> <SystemLocale>sv-SE</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>sv-SE</UserLocale> </component> <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount> <Password> <Value>pass</Value> <PlainText>true</PlainText> </Password> <Description>IT admin account</Description> <DisplayName>it</DisplayName> <Group>Administrators;Power Users</Group> <Name>it</Name> </LocalAccount> </LocalAccounts> <DomainAccounts> <DomainAccountList> <DomainAccount> <Name>Administrator</Name> <Group>Administrators;Power Users</Group> </DomainAccount> <Domain>domain.local</Domain> </DomainAccountList> </DomainAccounts> </UserAccounts> </component> </settings> <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
  10. When I try to google things from msfn or search in the forum and want to get to that link I land on msfn start page. Any ideas?
  11. I pxe boot to wds on my capture image and follow the wizard. When I try to save the image on my wds the 'Next' button is grey marked, so I can't choose that one. I can connect to my wds server and choose 'Image Group name' but not go any further. Haven't found any settings in wds för uploading image to server. I have also tried to save the image on a usb disk that I have 150gb free space but after like 30% in the process it complains about not enough disk space.
  12. I have created an Capture Image but when I choose to boot from it with PXE I come to the installation process. If I choose to sysprep, what can I boot with to use ImageX? Edit Worked great when I created a new boot image with the boot.wim I got when I created a capture image. Syspreped the machine, PXE booted and came to the wizard. Now I have two *.wim files added under Install Images in WDS but I can't choose image now when I boot, it takes the install.wim I have specified in unattended.xml. Is it possible to choose which wim to install via the boot image, so I can use which image I want to install from the boot menu?
  13. Thanks for the info! Is the best way to make a capture boot image? Edit; Found a good demo -> http://technet.microsoft.com/en-us/windows/ee530017.aspx I'll try this out tomorrow.
  14. I added the program files to the root of install.wim and putted SetupComplete.cmd in Mount\Windows\Setup\Scripts. unmounted the install.wim and mounted again to see if the files were there. Pointed in the script to C:\filetoinstall but nothing is installed when setup is complete and I can't see the files in the system root folder. I use pxe to my wds server to install. Can't find anything about SetupComplete.cmd in my Setupact.log file. Isn't it easier to put all files in RemoteInstall\Images\win7\install\$OEM$ on the server, then I don't have to modify the wim file?
  15. I mounted my install.wim but I don't have an Scripts folder in "mount\windows\setup". Should I just create a folder and a .cmd in the Scripts folder?
  16. Can't find any info about that. Do I have to mount my install.wim and include the script somwhere to make it run on the first autologon after the wds installation is finished?
  17. Thanks. Whas there a fix to install on a vm? First it complained about make the disk active so I changed it to 0. Now I get "Windows could not apply the unattend answer file's <DiskConfiguration> setting. I have checked with WSIM and no errors on the unattended.xml file. Edit: I got this error on all machines so it hasn't anything to do that i's a wm.
  18. I have fixed all problems except one; "The specified setting UserData does not exist. Components/windowsPE/x86_Microsoft-Windows-Setup_neutral/WindowsDeploymentServices/UserData". It's the AcceptEula,FullName,Organization and ProductKey that I have there. Isn't it possible to make that one unattended with win7 pro install.wim?
  19. I tried to remove the modified settings and installed on a virtual machine but then it complain about disk 0. Isn't it possible to install on a virtual machine? Thanks, I'll try that out!
  20. I have modified my unattended.xml a little bit after 7custumizer and I got this error when try to install with wds. Windows could not parse or process unattend answer file [X:\sources\wdsunattend\wdsunattend.xml] for pass [windowsPE]. A component or setting specified in the answer file does not exist. Here is my answer file; <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <WindowsDeploymentServices> <Login> <WillShowUI>OnError</WillShowUI> <Credentials> <Username>Administrator</Username> <Domain>domain.local</Domain> <Password>My Password</Password> </Credentials> </Login> <UserData> <ProductKey> <Key>temporary key</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>org</Organization> <FullName>org</FullName> <AcceptEula>true</AcceptEula> </UserData> <ImageSelection> <InstallImage> <ImageName>win7</ImageName> <ImageGroup>win7</ImageGroup> <Filename>install.wim</Filename> </InstallImage> <WillShowUI>OnError</WillShowUI> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </ImageSelection> </WindowsDeploymentServices> <DiskConfiguration> <WillShowUI>OnError</WillShowUI> <Disk> <DiskID>0</DiskID> <WillWipeDisk>false</WillWipeDisk> <ModifyPartitions> <ModifyPartition> <Order>1</Order> <PartitionID>1</PartitionID> <Letter>C</Letter> <Label>Win7</Label> <Format>NTFS</Format> <Active>true</Active> <Extend>false</Extend> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> </component> <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <SystemLocale>en-us</SystemLocale> <UserLocale>0409:00000409</UserLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-us</UILanguageFallback> <InputLocale>0409:00000409</InputLocale> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-UnattendedJoin" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <Identification> <UnsecureJoin>true</UnsecureJoin> <JoinDomain>domain.local</JoinDomain> </Identification> </component> <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled> <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet> <RegisteredOrganization>International Data Group</RegisteredOrganization> <RegisteredOwner>IT-Department (org)</RegisteredOwner> <ShowWindowsLive>false</ShowWindowsLive> <ComputerName>win7desktop-WDS</ComputerName> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <TimeZone>W. Europe Standard Time</TimeZone> <AutoLogon> <Username>Administrator</Username> <Enabled>true</Enabled> <LogonCount>999</LogonCount> </AutoLogon> </component> <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <SecurityLayer>2</SecurityLayer> <UserAuthentication>2</UserAuthentication> </component> <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <fDenyTSConnections>false</fDenyTSConnections> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>0</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount> <Password> <Value>local password</Value> <PlainText>true</PlainText> </Password> <Description>IT admin account</Description> <DisplayName>org</DisplayName> <Group>Administrators;Power Users</Group> <Name>it</Name> </LocalAccount> </LocalAccounts> <DomainAccounts> <DomainAccountList> <DomainAccount> <Name>Administrator</Name> <Group>Administrators;Power Users</Group> </DomainAccount> <Domain>domain.local</Domain> </DomainAccountList> </DomainAccounts> </UserAccounts> </component> </settings> </unattend>
  21. Do you save/restore the MBR (or at least the disk signature in it?). If not, it is very possible that this is the origin of the error on SAME hardware. jaclaz Nope, I haven't done that before. Do you recomend to do this with dd command in the linux terminal?
  22. I take the liberty to suggest that if it happens on SAME machine, the cause may be different if it happens on different hardware only. An image of a system, once restored to same machine is (or should be) EXACTLY as if nothing was done to it. This would mean some problem with the app you use to create the image or in the way you make it. If it happens ONLY on different hardware, it is normal, and there may be some tricks/ways to prevent the need to repair. In other words, until you have a problem in restoring the image on the SAME machine, you are losing your time trying to restore it to different hardware, Once you have succeeded with restoring on same machine, it may be possible to attempt doing the same on different hardware. this: is not enough. You need to post an EXACT description of the procedure you took, BOTH for "saving the installation" AND for "restoring" it. jaclaz I use partimage to create an image of the windows partition. First I use a standard installation of windows7 with dvd media and after I have installed all applications I boot up with sysrescuecd and saves the win7 partition. Restore the partition with partimage to. What more info do you need?
  23. Image restore on SAME machine or on different hardware? jaclaz Doesn't mather which hw I use, still the same problem.
  24. I have saved a custom win7 installation as an image with sysrescuecd. After image restore I got this error; Status: 0xc000000e The boot selection failed because a required device is inaccessible. This method was working good with winxp but not with win7. If I start windows7 repair after image restore and fix boot problem it's working. Is there a way to skip the last step I have to do?
×
×
  • Create New...