mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Windows AMI: disable indexing and anti-virus
This commit is contained in:
parent
a88fb7ed40
commit
7be1c2c899
1 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,13 @@ Start-Transcript -Path "C:\first_boot.txt"
|
|||
|
||||
Get-ChildItem Env: | Out-File "C:\install_env.txt"
|
||||
|
||||
# DisableIndexing: Disable indexing on all disk volumes (for performance)
|
||||
Get-WmiObject Win32_Volume -Filter "IndexingEnabled=$true" | Set-WmiInstance -Arguments @{IndexingEnabled=$false}
|
||||
|
||||
# Disable Windows Defender
|
||||
# https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-antivirus/windows-defender-antivirus-on-windows-server-2016#install-or-uninstall-windows-defender-av-on-windows-server-2016
|
||||
Uninstall-WindowsFeature -Name Windows-Defender
|
||||
|
||||
# use TLS 1.2 (see bug 1443595)
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue