How to set a computer’s primary DNS-Suffix under Windows Server 2012 Core

domain-name-systemwindows-server-2012

On a Windows Server 2012 Core installation, how do you set the computer's primary DNS-Suffix.
I do not mean the list of dns suffixes to search on a connection, but the setting that can be changed alongside with the computer's hostname in the gui versions of Windows.

Best Answer

Simples...

reg.exe add HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v "NV Domain" /t REG_SZ /d "your_suffix" /f