permanently delete route from routing table Windows NT 4.0 Wrk

I have a Windows NT 4.0 Wrkstation. I am using it as the host for OCSng scanning. This install uses the XAMPP as a base which runs a MYSQL Server, Apache server, other needed applications and the OCSng applications itself. I have noticed a problem with my routing table, for some reason it keeps adding the IP Address: to the routing table. This causes problems with PC's outside the local LAN getting scanned. SO I remove the route with:

route delete

The route goes away, and I can succesfully connect to those PC's outside the LAN. When I reboot the route is back. How can I permanently remove this route?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Have you checked your TCP/IP configuration (including the advanced section) to make sure there isn't another default route specificed?  I know you can specify multiple gateways on Windows 2000.  I'm just not sure if NT 4.0 allows it.

Also, have you checked for any startup scripts or batch files that may be creating this route?  It is quite possible that someone through this route in the autoexec.nt file, or some other batch script so it appeared at bootup.  

You could also try adding the route delete command to your own startup process to automate the deletion.  It doesn't fix the underlying problem, but it may be a doable workaround!


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NTNBowerAuthor Commented:
Have you checked your TCP/IP configuration ...
Yes, the settings in the GUI do not indicate anything about this mysterious route, or why it is being added. Under the advanced section you can add multiple gateways, however I only have one and it is not the mystery ip address.

Also, have you checked for any startup scripts ...
autoexec.nt is an empty file - using a startup utility, I dont see anything strange being loaded from HKEY_LM\Run, and it is the only place it looks like things are being loaded.

You could also try adding the route delete ....
What start up processes are there for NT workstaiton? Suppose I could add to Run a simple batch - but I am still wondering what is causing this & why does the route delete not keep it gone?
Well I'm not sure what could be adding this route, but my vote is to create a batch file to delete it and place it in HKLM\Run, as you mentioned, to run your batch file at bootup.  I realize the interest in finding the problem, but in this case you might just want to find the solution and leave the "problem" alone.  I guess it all depends on how much free time you have. :)

CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

bbaoIT ConsultantCommented:
just run ROUTE PRINT at command prompt, to determine if the strange routing item is in the list of Persistent Routes (at the bottom of screen output). it it is true, try use the following command to permanently remove it:

route -P delete

hope it helps,
NTNBowerAuthor Commented:
Been out sick, will get this resolved hopefully today and award. It is not a persisten route, it is appearing in the routes as if it were created from the network settings.
bbaoIT ConsultantCommented:
if it is not a permanent route, then i would suggest you finding out its source. that means to study which application caused this strange and boring route. anyway, to just pass around the problem, add the sepcific ROUTE DELETE command in your starup script or batch file.

a few tips: commonly, some network related applications (and unfortunately some malware especially spyware) may add static route(s) into the existing routing table according to its options/settings, so please check your installed applications to determine any possibility in this direction. if you can find the specific applications, you may be allowed to fix this by modifying a few application's parameters.

hope it helps,
NTNBowerAuthor Commented:
Using the workaround has been the quickest solution, Could not have said it better than:

"I realize the interest in finding the problem, but in this case you might just want to find the solution and leave the "problem" alone.  I guess it all depends on how much free time you have. :)"
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.