Skip to content

Prevent Device Companion Apps

config/tweaks.json
947  "WPFTweaksPreventDeviceMetadataFromNetwork": {
948    "Content": "Prevent Device Companion Apps",
949    "Description": "Prevents additional software from being installed when plugging in devices (e.g. Ads when plugging in a monitor). Poses potential security risk.",
950    "category": "Essential Tweaks",
951    "panel": "1",
952    "registry": [
953      {
954        "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Device Metadata",
955        "Name": "PreventDeviceMetadataFromNetwork",
956        "Value": "1",
957        "Type": "DWord",
958        "OriginalValue": "<RemoveEntry>"
959      }
960    ],

Registry Changes

Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place.

You can find information about the registry on Wikipedia and Microsoft’s Website.