Windows 7 Netsh Reset

Having got this problem and found this solution I think I should perhaps try netsh int ip reset reset command but I am afraid it can reset some important settings and disable me from reaching the server remotely. So what exactly does it reset?

If you forgot Windows 7 admin password, there are many ways to reset the password without data loss, and using command prompt is one of them. Now, in this post, we will show you how to reset Windows 7 admin password with Command Prompt in the following two cases.

Reset Windows 7 admin password with Command Prompt when you’re logged in

This method is for you when you forgot your Windows 7 admin password but have already logged in, or when you just want to change your old password.

Settings

Step 1: Log in to Windows 7 as your admin account.

Step 2: Open Command Prompt as administrator.

Click Start and then type cmd in the search box. Right click on the cmd.exe that appears in the search result and select Run as administrator. If prompt with a User Account Control dialog, click Yes to proceed.

Step 3: Reset Windows 7 admin password with command.

Type the following command and press Enter key. Replace user_name and new_password with the name of your administrator account and your desired new password respectively, for example, net user iSumsoft 2019. When “The command completed successfully” prompt is displayed, your admin password is changed successfully. Next time you have to use the new password to log in.

net user user_name new_password

Reset Windows 7 admin password with Command Prompt when locked out

If you forgot Windows 7 admin password and are unable to log in to your computer, you can still use Command Prompt to reset your password. What you need to do is replace the Utility Manager (utilman.exe) on Windows 7 logon screen with Command Prompt (cmd.exe), so you can open Command Prompt from the logon screen and reset your Windows 7 admin password easily.

Tips: This process will be a bit cumbersome and require you to use a Windows 7 installation disc or flash drive. If you want a faster and simpler way to reset Windows 7 admin password when you are locked out of your computer, the Windows 7 Password Refixer tool will be a better choice. If you prefer to try Command Prompt trick, follow these steps.

Step 1: Boot computer from a Windows 7 installation disk.

Insert a Windows 7 installation/startup disk into the computer on which you need to reset Windows 7 admin password, then start the computer from the disk (USB or CD flash drive).

Step 2: Replace utilman.exe with cmd.exe using Command Prompt.

1. After the computer boots from the Windows 7 installation disk successfully, you will see the Install Windows screen, as shown in the figure below. Select your language and keyboard input method, then click Next.

Netsh

2. Click Repair your computer.

3. Just a moment and your Windows 7 operating system is listed in the System Recovery Options window. Jot down the drive letter (typically C:) of the disk where your Windows 7 system is installed, then click Next to continue.

4. Click Command Prompt and a command prompt window will open.

Windows 7 Firewall Reset Netsh

5. Run the following two commands to replace utilman.exe with cmd.exe. When asked whether to overwrite the utilman.exe file, type Yes and press Enter key. That’s all you need to do in the Command Prompt here.

  • copy c:windowssystem32utilman.exe c:
  • copy c:windowssystem32cmd.exe c:windowssystem32utilman.exe

6. Close the command prompt, remove the Windows 7 disk from the computer and then click on Restart button at the bottom of the System Recovery Options window. Then the computer will restart and this time it will start normally from its internal hard drive.

Step 3: Reset Windows 7 admin password with Command Prompt.

1. When Windows 7 logon screen appears, click the Ease of Access icon in the lower left corner of the screen. This will open a Command Prompt if the previous steps went right.

2. Now type the following command and press Enter key to reset your Windows 7 admin password. When the password is reset successfully, you can log in to Windows 7 with the new password.

net user user_name new_password

Step 4: Restore the utilman.exe file.

In order that you can use your computer normally, you’d better restore the original utilman.exe file.

1. Start the computer from the Windows 7 disc or flash drive again.

2. When Install Windows appears, press Shift + F10 to open a command prompt.

3. Run the following command to restore the utilman.exe file. When asked whether to overwrite the utilman.exe, type Yes and press Enter key.

copy c:utilman.exe c:windowssystem32utilman.exe

4. Finally, remove the Windows 7 disc and restart your computer. Everything is OK now.

If you cannot connect to the Internet, your Internet Protocol or TCP/IP may have been corrupted, and you may have to reset TCP/IP. TCP/IP is one of the core components required by your Windows computer to connect successfully to the Internet. In such a situation, even though you may be physically connected to the Internet, packets do not get transferred over the network and you may see the “The page cannot be displayed” message when you try to connect to a URL.

If your Windows 10/8/7 computer is unable to connect to the Internet, you may want to reset TCP/IP. Do remember to create a system restore point first. If you are not able to browse the internet, but able to ping other IP address, then resetting TCP/IP works.

Reset TCP/IP using NetShell utility

Windows 7 Netsh Command

You can reset Reset Internet Protocol to its default state using the NetShell or netsh utility.

To do so, open an elevated command prompt, type the following and hit Enter:

This will generate a log file:

If you are using IPv4, type the following and hit Enter:

Reset

If you use IPv6, type the following and hit Enter:

When you run the command, TCP/IP is reset and the actions taken are recorded in the log file, created in the current directory, named here as resettcpip.txt.

When you run this reset command, it overwrites the following registry keys, both of which are used by TCP/IP:

  • SYSTEMCurrentControlSetServicesTcpipParameters
  • SYSTEMCurrentControlSetServicesDHCPParameters

This has the same effect as removing and reinstalling TCP/IP.

Reset Internet Protocol using Fix It

You can take the easy way out. Use this Microsoft Fix It 50199 to easily and automatically reset Internet Protocol.

TIP: Our portable freeware FixWin allows you to reset this and most other Windows settings or functions with a single click.

The Network Reset feature in Windows 10 will help you reinstall Network adapters and reset Networking Components to original settings.

Related reads:

  1. How to flush the DNS cache
  2. Limited Network Connectivity.
TIP: Download this tool to quickly find & fix Windows errors automatically

Windows 7 Netsh Reset

Related Posts: