[windows] Add windows-11-arm64 image generation code (#13879)
This commit is contained in:
@@ -44,7 +44,7 @@ function Disable-WindowsUpdate {
|
||||
Add-Content -Path $profile.AllUsersAllHosts -Value '$ErrorActionPreference="Stop"'
|
||||
|
||||
Write-Host "Disable Server Manager on Logon"
|
||||
Get-ScheduledTask -TaskName ServerManager | Disable-ScheduledTask
|
||||
Get-ScheduledTask -TaskName ServerManager -ErrorAction SilentlyContinue | Disable-ScheduledTask
|
||||
|
||||
Write-Host "Disable 'Allow your PC to be discoverable by other PCs' popup"
|
||||
New-Item -Path HKLM:\System\CurrentControlSet\Control\Network -Name NewNetworkWindowOff -Force
|
||||
|
||||
Reference in New Issue
Block a user