Only add a config template to the ISO
This commit is contained in:
parent
9727871912
commit
b51f25e7ce
1 changed files with 12 additions and 12 deletions
|
@ -143,7 +143,7 @@
|
||||||
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
|
||||||
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<ComputerName>DerGeret</ComputerName>
|
<ComputerName></ComputerName>
|
||||||
<ProductKey>W269N-WFGWX-YVC9B-4J6C9-T83GX</ProductKey>
|
<ProductKey>W269N-WFGWX-YVC9B-4J6C9-T83GX</ProductKey>
|
||||||
</component>
|
</component>
|
||||||
</settings>
|
</settings>
|
||||||
|
@ -188,36 +188,36 @@
|
||||||
<RegisteredOwner>Admin</RegisteredOwner>
|
<RegisteredOwner>Admin</RegisteredOwner>
|
||||||
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
|
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
|
||||||
<FirstLogonCommands>
|
<FirstLogonCommands>
|
||||||
<SynchronousCommand wcm:action="add">
|
<!-- <SynchronousCommand wcm:action="add">
|
||||||
<Description>Control Panel View</Description>
|
<Description>Control Panel View</Description>
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<CommandLine>reg add
|
<CommandLine>reg add
|
||||||
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel"
|
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel"
|
||||||
/v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
|
/v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
|
||||||
<RequiresUserInput>true</RequiresUserInput>
|
<RequiresUserInput>true</RequiresUserInput>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand> -->
|
||||||
<SynchronousCommand wcm:action="add">
|
<!-- <SynchronousCommand wcm:action="add">
|
||||||
<Order>2</Order>
|
<Order>2</Order>
|
||||||
<Description>Control Panel Icon Size</Description>
|
<Description>Control Panel Icon Size</Description>
|
||||||
<RequiresUserInput>false</RequiresUserInput>
|
<RequiresUserInput>false</RequiresUserInput>
|
||||||
<CommandLine>reg add
|
<CommandLine>reg add
|
||||||
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel"
|
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel"
|
||||||
/v AllItemsIconView /t REG_DWORD /d 0 /f</CommandLine>
|
/v AllItemsIconView /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand> -->
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>1</Order>
|
||||||
<RequiresUserInput>false</RequiresUserInput>
|
<RequiresUserInput>false</RequiresUserInput>
|
||||||
<CommandLine>cmd /C wmic useraccount where name="Admin" set
|
<CommandLine>cmd /C wmic useraccount where name="Admin" set PasswordExpires=false</CommandLine>
|
||||||
PasswordExpires=false</CommandLine>
|
|
||||||
<Description>Password Never Expires</Description>
|
<Description>Password Never Expires</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>2</Order>
|
||||||
<RequiresUserInput>false</RequiresUserInput>
|
<RequiresUserInput>false</RequiresUserInput>
|
||||||
<CommandLine>powershell -c "Set-ExecutionPolicy -Force Bypass"</CommandLine>
|
<CommandLine>powershell -c "Set-ExecutionPolicy -Force Bypass"</CommandLine>
|
||||||
|
<Description>Allow PowerShell scripts from anywhere.</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>5</Order>
|
<Order>3</Order>
|
||||||
<RequiresUserInput>false</RequiresUserInput>
|
<RequiresUserInput>false</RequiresUserInput>
|
||||||
<CommandLine>powershell -c
|
<CommandLine>powershell -c
|
||||||
Set-ExecutionPolicy Bypass -Scope Process -Force;
|
Set-ExecutionPolicy Bypass -Scope Process -Force;
|
||||||
|
@ -230,8 +230,8 @@
|
||||||
choco install -y powershell-core --install-arguments='"ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1"';
|
choco install -y powershell-core --install-arguments='"ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1"';
|
||||||
refreshenv;
|
refreshenv;
|
||||||
cd $env:USERPROFILE/Documents;
|
cd $env:USERPROFILE/Documents;
|
||||||
git clone https://git.nuth.ch/manuth/PortValhalla.git;
|
git clone https://git.nuth.ch/manuth/PortValhalla.git;</CommandLine>
|
||||||
pwsh PortValhalla/profiles/DerGeret/Restore.ps1;</CommandLine>
|
<Description>Install PowerShell Core and git and run setup</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
</FirstLogonCommands>
|
</FirstLogonCommands>
|
||||||
<TimeZone>W. Europe Standard Time</TimeZone>
|
<TimeZone>W. Europe Standard Time</TimeZone>
|
Loading…
Reference in a new issue