which file is ip address

Ok Guys Here is a good one..

I have a laptop.My laptop is configured with an ip address for the network in my officewhere I connect to the lan & teh office. But now The thing is I travel a lot.I stay In different hotels which provide me with internet connections through their LAN.Now I have to change my ip address everytime I go to these places.I dont want to change the ip address & the network settings of my office (i.e. my original settings.)manually everytime.Is there anyway I can automate it such that I can save my network settings & restore it back later when I come back to my office.

Thanks


Paul
vispaulAsked:
Who is Participating?
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.

hiap_hoCommented:
You can go to windows setting ---> control panel ---> network
in the configuration option, find for TCP/IP go to the properties of TCP/IP
choose obtain the IP address automatically and just apply it. If I get your question correctly, I should work
0
dew_associatesCommented:
hiap ho, your are new to this site, and with that welcome. However, we do observe a protocol here that is not observed elsewhere such as in Usenet and Newsgroups, in that we do not post as answers what should have been posted as a comment. As you can see by your proposed answer, you were guessing! We would appreciate your cooperation in this, as by posting as you have, you have locked the question without a resolution and other experts will view it as being resolved.
Dennis
0
dew_associatesCommented:
Vispaul, hiap ho should not have posted his comment as an answer, therefore kidnly reject it and reopen this question.

I believe what you are looking for can be found here:

http://www.netswitcher.com/

Dennis
0

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
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

hiap_hoCommented:
I don't know what is an answer what is a comment
but I don't mind
and I'm not guessing, I have a similar experience with Vispaul, unless I inteprate the question wrongly
and yes I'm new in this community
0
hiap_hoCommented:
I'm sorry I don't know about it
there for I withdraw my answer
0
dew_associatesCommented:
hiap ho, when you type in a response to a question, it defaults to a comment and only you can change that by changing it to an answer, so please don't make it sound as though you didn't know what I was referring to. It doesn't matter what you experiences have been, but Vispaul's do!
0
hiap_hoCommented:
I change it to an answer because I think it is an answer to his problem... sorry if it is not
anyway I have withdraw the answer...
and thanks for you info ( Dew Associates ) next time, I'll always post what I know as a comment
0
dew_associatesCommented:
Hiap Ho, if what you know what you intend to post will in fact resolve the issue, then post it as an answer, otherwise post as a comment. No one is implying that you not answer, just don't tie up questions with answer that only "might" work.
0
hiap_hoCommented:
OK
thanks for your advise Dew Associates, I really appreciate it
0
dew_associatesCommented:
Anytime, and again, welcome!
0
andyalderCommented:
I find it easier to have 2 hardware profiles, one for office with Ethernet card enabled and one for home/dialup with the NIC disabled.
0
dew_associatesCommented:
Andy, you may want to look at this as well!

http://www.netswitcher.com/ 



0
andyalderCommented:
Been there before thanks, No probelms with Joe Hance's netswitcher, but all it does is set the same reg keys that hiap ho suggested doing manually.  
2 profiles is just as simple.
0
sdland1Commented:
yes at the run prompt type regedit browse to the Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services do a search for IP current IP address when found usually under class/nettrans ensure the key is selected from the menu select registry then export file do this for each configuration then to change your network setting in the future just double click the .reg files you created
0
sdland1Commented:
ps the key will contain the value DefaultGateway= your ip thats how youll know you got the right one
0
dew_associatesCommented:
vispaul, occasionally we get people such as sdland1 who run through a site posting answers regardless of whether or not they know what is going on or whther or not the suggestion may damage a system. Unfortunately sdland1 is one of these people. Kindly reopen the question please by rejecting the proposed answer.
0
dew_associatesCommented:
vispaul, have you tried any of the suggestions here for IP switching?
0
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 OS

From novice to tech pro — start learning today.