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