Windows Notes
Categories:

Windows Vista:

Wireless Site Survey

To view wireless networks in range, run from the command line:

netsh wlan show networks mode=bssid

Configure TCP/IP From Command Line

Find 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" dhcp

Switch 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.1

Enable/Disable Screensaver (Command Line)

Disable:

reg add "HKCU\Control Panel\Desktop" /v ScreenSaveActive /d 0 /f

Enable:

reg add "HKCU\Control Panel\Desktop" /v ScreenSaveActive /d 1 /f