# Registry


# Modifying connection-specific DNS suffix

There doesn't appear to be a remote way to modify this, but it can be done via Registry

# Get list of connections

reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures" /s

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged\<LONG ID STRING>
    ProfileGuid    REG_SZ    <CONNECTION GUID>
    Description    REG_SZ    <NETWORK DESCRIPTION>
    Source    REG_DWORD    0x8
    DnsSuffix    REG_SZ    domain.com
    FirstNetwork    REG_SZ    <NETWORK DESCRIPTION>
    DefaultGatewayMac    REG_BINARY    00005E00010A

# Delete DnsSuffix

Use the <LONG ID STRING> from the previous command to modify the entry

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged\<LONG ID STRING>" /v DnsSuffix /t REG_SZ /d "<none>" /f
Last Updated: 2021/03/31 12:28+00:00