Last active
October 9, 2018 13:39
-
-
Save rockaut/456fba9763e0f73df9fa75c93d508d59 to your computer and use it in GitHub Desktop.
vmware-vm-prepare.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://gist.github.com/rockaut/456fba9763e0f73df9fa75c93d508d59 | |
Disable-ScheduledTask "\Microsoft\Windows\Servicing\StartComponentCleanup" | |
Disable-ScheduledTask "\Microsoft\Windows\WindowsUpdate\Automatic App Update" | |
Disable-ScheduledTask "\Microsoft\Windows\Application Experience\AitAgent" | |
Disable-ScheduledTask "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" | |
Disable-ScheduledTask "\Microsoft\Windows\Application Experience\ProgramDataUpdater" | |
Disable-ScheduledTask "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" | |
Disable-ScheduledTask "\Microsoft\Windows\Customer Experience Improvement Program\KernelCEIPTask" | |
Disable-ScheduledTask "\Microsoft\Windows\Customer Experience Improvement Program\Use CEIP" | |
Disable-ScheduledTask "\Microsoft\Windows\Chkdsk\ProactiveScan" | |
Disable-ScheduledTask "\Microsoft\Windows\Defrag\ScheduledDefrag" | |
Disable-ScheduledTask "\Microsoft\XblGameSave\XblGameSaveTask" | |
Disable-ScheduledTask "\Microsoft\XblGameSave\XblGameSaveTaskLogon" | |
Disable-ScheduledTask "\Microsoft\Windows\SpacePort\SpaceAgentTask" | |
Disable-ScheduledTask "\Microsoft\Windows\SpacePort\SpaceManagerTask" | |
Disable-ScheduledTask "\Microsoft\Windows\Speech\SpeechModelDownloadTask" | |
Disable-ScheduledTask "\Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization" | |
Disable-ScheduledTask "\Microsoft\Windows\Bluetooth\UninstallDeviceTask" | |
Disable-ScheduledTask "MapsToastTask", "\Microsoft\Windows\Maps" | |
Disable-ScheduledTask "\Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parser" | |
Disable-ScheduledTask "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" | |
Disable-ScheduledTask "\Microsoft\Windows\Ras\MobilityManager" | |
Get-Service AJRouter | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service bthserv | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service DiagTrack | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service DcpSvc | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service MapsBroker | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service lfsvc | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service diagnosticshub.standardcollector.service | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service MSiSCSI | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service smphost | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service defragsvc | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service wercplsupport | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service PcaSvc | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service QWAVE | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service RmSvc | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service SensorDataService | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service SensrSvc | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service SensorService | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service SNMPTRAP | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service TieringEngineService | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service SysMain | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service TapiSrv | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service wisvc | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service icssvc | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service XblAuthManager | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service XblGameSave | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service HvHost | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service vmickvpexchange | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service vmicguestinterface | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service vmicshutdown | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service vmicheartbeat | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service vmicvmsession | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service vmicrdv | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service vmictimesync | Stop-Service | Set-Service -StartupType Disabled | |
Get-Service vmicvss | Stop-Service | Set-Service -StartupType Disabled | |
Enable-PSRemoting -SkipNetworkProfileCheck -Force | |
Enable-NetAdapterRss -Name "*" | |
Wevtutil el | ForEach { wevtutil cl “$_”} | |
powercfg -h off | |
bcdedit /timeout 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment