diff --git a/dll/win32/syssetup/wizard.c b/dll/win32/syssetup/wizard.c index d0b4dca711c..bd5e6118301 100644 --- a/dll/win32/syssetup/wizard.c +++ b/dll/win32/syssetup/wizard.c @@ -556,7 +556,10 @@ WriteComputerSettings(WCHAR * ComputerName, HWND hwndDlg) return FALSE; } - /* Try to also set DNS hostname */ + /* Set the physical DNS domain */ + SetComputerNameExW(ComputerNamePhysicalDnsDomain, L""); + + /* Set the physical DNS hostname */ SetComputerNameExW(ComputerNamePhysicalDnsHostname, ComputerName); /* Set the accounts domain name */