w10install/scripts/modify-searchdomains.cmd
Michael H.G. Schmidt a1957f49f4 searchdomains
2022-12-29 21:28:59 +01:00

11 lines
253 B
Batchfile

@echo off
echo ####### %0 #######
echo setting DNS search list (searchdomains) ...
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" ^
/v SearchList /t REG_SZ /f /d "%searchdomains%"
echo ####### %0 #######