Winscript can disable optional Windows features that are enabled by default but not needed by most users. Features are disabled usingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/flick9000/winscript/llms.txt
Use this file to discover all available pages before exploring further.
Disable-WindowsOptionalFeature (PowerShell) or dism /Disable-Feature (DISM), both of which operate offline-safely and do not require an active internet connection.
All optional feature changes require a system restart to take full effect. Windows will prompt for a restart after the script runs if a feature was successfully disabled.
Hyper-V
Removes the Microsoft-Hyper-V-All feature group, which includes the Hyper-V hypervisor, management tools, and guest services. The command gracefully handles cases where the feature is not present.Internet Explorer
Removes the Internet-Explorer-Optional-amd64 feature from Windows. Internet Explorer has been retired by Microsoft and is no longer supported. Disabling it frees up resources and reduces the attack surface without impacting modern browsers.Fax & Scan
Removes the FaxServicesClientPackage feature, which provides Windows Fax and Scan functionality. This feature is rarely used on modern consumer systems and can be safely removed if you do not send or receive faxes or scan documents through Windows Fax and Scan.Windows Media Player
Removes the legacy WindowsMediaPlayer optional feature. Modern media playback is handled by the Media Player app available in the Microsoft Store. The legacy Windows Media Player is a separate optional component that can be safely disabled on systems using a different media player.Disable Consumer Features
Disables the Windows “Consumer Features” system, which allows Microsoft to silently install suggested apps and promotional content through the Windows Store in the background. This is controlled by theDisableWindowsConsumerFeatures Group Policy registry key under HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent.