w10install/scripts/modify-searchdomains.cmd

11 lines
253 B
Batchfile
Raw Permalink Normal View History

@echo off
echo ####### %0 #######
2022-12-29 21:28:59 +01:00
echo setting DNS search list (searchdomains) ...
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" ^
2022-12-29 21:28:59 +01:00
/v SearchList /t REG_SZ /f /d "%searchdomains%"
echo ####### %0 #######