How to change (Dynamic) IP address in Windows 7 or Vista?

Anonymous
2009-12-10T08:06:48+00:00

Had same issue on Vista, upgraded to Win7 and issue remains.

I have a Dynamic ISP IP address, yet it remains as if it were static, everything that use to work in XP and previous versions of Windows no longer works in Vista or 7. I spoke to my ISP (3 times, 3 different techs), they said my IP is dynamic and confirmed it is not set by them as static. They charge more for a static IP, so would not just be giving me this "upgrade" for free. They had "no idea" how to force/change a new IP address in Vista or 7.

PLEASE! Do not bother suggesting to run ipconfig /flushdns, /release, /renew at a prompt to do this like every internet search suggests, THIS DOES NOT WORK. This was done with cmd prompt opened under "Run As Administrator".

PLEASE! Read everything I have already done here before suggesting something I've already tried or have tested and proven to work/not work.

Here are other things I have tried, THAT ALSO DO NOT WORK:

(NOTE: no router is being used, direct connected, CAT5, PC NIC to broadband modem)

-Left modem unplugged 72 hours. No change

-Had ISP send me a new modem. No change

-Uninstalled Network adapter. No change

-Changed IP4 settings from "Obtain Auto" to a made up forced IP, rebooted, then changed back to auto. No change

So, with all of this "old school" stuff already tried and failed, what have they changed in Vista and 7 that seems to keep even Dynamic IP's as static? Where is Windows caching or storing this information so I can clear it, none of the traditional methods work. I absolutely can not stand having a static IP on my home computer.

If you internet search this exact question you'll find what I have, everyone is suggesting the once working methods I've already tried above, yet people using Vista or 7 are repeatedly finding this no longer works.

Here's some more information, that confirms the IP isn't being stored in my modem, or assigned to the MAC address of my NIC...

If I boot this same PC to a LINUX Live type CD, using the same MAC address and NIC it obtains a different IP address everytime it reboots. The issue clearly has nothing to do with my ISP, modem, or PC in general.

If I hot swap my modem to a different PC, the other PC gets a fresh (different) IP address. If this other PC is using XP I can force the ipconfig /release /renew to change its IP address.

If the different PC is running Vista, the IP remains static no matter what I try unless the hard drive is wiped and Vista is reinstalled, then it obtains a new IP on the PC with the clean install, yet it can not be changed after this happens.

So clearly, Windows Vista and Windows 7 are holding onto IP configuration information somewhere and reusing this information when it detects you are using the same internet provider, WHERE is it being stored so I can clear it?

Thank you so much if you have a working solution and actually know the answer, instead of just reading what can already be found by a search engine and reposting info that is no longer valid like everyone else on the internet is currently doing when trying to answer this question.

Windows for home | Previous Windows versions | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2011-07-14T20:20:09+00:00

I think I have found a solution. It has worked for me so I guess it might work for you.

  1. Find out your IP address e.g. go to a website like http://www.whatismyip.com/ it will show you your IP.
  2. Copy It.
  3. Open Network & Sharing Center
  4. Open the Properties of the network you what your IP to change. In my case it is a EVDO modem.
  5. On the Networking tab double-click TCP/IPv4 which will open a window to edit IP and DNS IP address.
  6. On this window Click on "Use the following IP address" and paste that IP you copied at Step 2.
  7. Change the last digit of the IP to any value above it e.g. if its 192.168.23.123 edit the last digit to something like 122 so that the IP becomes 192.168.23.122.
  8. Click OK until all the windows close.
  9. Disconnect from that network.
  10. Reconnect to that network and if it goes as planned the ISP should force a Dynamic IP. Check http://www.whatismyip.com/ if it has changed. If you cannot browse go to Step 6 and select "Obtain an IP address automatically" then Disconnect -> Reconnect the network.

This worked for me so I'm not sure if it will work for you. Feedback will be greatly appreciated.

Was this answer helpful?

5 people found this answer helpful.
0 comments No comments

71 additional answers

