Set network configurations from the command line in Windows

One of the quickest and easiest ways to set network configuration on a network adapter is via command line. Lets use the following criteria: We will be setting up Local Are Connection IP: 192.168.200.2 MASK: 255.255.255.0 GW: 192.168.200.1 GW Metric: 1 Here is the syntax for IPv4: netsh interface ipv4 show config netsh interface ip set address name=”Local

Set MTU packet size on an adapter

Warning: These setting affect all packets sent to all destinations and performance can severly be affected. This is registry modification to hardcode specific MTU sices on a particular network interface:   Click Start, click Run, type regedit, and then click OK. Locate the following key in the registry: HKEY_LOCAL_MACHINESYSTEMCurrentControlSet ServicesTcpipParametersInterfaces On the Edit menu, point

How to reset GPO settings to default on Windows Server

Issue this command to reset GPO settings to their defaults (enter thisas one line): secedit /configure /db reset /cfg “c:windowssecuritytemplatessetup security.inf” /overwrite   Delete the registry.pol file if it exists (enter this as one line): del c:windowssystem32grouppolicymachineregistry.pol   Reboot the server

User logging in Windows for profile or group policy troubleshooting

This modification helps identify various logon problems including group policy processing and roaming profile issues. Very helpful but should be enabled for troubleshooting purposes only in verbose mode. Modify the following registry value: Subkey: HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogon Entry: UserEnvDebugLevel Type: REG_DWORD Value data: 10002 (Hexadecimal) set this to 0x00030002 –this will give debug/verbose output: the log