Geeks in Phoenix

Geek Blog


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 reset the Windows Firewall in Windows 7 too.

Using Netsh in Windows 7

To use Netsh, you will need to open a Command Prompt as an administrator. There are two ways to do this:

  • Click the Start button, then All Programs, then Accessories, then 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.
  • 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. This command returns all settings to not configured and deletes all connection security and firewall rules in a Group Policy object.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

Resetting your network adapter in Windows Vista

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 Vista.

Using Netsh in Windows Vista

To use Netsh, you will need to open a Command Prompt as an administrator. There are two ways to do this:

  • Click the Start button, then All Programs, then Accessories, then 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.
  • 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 Vista

The following is a list of the Netsh commands you can use to reset your Windows Vista network adapter:

Resets interface informationnetsh int reset all

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 firewall configuration to default. Restoring the default settings will delete all Windows Firewall settings that you have changed. For example, if you have allowed certain programs through the firewall, those programs will be blocked again.netsh firewall 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

Resetting your network adapter in Windows XP

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 display the network diagnostics page in Windows XP.

Using Netsh in Windows XP

To use Netsh, you will need to open a Command Prompt. There are two ways to do this:

  • Click the Start button, then All Programs, then Accessories, then click on Command Prompt
  • or

  • Press Windows logo key + R. This will bring up the Run dialog box. Type CMD and press OK

Netsh commands in Windows XP

The following is a list of the Netsh commands you can use to reset your Windows XP network adapter:

Resets network interface informationnetsh int reset all

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

Displays the web page user interface.netsh diag gui

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

Managing Virtual Memory / Pagefile in Windows Vista

If your computer lacks the Random Access Memory (RAM) needed to run a program or operation, Windows uses Virtual Memory to compensate. Virtual memory combines your computer’s RAM with temporary space on your hard disk. When RAM runs low, virtual memory moves data from RAM to a space called a paging file. Moving data to and from the paging file frees up RAM to complete its work.

The more RAM your computer has, the faster your programs will generally run. If a lack of RAM is slowing your computer, you might be tempted to increase virtual memory to compensate. However, your computer can read data from RAM much more quickly than from a hard disk, so adding RAM is a better solution.

If you receive error messages that warn of low virtual memory, you need to either add more RAM or increase the size of your paging file so that you can run the programs on your computer. Windows usually manages the size automatically, but you can manually change the size of virtual memory if the default size is not enough for your needs.

Find out how much RAM your computer has

Random Access Memory (RAM) is a general indication of performance that is measured either in megabytes (MB) or gigabytes (GB): the larger the number, the faster some programs will run.

To open the System Properties, press Windows logo key + Pause

Windows Vista Sytem RAM Size

In the System section, under Memory (RAM), you can view the amount of RAM your computer has.

Change the size of virtual memory

If you receive warnings that your virtual memory is low, you'll need to increase the minimum size of your paging file. Windows sets the initial minimum size of the paging file at the amount of random access memory (RAM) installed on your computer plus 300 megabytes (MB), and the maximum size at 3 times the amount of RAM installed on your computer. If you see warnings at these recommended levels, then increase the minimum and maximum sizes.

To open the System Properties, press Windows logo key + Pause

Windows Vista Pagefile Settings 1

In the left pane, click Advanced system settings. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.


Windows Vista Pagefile Settings 2

On the Advanced tab, under Performance, click Settings.


Windows Vista Pagefile Settings 3

Click the Advanced tab, and then, under Virtual memory, click Change.


Windows Vista Pagefile Settings 4

Clear the Automatically manage paging file size for all drives check box.

Under Drive [Volume Label], click the drive that contains the paging file you want to change.

Click Custom size, type a new size in megabytes in the Initial size (MB) or Maximum size (MB) box, click Set, and then click OK. There is a formula for calculating the correct pagefile size. Minimum pagefile size is one and a half (1.5) x amount of memory. Maximum pagefile size is three (3) x minimum pagefile size. Say you have 4 Gb (4,096 Mb) of memory. 1.5 x 4,096 = 6,144 Mb would be the min. pagefile size and 3 x 6,144 = 18,432 Mb would be the max. pagefile size.

