Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unattended.xml wird vom W2008R2x64 bei der WDS Image Verteilung nicht verwendet

Empfohlene Antworten

Veröffentlicht

Hallo Zusammen,

Ich habe folgendes Problem und hoffe, dass mir jemand von Euch sagen kann, wo meine Fehler ist.

Was wir haben:

WDS (Windows Deployment Server auf dem Win.2008 R2 x64 DE + Win2008R2 Eterprise als insall.wim)

Unattended.xml mit den Einstellungen um komplett die Installtion zu automatisieren.

Was nicht funktioniert:

Bei der Imageverteilung werden die Einstellungen des Unattended.xml nicht verwendet, so als ob die Datei gar nicht miteingebunden wäre. Meiner Meinung nach, liegt die Fehler in der Konfiguration des XML Datei, denn alles anderes ist bereits getestet worden ist.

Firewall ist abgeschaltet auf dem Bereitstellungsserver. Start (boot.wim) zum Auswahl des jeweiligen Images ist OK.

Nun, da ich leider nicht so in Unattended.xml fit bin, hoffe ich, Ihr könnt mir helfen.

Anbei ist mein XML Code

Schönes Wochenende wünsche ich noch allen

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

-<unattend xmlns:cpi="urn:schemas-microsoft-com:cpi" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns="urn:schemas-microsoft-com:unattend"><servicing/>-<settings pass="windowsPE">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-International-Core-WinPE">-<SetupUILanguage><UILanguage>de-de</UILanguage></SetupUILanguage><InputLocale>de-de</InputLocale><SystemLocale>de-de</SystemLocale><UILanguage>de-de</UILanguage><UserLocale>de-de</UserLocale></component>-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Setup">-<DiskConfiguration>-<Disk wcm:action="add">-<CreatePartitions>-<CreatePartition wcm:action="add"><Extend>true</Extend><Order>2</Order><Type>Primary</Type><Size>10000</Size></CreatePartition>-<CreatePartition wcm:action="add"><Order>1</Order><Size>15000</Size><Type>Primary</Type></CreatePartition></CreatePartitions>-<ModifyPartitions>-<ModifyPartition wcm:action="add"><Format>NTFS</Format><Letter>D</Letter><Order>2</Order><PartitionID>2</PartitionID><Label>DATEN-TEST</Label></ModifyPartition>-<ModifyPartition wcm:action="add"><Active>true</Active><Format>NTFS</Format><Letter>C</Letter><Order>1</Order><PartitionID>1</PartitionID><Label>SYSTEM-TEST</Label></ModifyPartition></ModifyPartitions><DiskID>0</DiskID><WillWipeDisk>true</WillWipeDisk></Disk><WillShowUI>Never</WillShowUI></DiskConfiguration>-<ImageInstall>-<OSImage>-<InstallTo><DiskID>0</DiskID><PartitionID>1</PartitionID></InstallTo><InstallToAvailablePartition>true</InstallToAvailablePartition></OSImage></ImageInstall>-<UserData><AcceptEula>true</AcceptEula><FullName>fullname</FullName><Organization>SOME Corporation</Organization></UserData>-<DynamicUpdate><Enable>true</Enable><WillShowUI>Never</WillShowUI></DynamicUpdate>

<!-- <PageFile> <Path>D:\PageFile.sys</Path> <Size>5000</Size> </PageFile> -->

<EnableFirewall>true</EnableFirewall><EnableNetwork>true</EnableNetwork><Restart>Restart</Restart><UseConfigurationSet>false</UseConfigurationSet></component></settings>-<settings pass="specialize">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup"><ComputerName>SRV-TEST</ComputerName><TimeZone>Central Standard Time</TimeZone><ProductKey>XXXX-XXXX-XXXX-XXXX</ProductKey><RegisteredOrganization>TEST FIRMA</RegisteredOrganization><RegisteredOwner>Mustermann</RegisteredOwner><CopyProfile>false</CopyProfile><DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet><DoNotCleanTaskBar>true</DoNotCleanTaskBar><ShowWindowsLive>false</ShowWindowsLive><StartPanelOff>true</StartPanelOff></component>-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-TCPIP">-<Interfaces>-<Interface wcm:action="add">-<Ipv4Settings><DhcpEnabled>false</DhcpEnabled><RouterDiscoveryEnabled>true</RouterDiscoveryEnabled><Metric>10</Metric></Ipv4Settings>-<UnicastIpAddresses><IpAddress wcm:action="add" wcm:keyValue="IpAddress">192.168.0.21</IpAddress></UnicastIpAddresses><Identifier>Local Area Connection</Identifier>-<Routes>-<Route wcm:action="add"><NextHopAddress>192.168.0.1</NextHopAddress><Identifier>1</Identifier><Metric>10</Metric><Prefix/></Route></Routes></Interface></Interfaces></component>-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-DNS-Client">-<Interfaces>-<Interface wcm:action="add">-<DNSServerSearchOrder><IpAddress wcm:action="add" wcm:keyValue="1">192,168.0.10</IpAddress></DNSServerSearchOrder><Identifier>Local Area Connection</Identifier><DisableDynamicUpdate>true</DisableDynamicUpdate><DNSDomain>domain.net</DNSDomain><EnableAdapterDomainNameRegistration>true</EnableAdapterDomainNameRegistration></Interface></Interfaces><DNSDomain>domain.net</DNSDomain><UseDomainNameDevolution>true</UseDomainNameDevolution></component>-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Deployment">-<RunSynchronous>-<RunSynchronousCommand wcm:action="add"><Order>10</Order><Path>reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f</Path><Description>UAC Abschaltung</Description></RunSynchronousCommand>

