Add default DNS suffix for a VPN connection 1st method Sample Regini script Create a text file with the following two lines of text and save it as the Suffix.txt file. The following spacing must be exactly as shown, where adatum.xxx signifies a domain suffix. Up to six domain suffixes may be specified. The search order is left to right. \Registry\Machine\System\CurrentControlSet\Services\TCPIP\Parameters SearchList="testadatum.com,test2adatum.net,test3adatum.gov" Copy the Regini.exe and Suffix.txt files to the preceding location and run the regini.exe suffix.txt command. When the script has updated the registry, you must restart the computer for the settings to be updated. To run the script you must have administrator or system-level access to the computer. 2nd method Create a file with the .vbs extension (for example, C:\add.vbs). Add the following two lines to the file: SET WSHShell = CreateObject("WScript.Shell") WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\SearchList", "testadatum.com,test2adatum.net,test3adatum.gov", "REG_SZ" Double-click the file to run or at a command prompt, type C:\add.vbs 3rd method Create AddSuffix.reg file with following content Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] "SearchList"="testadatum.com,test2adatum.net,test3adatum.gov" Save the file on the desktop and run it as administrator!