def METHOD_NAME():
    try:
        with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
                             WINDOWS_REG_PATH, 0, _winreg.KEY_WRITE) as reg_key:
            for attribute in config_attributes:
                try:
                    _winreg.DeleteValue(reg_key, attribute)
                except Exception as e:
                    log.error("Failed to delete value %s %s", attribute, str(e))
                    # it's ok if it's not there.
                    pass
    except Exception:
        # also OK if the whole tree isn't there
        pass