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

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


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 on cmd. this is what I wrote:

route delete -p

Is there any way i can restore the deleted route?

My System SpecsSystem Spec
16 Feb 2013   #2

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

W7 Ultimate SP1, LM18.3 MATE, 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 MASK <Gateway IP> METRIC <metric> IF <interface>
You can get the <Gateway IP> by using:
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>
  • <metric> 266
  • <interface> 11
Therefore my command would be:
route ADD MASK METRIC 266 IF 11
I have a static IP address (not DHCP provided IP address).

My System SpecsSystem Spec

16 Feb 2013   #4

Windows 7 Home Premium 64bit

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

 How do I change cmd to default settings?

Thread Tools

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...
The default security settings of the "Default Folder".
(windows 7) I accidentally messed up the security settings in the "Default Folder" (a shortcut?) of the Users folder. I removed administrators permissions , that caused my pc to be unable to restore to previous restore point correctly. However, I was able to re-add the admin permission and...
General Discussion
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 ...
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...

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 06:13.
Twitter Facebook Google+