Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How do I change cmd to default settings?

16 Feb 2013   #1
boyzy

Windows 7 Home Premium 64bit
 
 
How do I change cmd to default settings?

Hi,

Recently my computer's internet gliched and I can no longer connect to any webpage. I think it might have somthing to do with me deleting route 0.0.0.0 on cmd. this is what I wrote:

route delete -p 0.0.0.0

Is there any way i can restore the deleted route?


My System SpecsSystem Spec
.
16 Feb 2013   #2
mitchell65

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Hi and welcome to the Forum
Can you do a system restore to a point behind when you did the deletion? It would also beg the question why did you delete it?
My System SpecsSystem Spec
16 Feb 2013   #3
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 64 bit
 
 
route ADD?

Can't you just replace the missing entry?

You should create a backup system image before you start (in case of disaster).

To display the IPv4 Route Table use:
route print -4
To replace the missing route use:
route ADD 0.0.0.0 MASK 0.0.0.0 <Gateway IP> METRIC <metric> IF <interface>
You can get the <Gateway IP> by using:
ipconfig
You should be able to work out the METRIC and IF by examining the IPv4 Route Table.
How do I change cmd to default settings?-ipconfig.png How do I change cmd to default settings?-route-print.png
For example my info:
  • <Gateway IP> 192.168.1.127
  • <metric> 266
  • <interface> 11
Therefore my command would be:
route ADD 0.0.0.0 MASK 0.0.0.0 192.168.1.127 METRIC 266 IF 11
Note:
I have a static IP address (not DHCP provided IP address).


My System SpecsSystem Spec
.

16 Feb 2013   #4
boyzy

Windows 7 Home Premium 64bit
 
 

wait, doesn't matter now, I've fixed it. But thanks for the help anyway.
My System SpecsSystem Spec
Reply

 How do I change cmd to default settings?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Default Operating System - Change Default Boot OS
How to Change the Default Operating System to Start in Windows 7 and Vista If you dual boot with one or more operating systems installed other than Windows 7 or Vista, then this will show you how to change the default operating system to start in the Windows Boot Manager. You must be logged...
Tutorials
Can't change cmd.exe settings to default
Hello, I'm new on SevenForums and I need to help. I was testing my Small Basic app, but when I launched it, the TextWindow font size was only 46 pixels. So I launched the Command Prompt via Run, and the size was also 46. In Properties, there were only 4 tabs and 9 sizes of Terminal font....
General Discussion
Default Programs - Change Default Icon in Start Menu
How to Change the Default "Default Programs" Icon in the Windows 7 Start Menu This will show you how to change the default Default Programs icon in the Windows 7 Start Menu to be a icon of your choice for all users or just your user account. EXAMPLE: Default Programs in the Start Menu ...
Tutorials
Unable to change default program access settings
Hi, I'm desperately trying to change the sidebar gadget to open websites by default with Mozilla Firefox (in particular, the "Ask LEO" gadget). Firefox is my default browser. If I double-click on a .url file saved on my system, it correctly opens Firefox, and so does clicking a link in MS...
Customization
W7 Default Settings
Hello, Some how I managed to change my default that my Windows Media Center keeps opening up instead of what it should be. Examples: start window - internet Explorer - I get my windows media instead. When I go into start - Default program - Set program access and computer defaults. ...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:15.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App