<!-- <RunSynchronousCommand wcm:action="add"> <Order>15</Order> <Path>cmd.exe /c C:\netinst\forefront\clientsetup.exe /nomom</Path> </RunSynchronousCommand> -->

-<RunSynchronousCommand wcm:action="add"><Order>20</Order><Path>reg add "HKEY_LOCAL_MACHINE\system\currentcontrolset\control\terminal server" /f /v fDenyTSConnections /t REG_DWORD /d 0</Path><Description>Remote Desktop Aktivierung</Description></RunSynchronousCommand>-<RunSynchronousCommand wcm:action="add"><Order>30</Order><Path>reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v ShutdownWithoutLogon /t REG_DWORD /d 1 /f </Path><Description>Logonout Shutdown</Description></RunSynchronousCommand>-<RunSynchronousCommand wcm:action="add"><Order>35</Order><Path>netsh firewall set opmode mode=disable profile=all</Path><Description>Firewall Abschaltung</Description></RunSynchronousCommand></RunSynchronous></component>-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-UnattendedJoin">-<Identification>-<Credentials><Domain>domain.net</Domain><Password>12345</Password><Username>Administrator</Username></Credentials><JoinDomain>domain.net</JoinDomain><MachinePassword>12345</MachinePassword></Identification></component></settings>

<!-- <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-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"> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>cwB3AG8AcgBkAGYAaQBzAGgAUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <Description>test user</Description> <DisplayName>Mark Minasi</DisplayName> <Group>administrators;users</Group> <Name>Mark</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> </component> </settings> -->

-<settings pass="auditUser">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Deployment">-<RunSynchronous>-<RunSynchronousCommand wcm:action="add"><Description>network setup</Description><Order>10</Order><Path>cmd /c start /wait cmd /k pause</Path></RunSynchronousCommand></RunSynchronous></component></settings>-<settings pass="oobeSystem">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">-<UserAccounts>-<AdministratorPassword><Value>MQAyADMANAA1AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value><PlainText>false</PlainText></AdministratorPassword>-<LocalAccounts>-<LocalAccount><Name>user1</Name><Group>Administrators</Group><DisplayName>Access</DisplayName>-<Password><Value>MQAyADMANAA1AFAAYQBzAHMAdwBvAHIAZAA=</Value><PlainText>false</PlainText></Password></LocalAccount></LocalAccounts></UserAccounts>-<FirstLogonCommands>-<SynchronousCommand wcm:action="add"><Order>1</Order><CommandLine>cmd.exe /c cscript %windir%\system32\slmgr.vbs -ato</CommandLine><Description>OS Aktivierung</Description></SynchronousCommand>-<SynchronousCommand wcm:action="add"><Order>2</Order><CommandLine>cmd.exe /c C:\windows\system32\wuauclt /updatenow</CommandLine><Description>Updateüberprüfung</Description></SynchronousCommand></FirstLogonCommands>-<OOBE><ProtectYourPC>1</ProtectYourPC><HideEULAPage>true</HideEULAPage><HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE><SkipMachineOOBE>true</SkipMachineOOBE><SkipUserOOBE>true</SkipUserOOBE></OOBE><RegisteredOrganization>TEST Firma</RegisteredOrganization><RegisteredOwner>TESTADMIN</RegisteredOwner><ShowWindowsLive>false</ShowWindowsLive><StartPanelOff>false</StartPanelOff><BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled><DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet><DoNotCleanTaskBar>true</DoNotCleanTaskBar></component></settings><cpi:offlineImage cpi:source="catalog:i:/sources/install_windows 7 professional.clg"/></unattend>

  • Autor

Ja, das ist klar. Nur für WDS in 2008r2 ist es eigentlich nicht mehr so entscheidend, denn der nimmr xml datei und kopiert den in den Ordner Images\Windows2008R2\imageunattend.xml und der datei wird dann verwendet, nur es passiert trotzdem nichts. Die Einstellungen werden einfach vom verteiltem Image ignoriert.

  • Autor

Das funktioniert schon bereits, allerdings was noch offen ist. Der Script arbeitet die Synchronos Commands nicht ab - 4 Punkt Specialize und im OOBE 7 - FirstLogonCommands\Synchronos Commands. Im ersten Step (Punkt 4 sollen enigen Reg Keys geändert werden) im zweiten Step (OOBE - 7 Punkt) sollen solche Befehle, wie z.B. Firewall Abschaltung für alle Profile, SLMGR und GPUPDAte /Force ausgeführt werden.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.