User Tools

Site Tools


microsoft:desktop:win_10:vpn_dns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
microsoft:desktop:win_10:vpn_dns [2019/02/02 21:19] – created rpleckomicrosoft:desktop:win_10:vpn_dns [2019/02/02 22:23] (current) rplecko
Line 22: Line 22:
   WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\SearchList", "testadatum.com,test2adatum.net,test3adatum.gov", "REG_SZ"   WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\SearchList", "testadatum.com,test2adatum.net,test3adatum.gov", "REG_SZ"
  
-(the second line starts with "WSHShell.RegWrite" and ends with "REG_SZ") 
 Double-click the file to run or at a command prompt, type C:\add.vbs 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!
microsoft/desktop/win_10/vpn_dns.1549142349.txt.gz · Last modified: 2019/02/02 21:19 by rplecko