Ik heb een vreemd probleem bij het syspreppen van Windows 7 machines waar ik niet uit kom. Als ik een lokale gebruiker aanmaak voordat ik de machine sysprep, dan werkt dit account perfect.
Maar als de machine eenmaal gesysprept is dan gebeuren er vreemde dingen met de lokale accounts; b.v. de event viewer crasht, applicaties zijn niet te installeren, een groot deel van de al geïnstalleerde applicaties crashen.
Dit probleem heb ik met Windows 7 Professional, Windows 7 Enterprise en Windows 7 Embedded, allemaal met SP1
Voor het syspreppen gebruik ik het volgende commando: sysprep.exe /generalize /oobe /schutdown /unattend:C:\Windows\System32\Sysprep\Sysprep.xml
De lokale gebruiker is in dit geval: "Gebruiker"
Dit is de inhoud van Sysprep.xml:
Maar als de machine eenmaal gesysprept is dan gebeuren er vreemde dingen met de lokale accounts; b.v. de event viewer crasht, applicaties zijn niet te installeren, een groot deel van de al geïnstalleerde applicaties crashen.
Dit probleem heb ik met Windows 7 Professional, Windows 7 Enterprise en Windows 7 Embedded, allemaal met SP1
Voor het syspreppen gebruik ik het volgende commando: sysprep.exe /generalize /oobe /schutdown /unattend:C:\Windows\System32\Sysprep\Sysprep.xml
De lokale gebruiker is in dit geval: "Gebruiker"
Dit is de inhoud van Sysprep.xml:
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
| <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:ew="urn:schemas-microsoft-com:embedded.unattend.internal.v1"> <servicing> <package action="configure"> <assemblyIdentity name="Microsoft-Windows-EmbeddedEdition" version="6.1.7601.17514" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" /> <ew:packageInfo releaseType="Product" customInfoVersion="1.0" /> </package> </servicing> <settings pass="generalize"> <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices> </component> <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipRearm>1</SkipRearm> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" 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> </RunSynchronous> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ComputerName>*</ComputerName> <ShowWindowsLive>false</ShowWindowsLive> <RegisteredOrganization>Bedrijf</RegisteredOrganization> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <TimeZone>W. Europe Standard Time</TimeZone> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Embedded-Core-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HideEvaluationWarning>1</HideEvaluationWarning> </component> <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <InputLocale>nl-us</InputLocale> <SystemLocale>nl</SystemLocale> <UILanguage>en-us</UILanguage> <UserLocale>nl</UserLocale> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AutoLogon> <Password> <Value>VwB5AHMAZQAjADEAMgAzAFAAYQBzAHMAdwBvAHIAZAA=</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <Username>Administrator</Username> <LogonCount>5</LogonCount> </AutoLogon> <OOBE> <NetworkLocation>Work</NetworkLocation> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <ProtectYourPC>1</ProtectYourPC> <HideEULAPage>true</HideEULAPage> </OOBE> <UserAccounts> <AdministratorPassword> <Value>VwB5AHMAZQAjADEAMgAzAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>VwB5AHMAZQAjADEAMgAzAFAAYQBzAHMAdwBvAHIAZAA=</Value> <PlainText>false</PlainText> </Password> <Name>Gebruiker</Name> <DisplayName>Gebruiker</DisplayName> <Description>Default User</Description> <Group>Administrators</Group> </LocalAccount> </LocalAccounts> </UserAccounts> <RegisteredOrganization>Bedrijf</RegisteredOrganization> <RegisteredOwner>Afdeling</RegisteredOwner> </component> </settings> <ew:answerFileInfo distributionSharePath="C:\Program Files\Windows Embedded Standard 7\DSSP1" footprint="576716800" ecoreFootprint="576716800" /> </unattend> |