aktuell bin ich dabei, Windows 7 als Netboot Produkt bereitzustellen, was bisher auch ganz gut funktioniert. Die Standardinstallation läuft ohne Probleme. Nun möchte ich die Installation anpassen, indem ich u.a. zwei lokale Benutzer erstelle, wovon einer Mitglied der Administratorgruppe werden soll. Gleichzeitig soll der bestehende Administrator Account deaktiviert bleiben. Also custom\unattend.xml anpassen:
Administrator-Aktivierung auskommentieren...
Code: Alles auswählen
<!--
<RunSynchronousCommand wcm:action="add">
<Description>Enable Admin Account</Description>
<Order>2</Order>
<Path>cmd.exe /c net user administrator /active:yes</Path>
</RunSynchronousCommand>
-->
Benutzer erstellen...
Code: Alles auswählen
<LocalAccount wcm:action="add">
<Password>
<PlainText>true</PlainText>
<Value>***</Value>
</Password>
<Description>benutzer1</Description>
<Group>Administratoren</Group>
<Name>benutzer1</Name>
<DisplayName>benutzer1</DisplayName>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<PlainText>true</PlainText>
<Value>***</Value>
</Password>
<Description>benutzer2</Description>
<Group>Users</Group>
<Name>benutzer2</Name>
<DisplayName>benutzer2</DisplayName>
</LocalAccount>
Dinge wie...
Code: Alles auswählen
<RunSynchronousCommand wcm:action="add">
<Description>Enable Admin for benutzer1</Description>
<Order>1</Order>
<Path>cmd.exe /c net localgroup Administratoren benutzer1 /add</Path>
</RunSynchronousCommand>
Kann mir jemand einen Hinweis geben, wo mein Fehler liegt?
Vielen Dank im Voraus!
beste Grüße
David