

Cleanup WinSXS component folder on Windows 10 using DISM:ĭism /Online /Cleanup-Image /AnalyzeComponentStoreĭism /online /Cleanup-Image /StartComponentCleanup.New-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender” -Name DisableAntiSpyware -Value 1 -PropertyType DWORD -Force Set-MpPreference -DisableRealtimeMonitoring $TRUE New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' -name 'EnableFirstLogonAnimation' -PropertyType DWORD -Value '0' New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent' -name 'DisableWindowsConsumerFeatures' -PropertyType DWORD -Value '1' New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\ -Name CloudContent # Disable the Microsoft Consumer Experience Disable MSFT Consumer Experience, First Logon Animation and Windows Defender(if third party security solution is used).Customize Windows Start Menu and Taskbar pinned apps and copy setting to new user profiles:Ĭopy-Item $Path -Destination “C:\Users\Default\AppData\Local\Microsoft\Windows\Shell”.

Install Visual C++ Redist, office applications and other tools that your users use.Remove-AppxProvisionedPackage -online -packagename $ProPackageFullName Remove-AppxPackage -package $PackageFullName $ProPackageFullName = (Get-AppxProvisionedPackage -online | where ).PackageName $PackageFullName = (Get-AppxPackage $App).PackageFullName $AppsList = "Microsoft.3DBuilder","microsoft.windowscommunicationsapps","Microsoft.MicrosoftOfficeHub","Microsoft.SkypeApp","Microsoft.Getstarted","Microsoft.ZuneMusic","Microsoft.MicrosoftSolitaireCollection","Microsoft.ZuneVideo","","Microsoft.People","Microsoft.XboxApp", "Microsoft.Messaging", "Microsoft.Microsoft3DViewer", "Microsoft.WindowsFeedbackHub", "Microsoft.GetHelp", "Microsoft.OneConnect"

You can use the following PowerShell script to remove some of the unnecessarily Windows 10 built-in Window Store Apps, like Xbox, Games, etc:
