This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Virtual Machine Template (Windows) - Creation ====== CTRL-SHIFT-F3 --> Audit Mode <code powershell> Get-WindowsCapability -Online -Name "OpenSSH.Server*" | Remove-WindowsCapability -Online Get-WindowsCapability -Online -Name "OpenSSH.Client*" | Remove-WindowsCapability -Online Get-WindowsCapability -Online -Name "Microsoft.Windows.PowerShell.ISE*" | Remove-WindowsCapability -Online Get-WindowsCapability -Online -Name "Media.WindowsMediaPlayer*" | Remove-WindowsCapability -Online Get-WindowsCapability -Online -Name "Windows.Telnet.Client*" | Remove-WindowsCapability -Online Get-WindowsCapability -Online -Name "Windows.TFTP.Client*" | Remove-WindowsCapability -Online Get-WindowsCapability -Online -Name "App.StepsRecorder*" | Remove-WindowsCapability -Online Get-WindowsCapability -Online -Name "Microsoft.Windows.MSPaint*" | Remove-WindowsCapability -Online Get-WindowsCapability -Online -Name "AzureArcSetup*" | Remove-WindowsCapability -Online Remove-WindowsFeature WindowsAdminCenterSetup Remove-WindowsFeature Windows-Defender Remove-WindowsFeature XPS-Viewer Remove-WindowsFeature Wireless-Networking Remove-WindowsFeature FS-SMB1 Remove-WindowsFeature AzureArcSetup # WIN2022 ONLY Get-AppxProvisionedPackage -Online | ? {$_.DisplayName -Like 'Microsoft.WindowsFeedbackHub'} | Remove-AppxProvisionedPackage -Online Get-AppxPackage | ? {$_.Name -like 'Microsoft.WindowsFeedbackHub*'} | Remove-AppxPackage -AllUsers powercfg /setactive SCHEME_MIN Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Services\Tcpip6\Parameters" -Name "DisabledComponents" -Type "DWord" -Value 0xff Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" -Name "FeatureSettingsOverride" -Value 72 -Type DWord Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" -Name "FeatureSettingsOverrideMask" -Value 3 -Type DWord </code>