Tag

#netsh

Prefer IPv4 over IPv6 on Windows

January 13, 2023

Use the following commands to change the preference on Windows to use IPv4 over IPv6. netsh interface ipv6 set prefix ::/96 60 3 netsh interface ipv6 set prefix…

Batch Script Add Windows Users using Netsh

May 6, 2016

The following batch script will add a group of users to Windows, set no password, and require a password change at first logon. @echo off setlocal enabledelayedexpansion set…

Use netsh to set interface IP static or dhcp

May 5, 2016

Get Configuration Info Using the command below, you can gather information on the adapter's current configuration. Make note of the connection name since that is what is used…

Windows Update error 8024402C

March 8, 2013

Got this error recently on a Windows 7 32bit system while trying to do updates.  Previously, Automatic Updates were enabled and it ended up in a Installing 3…

Allow Pings to Windows XP using netsh

November 7, 2012

Here’s a quick note on allowing Pings (ICMP Echo Response) to your Windows XP from command line. You must be administrator. netsh firewall set icmpsetting 8 enable Quite…

Allow Inbound ICMP on Server 2008 R2

April 21, 2012

Here is how to enable ICMPv4 echo from the command line using netsh in Server 2008 R2 netsh advfirewall firewall add rule name=ICMP Allow incoming V4 echo request…

Enable XP Remote Administration through Firewall

July 18, 2011

This isn't going to be detailed… Get PsExec from SysInternals (http://live.sysinternals.com/psexec.exe) psexec remoteComputerName cmd /c netsh firewall set service RemoteAdmin This runs the "netsh" command on the remote…