To view wireless networks in range, run from the command line:
netsh wlan show networks mode=bssidFind the interface name:
netsh interface ip show config
Switch to DHCP:
netsh interface ip set address "$INTERFACE_NAME" dhcp
netsh interface ip set dns "$INTERFACE_NAME" dhcpSwitch to static IP:
netsh interface ip set address name="$INTERFACE_NAME" static 192.168.0.1 255.255.255.0 192.168.0.1 1
netsh interface ip set dns "$INTERFACE_NAME" static 4.2.2.1Disable:
reg add "HKCU\Control Panel\Desktop" /v ScreenSaveActive /d 0 /fEnable:
reg add "HKCU\Control Panel\Desktop" /v ScreenSaveActive /d 1 /f