You are not logged in.

  • "Flaschenpost" started this thread

Posts: 15

Date of registration: Dec 25th 2010

  • Send private message

1

Sunday, February 27th 2011, 7:56pm

autounattend.xml für SP1 anpassen

Hi,
für Win 7 64bit ohne SP habe ich bisher erfolgreich folgende autounattend.xml verwendet

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
	<servicing>
    	<package action="configure">
        	<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
        	<selection name="MSMQ-HTTP" state="false" />
        	<selection name="InboxGames" state="false" />
        	<selection name="MediaCenter" state="false" />
        	<selection name="OpticalMediaDisc" state="false" />
        	<selection name="WindowsMediaPlayer" state="false" />
        	<selection name="WindowsGadgetPlatform" state="true" />
        	<selection name="MSRDC-Infrastructure" state="false" />
        	<selection name="TabletPCOC" state="false" />
        	<selection name="Xps-Foundation-Xps-Viewer" state="false" />
    	</package>
	</servicing>
	<settings pass="windowsPE">
    	<component name="Microsoft-Windows-International-Core-WinPE" 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">
        	<SetupUILanguage>
            	<UILanguage>de-DE</UILanguage>
        	</SetupUILanguage>
        	<InputLocale>de-DE</InputLocale>
        	<SystemLocale>de-DE</SystemLocale>
        	<UILanguage>de-DE</UILanguage>
        	<UserLocale>de-DE</UserLocale>
    	</component>
    	<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">
        	<UserData>
            	<ProductKey>
                	<Key></Key>
                	<WillShowUI>OnError</WillShowUI>
            	</ProductKey>
            	<AcceptEula>true</AcceptEula>
            	<FullName>XXXXX</FullName>
            	<Organization></Organization>
        	</UserData>
        	<EnableFirewall>false</EnableFirewall>
        	<EnableNetwork>false</EnableNetwork>
        	<ImageInstall>
            	<OSImage>
                	<InstallFrom>
                    	<MetaData wcm:action="add">
                        	<Key>/IMAGE/NAME</Key>
                        	<Value>Windows 7 PROFESSIONAL</Value>
                    	</MetaData>
                	</InstallFrom>
            	</OSImage>
        	</ImageInstall>
    	</component>
	</settings>
	<settings pass="specialize">
    	<component name="Microsoft-Windows-UnattendedJoin" 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">
        	<Identification>
            	<JoinWorkgroup>XXX</JoinWorkgroup>
        	</Identification>
    	</component>
    	<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">
        	<ComputerName>XXXX</ComputerName>
    	</component>
    	<component name="Microsoft-Windows-Deployment" 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">
        	<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:\AutoUnattend.xml SETX SOURCE %i: -m"</Path>
            	</RunSynchronousCommand>
        	</RunSynchronous>
    	</component>
    	<component name="Microsoft-Windows-ErrorReportingCore" 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">
        	<DisableWER>1</DisableWER>
    	</component>
    	<component name="Microsoft-Windows-GameExplorer" 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">
        	<HideMicrosoftGameProvider>1</HideMicrosoftGameProvider>
    	</component>
    	<component name="Microsoft-Windows-SystemRestore-Main" 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">
        	<DisableSR>1</DisableSR>
    	</component>
    	<component name="Security-Malware-Windows-Defender" 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">
        	<DisableAntiSpyware>true</DisableAntiSpyware>
    	</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">
        	<OOBE>
            	<HideEULAPage>true</HideEULAPage>
            	<NetworkLocation>Home</NetworkLocation>
            	<ProtectYourPC>1</ProtectYourPC>
            	<SkipMachineOOBE>true</SkipMachineOOBE>
            	<SkipUserOOBE>true</SkipUserOOBE>
        	</OOBE>
        	<UserAccounts>
            	<LocalAccounts>
                	<LocalAccount wcm:action="add">
                    	<Password>
                        	<Value></Value>
                        	<PlainText>true</PlainText>
                    	</Password>
                    	<Name>XXXXXX</Name>
                    	<Group>Administrators</Group>
                	</LocalAccount>
            	</LocalAccounts>
        	</UserAccounts>
        	<AutoLogon>
            	<Password>
                	<PlainText>true</PlainText>
                	<Value></Value>
            	</Password>
            	<LogonCount>5</LogonCount>
            	<Enabled>true</Enabled>
            	<Username>XXXXXX</Username>
        	</AutoLogon>
        	<FirstLogonCommands>
            	<SynchronousCommand wcm:action="add">
                	<RequiresUserInput>false</RequiresUserInput>
                	<CommandLine>%SOURCE%\_Win7_Addons\Dateien_kopieren_64bit.exe</CommandLine>
                	<Order>1</Order>
                	<Description>Einstellungen vornehmen</Description>
            	</SynchronousCommand>
        	</FirstLogonCommands>
        	<TimeZone>W. Europe Standard Time</TimeZone>
        	<WindowsFeatures>
            	<ShowInternetExplorer>false</ShowInternetExplorer>
            	<ShowMediaCenter>false</ShowMediaCenter>
            	<ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
        	</WindowsFeatures>
    	</component>
	</settings>
	<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>
</unattend>



Nun wollte ich die gleiche Datei für Win 7 64bit mit SP1 verwenden.

Leider kommt sehr früh der Fehler

"Die Einstellungen für die unbeaufsichtige Installation konnten beim Durchgang nicht angewendet werden [offlineServicing]"

Was muß ich ändern, damits läuft

PS: Wie kann ich am besten die autounattend.xml hier einfügen, ohne dass es mir das Design verhaut :?:

This post has been edited 7 times, last edit by "Flaschenpost" (Apr 18th 2011, 8:56pm)


g-force

Gunnar

Posts: 11,356

Date of registration: Sep 23rd 2008

Thanks: 165 / 162

  • Send private message

2

Sunday, February 27th 2011, 8:10pm

PS: Wie kann ich am besten die autounattend.xml hier einfügen, ohne dass es mir das Design verhaut

In Codebox -> siehe oben
"Von all den Dingen, die mir verloren gegangen sind, habe ich am meisten an meinem Verstand gehangen."

Sereby

Updatepack-Master

Posts: 2,375

Date of registration: Sep 23rd 2008

Thanks: 1273 / 0

  • Send private message

3

Monday, February 28th 2011, 6:37am

ersetze mal "6.1.7600.16385" mit "6.1.7601.17514"
Wem die Projekte gefallen und wer etwas dazu beitragen möchte ist in der Lage dies mittels einer # Spende # zu tun!

peterpan

Ahnungsloser

Posts: 481

Date of registration: Sep 23rd 2008

Thanks: 0 / 21

  • Send private message

4

Monday, February 28th 2011, 8:01am

ersetze mal "6.1.7600.16385" mit "6.1.7601.17514"
Ja genau....
Und was seit einigen Integrierten Updates/Hotfixes und gegebenenfalls mit "SP1" nicht mehr funktioniert ist folgendes:

Source code

1
2
3
4
5
	<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>
Hier ist es besser diese Einstellung über einen Registry Eintrag zu bewerkstelligen.

Source code

1
2
3
4
5
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000000

  • "Flaschenpost" started this thread

Posts: 15

Date of registration: Dec 25th 2010

  • Send private message

5

Monday, April 18th 2011, 8:56pm

Danke Sereby und peterpan.
Nun gehts (Sorry für die späte Antwort, hab ich wohl verpennt ;-) )