diff --git a/unattend.xml b/unattend.xml index 3e615a7..afdea6a 100644 --- a/unattend.xml +++ b/unattend.xml @@ -1,6 +1,6 @@ - + @@ -45,42 +45,11 @@ - - - - Admin - - Administrators - - - true</PlainText> - </Password> - </LocalAccount> - <LocalAccount wcm:action="add"> - <Name>User</Name> - <DisplayName></DisplayName> - <Group>Users</Group> - <Password> - <Value></Value> - <PlainText>true</PlainText> - </Password> - </LocalAccount> - </LocalAccounts> - </UserAccounts> - <AutoLogon> - <Username>Admin</Username> - <Enabled>true</Enabled> - <LogonCount>1</LogonCount> - <Password> - <Value></Value> - <PlainText>true</PlainText> - </Password> - </AutoLogon> <OOBE> <ProtectYourPC>3</ProtectYourPC> <HideEULAPage>true</HideEULAPage> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <HideOnlineAccountScreens>false</HideOnlineAccountScreens> + <HideOnlineAccountScreens>true</HideOnlineAccountScreens> </OOBE> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> @@ -471,9 +440,6 @@ $scripts = @( </File> <File path="C:\Windows\Setup\Scripts\FirstLogon.ps1"> $scripts = @( - { - Set-ItemProperty -LiteralPath 'Registry::HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -Name 'AutoLogonCount' -Type 'DWord' -Force -Value 0; - }; { cmd.exe /c "rmdir C:\Windows.old"; };