🐍 Python 3.10+
Check "Disable Start Menu Suggested Apps" Status (Python)
Reads the registry value behind the "Disable Start Menu Suggested Apps" tweak via winreg to confirm whether it's applied.
check_disable_suggested_apps_status.py
#!/usr/bin/env python3
"""
check_disable_suggested_apps_status.py
Checks whether "Disable Start Menu Suggested Apps" is currently applied.
Usage:
python check_disable_suggested_apps_status.py
"""
import winreg
def main() -> None:
try:
key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, r"Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager")
value, _ = winreg.QueryValueEx(key, "SilentInstalledAppsEnabled")
winreg.CloseKey(key)
print(f"Current value of 'SilentInstalledAppsEnabled': {value}")
except FileNotFoundError:
print("'SilentInstalledAppsEnabled' is not set (using the Windows default).")
if __name__ == "__main__":
main()