Sort by: Newest
  1. Anonymous
    2010-01-05T00:00:40+00:00

    Thanks for the clarification!  I can see how it could be read either way...I guess my instinct is to assume sarcasm in forums, since flaming and sarcasm seem so prevalent on open forums...which is sad!

    On the topic of security, cookies and addresses are very different animals.  Clearing cookies is to keep web sites from detecting that you are a returning user regardless of IP address, as a UID in the cookie is all that is needed to find a returning user.  Addresses don't even matter.  For that kind of privacy, addresses are not even very useful, as they change and are shared often enough, and routers / firewalls that change addresses make them useless for tracking users.  (When I'm behind my corporate firewall browsing the web, a few hundred thousand fellow workers all probably map to the same handful of external addresses; not much info to mine from that!)

    As far as attack security, I don't think DHCP does much to help.  Any worthy attacker isn't going to focus on one fixed address, better to just spray the whole subnet that has known vulnerabilities to find all the candidates.  Most attacks that I'm aware of that propagate by network port vulnerabilities (as opposed to social engineering like email payloads and the like) do exactly this subnet blasting.  The reality is that DHCP isn't going to give you a unique address every time, at some level it has to cycle through the range of addresses in the subnet that your ISP has assigned to your area (assuming it's regional).  That could be a pretty small number of candidates before you repeat, and hackers just spray to everything in a subnet to see what hits a target.  Your 'known address becomes unknown" scenario is really "known address becomes unknown within the same subnet", where the subnet could be a few hundred to a few thousand addresses.  That's maybe a few minutes of scan time for a network probe tool.  That's so easy that it isn't even worth bothering fixing on one address, the hacker just gets a probe hit and then throws all known attacks at that address right away.  Dynamic addresses are no help at all for this.

    Since you have no router/firewall, those attacks are going right up against the software firewall on your OS.  All you have to do is have a net monitor watch the non-firewalled traffic on your incoming ISP signal to see that going on all the time.  You could play with a net scan tool like Wireshark and probably see a steady stream of probes coming in, which are fortunately blocked by firewalls and up to date OS patches.

    I'll fully agree with you on one thing: nowhere did I come across any info that discusses the behavior change between XP and Vista or shows where the DHCP address is stored for requested reuse.


    Jim

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2009-12-30T17:44:51+00:00

    @tony1967

    Hi,

    You should open a command prompt and type "arp -a" on your seven machine.

    Then, come back and tell the results to us.

    Eventually, clear the arp cache to be sure that it can't be transfered while the DHCPdiscover process.


    MCP | MCTS on Win2008 Networking Infrastructure | Cisco Certified Network Associate

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2009-12-30T15:53:58+00:00

    I'm totally lost here.

    by tony1967:

    "I think the dirty, yet to some degree scientific approach I have made certainly proves my DHCP server is a bit more than luck of the draw in assigning a different IP upon request when under other OS's I can change the IP all day long and not be assigned a repeat address, yet under Vista and Win7 the issue of reassigning the same exact IP can also be reproduced every single time. It seems clear here that the thinking behind this change was just yet another effort to dumb down networking confusion for dumb users. The problem I have with this was its now made a significant hole in both privacy and security efforts for individual users. Someone at Microsoft needs to let those of us who aren't just dumb users know how to take back our own control of our privacy and security concerns."

    Obviously you know a bit about networking.  But what I'm confused about is the 'why' part.  The DHCP is just your near side address; your router's far side is your IP address to your house, regardless of what you set your nearside dhcp to be.  As you don't use a router, that's sort of useless, I guess. 

    I run a small network at home, and a very, very large network at work.  At work we use static, easier to track who's doing what.  But at home I use dhcp through a hybrid linksys router.  I've assigned the 192.168.x.x to my main rig (at the router) and done the same for my wife's vista machine; even though it's dhcp, I prefer to have it something more creative than 192.168.1.1.  Bit security conscious.

    The 'why' obviously comes to mind, but you've already stated that's not the issue. 

    I've googled it a bit, can't seem to find an answer to your particular question.  I know you can set it to a particular address using the netsh command, but from what I gather you'd rather have windows change it for you randomly.

    I'll see what else I can find.

    thanks,

    v


    M.V.P. - Desktop Experience | M.C.S.A. | M.C.P. - MS Server 2k3, Network Architecture

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2009-12-30T13:42:13+00:00

    same problem!!!

     easy to get new ip on xp but windows 7,this really upset me .

    ip not completely release i think,"cache" hide somewhere.

    any solution, plz let me know advance thx.

    Was this answer helpful?

    0 comments No comments