Skip to main content

Resetting your network adapter in Windows 7

    Network shell (Netsh) is a tool an administrator can use to configure and monitor network devices on Windows based computers at a command prompt. A common use of Netsh, is to reset the TCP/IP stack back to default settings.
    But not only will Netsh reset the TCP/IP stack, but it can also completely reset your network adapter(s). It will also reset the Windows Firewall in Windows 7too.
    USING NETSH IN WINDOWS 7
    To use Netsh, you will need to open a Command Prmpt as an administrator. There are two ways to do this:
    • Click the Start button, then All Programs, then Accessories, then right-clickCommand Prompt, and then click Run as administrator. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
    or
    • Click the Start button. In the search box, type Command Prompt, and then, in the list of results, right-click Command Prompt, and then click Run as administrator. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
    NETSH COMMANDS IN WINDOWS 7
    The following is a list of the Netsh commands you can use to reset your Windows 7 network adapter:
    Restores the Windows Firewall with Advanced Security policy to the default policy. The current active policy can be optionally exported to a specified file. In a Group Policy object, this command returns all settings to not configured and deletes all connection security and firewall rules.
    netsh advfirewall reset
    Resets the BranchCache service. Flushes the local cache. Every configuration parameter of BranchCache will be reset to its default value.
    netsh branchcache reset
    Resets TCP/IP and related components to a clean state.
    netsh int ip reset c:\resetlog.txt
    Resets IPv6 configuration state.
    netsh int ipv6 reset
    Resets Winsock Catalog to a clean state. All Winsock Layered Service Providers which were previously installed must be reinstalled. This command does not affect Winsock Name Space Provider entries.
    netsh winsock reset

Comments

Popular posts from this blog

Deployment of the Microsoft Windows Malicious Software Removal Tool in an enterprise environment

INTRODUCTION Microsoft has released the Microsoft Windows Malicious Software Removal Tool to help you remove specific, prevalent malicious software from a computer.  Skip the details and download the tool For more information about how to download the tool, go to the following Microsoft webpage: http://www.microsoft.com/security/pc-security/malware-removal.aspx The information that is contained in this article is specific to the enterprise deployment of the tool. We highly recommend that you review the following Microsoft Knowledge Base article. It contains general information about the tool and about the download locations.  The tool is primarily intended for noncorporate users who do not have an existing, up-to-date antivirus product installed on their computers. However, the tool can also be deployed in an enterprise environment to enhance existing protection and as part of a defense-in-depth strategy. To deploy the tool in an enterprise environmen...

Ubuntu RDP

Desktop Manager Since the current desktop manager of Ubuntu (Unity which runs on Gnome) no longer seems to work with xRDP, an alternative desktop manager needs to be installed. I tried  OpenBox , but wasn’t very impressed by the amount of work needed to get a reasonable desktop. We will use another desktop manager that has been around for quite a long time is  XFCE , which is lightweight and fast. Note  : A light weight desktop manager helps making a remote desktop connection much more enjoyable. Installing xRDP and XFCE Installing xRDP and XFCE is pretty easy, once you know what to do … Just make sure you have an Internet connection before you start. Step 1 – Install xRDP We will use sudo and apt-get to update your system and install xRDP. Keep in mind that sudo will ask for your admin password. 1 2 sudo   apt-get update sudo   apt-get install  xrdp Step 2 – Install XFCE4 Again we will ...

Username & Machine name using IP

How to lookup a user name and machine name using an IP address (on windows) If you need to find a username but only have an ip address, if you use active directory (AD) then you can use the following method to find out the username: At the command prompt enter the following command: nbtstat –a  ipaddress Where  ipaddress  is the ip address. This will list the machine name using that ip address. Then run the following command: net view /domain: ad  >  somefile.txt Where  ad  is the name of the domain you want to search and  somefile.txt  is the name of the file to contain the output. This will generate a list of every machine and who is logged in.  Open the output file and search for the machine name determined in step 1 (the username will be listed next to this). HTH Tim From < http://geekswithblogs.net/TimH/archiv...