Note:
Increases in size usually don't require a restart for the changes to take effect, but if you decrease the size, you'll need to restart your computer. It is recommended that you don't disable or delete the paging file.

Managing Virtual Memory / Pagefile in Windows XP

When your computer runs low on Random Access Memory (RAM), and more is needed to complete your current task, Windows uses hard drive space to simulate system RAM. In Windows, this is known as Virtual Memory and often called the Pagefile. The default size of the virtual memory pagefile (appropriately named Pagefile.sys) created during installation should be 1.5 times the amount of RAM on your computer.

You can optimize virtual memory use by dividing the space between multiple drives and removing it from slower or heavily accessed drives. To best optimize your virtual memory space, divide it across as many physical hard drives as possible. When selecting drives, keep the following guidelines in mind:

  • Try to avoid having a pagefile on the same drive as the system files.
  • Avoid putting a pagefile on a fault-tolerant drive, such as a mirrored volume or a RAID-5 volume. Pagefiles do not need fault-tolerance, and some fault-tolerant systems are slow because they write data to multiple locations.
  • Do not place multiple pagefiles on different partitions on the same physical disk drive.

#1 - Find out how much RAM your computer has

Windows XP System Properties page

To open the System Properties, press Windows logo key + Pause. In the System section, under Memory (RAM), you can view the amount of RAM your computer has.

#2 - change the size of the virtual memory paging file

You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings might also prevent you from completing this procedure.

    Windows XP Pagefile Settings 1
  1. To open the System Properties, press Windows logo key + Pause

  2. Windows XP Pagefile Settings 2
  3. On the Advanced tab, under Performance, click Settings.

  4. Windows XP Pagefile Settings 3
  5. On the Advanced tab, under Virtual memory, click Change.

  6. Windows XP Pagefile Settings 4
  7. Under Drive [Volume Label], click the drive that contains the paging file you want to change.
  8. Under Paging file size for selected drive, click Custom size, and type a new paging file size in megabytes in the Initial size (MB) and Maximum size (MB) box, and then click Set. If you decrease the size of either the initial or maximum page file settings, you must restart your computer to see the effects of those changes. Increases typically do not require a restart.

Notes:

  • To have Windows choose the best paging file size, click System managed size.
  • For best performance, do not set the initial size to less than the minimum recommended size under Total paging file size for all drives. Use the following formula for calculating the correct pagefile size. Minimum pagefile size is one and a half (1.5) x amount of memory. Maximum pagefile size is three (3) x minimum pagefile size. Say you have 4 Gb (4,096 Mb) of memory. 1.5 x 4,096 = 6,144 Mb would be the min. pagefile size and 3 x 6,144 = 18,432 Mb would be the max. pagefile size. Usually, you should leave the paging file at its recommended size, although you might increase its size if you routinely use programs that require a lot of memory.
  • To delete a paging file, set both initial size and maximum size to zero, or click No paging file. Microsoft strongly recommends that you do not disable or delete the paging file.

Free computer diagnostics

Repairing a PC can sometimes be expensive, and that is why we offer free basic in-shop diagnostics. Give one of our professional and experienced technicians a call at (602) 795-1111, and let's see what we can do for you.

Check out our reviews

Geeks In Phoenix LLC, BBB Business Review

Customer service is #1

Here at Geeks in Phoenix, we take pride in providing excellent customer service. We aim to give the highest quality of service  from computer repair, virus removal, and data recovery.

Bring your computer to us and save

Repairing a computer can be time-consuming. That is why we base our in-shop service on the time we work on your computer, not the time it takes for your computer to work! From running memory checking software to scanning for viruses, these are processes that can take some time.

Contact us

If you have any questions, please feel free to give us a call at (602) 795-1111  and talk with one of our Geeks. Or you can send us a message from our contact page contact page , and one of our Geeks will get back to you as soon as possible. Or you can stop by and see us. Here are our hours and location.

Like Geeks in Phoenix on Facebook

Follow Geeks in Phoenix on Twitter

Watch Geeks in Phoenix on YouTube