Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Windows 7 is not letting me force a static IP. even after setting the IP, Windows 7 still assigns it's own IP. I am simply trying to setup a NAS system in which I need to set my IP to a certain address. So I am only connected to a switch which connects to the NAS.

share|improve this question

migrated from serverfault.com Jul 20 '11 at 14:57

This question came from our site for professional system and network administrators.

How are you trying to set it? –  Nixphoe Jul 20 '11 at 14:35
Um, through adapter settings –  Seth Jul 20 '11 at 14:37
Anyone care to add an upvote so he can post a screenshot of his IPCONFIG/ALL? (once you are over 10 rep, you can edit your question and post a screenshot, or you can just post the results in the question. –  KCotreau Jul 20 '11 at 15:09
@Kcotreau done! –  Nixphoe Jul 20 '11 at 15:10
Thanks guys. This had to be forced with netsh. Dont know if you can replicate, appears win7 doesn't like to give you what you want unless you're connected to a gateway of some sort. –  Seth Jul 20 '11 at 16:02
add comment

3 Answers

up vote 2 down vote accepted

Try the command line and see if you have better luck:

netsh interface ip set address name="Local Area Connection" static 1 
share|improve this answer
Is this the right syntax? I get errors in this format... –  Seth Jul 20 '11 at 15:15
You can do a 'netsh interface ip set address /?' in the command line and it'll show you if it's correct. Just double checked it on my win7 box and it looks to be correct. –  Nixphoe Jul 20 '11 at 15:21
Thanks Nixphoe, worked after a few tries. Not sure why this is made so complicated anymore. –  Seth Jul 20 '11 at 16:00
I think this is a work around. Or a symptom of an issue. This might have corrected your problem, but I have a feeling that something else is going on. –  Nixphoe Jul 20 '11 at 16:04
Agreed. Not sure what would tie that process down. No real stringent network applications on this laptop, or no 3rd party firewalls/security apps etc. No domain, simple workgroup. –  Seth Jul 20 '11 at 16:09
add comment

Because a picture is worth 1000 Unicorn Dollars:

Go to "Network and Sharing Center" > "Local Area Connection" > "Properties" > "Internet Protocol Version" > "Properties" > Set a static IP here. Then "OK", "Apply" and "OK" again.

enter image description here

If this doesn't work try connecting your computer stright into the NAS (will need a crossover cable or gigabit network connections in both the NAS and computer).

share|improve this answer
I've already stated I made the changes here. Should I have asked how to disable autoconfiguration? I have connected directly as well, the point is contained in my original question, WINDOWS 7 WILL NOT TAKE MY STATIC IP –  Seth Jul 20 '11 at 14:50
Sorry, I'd started getting the info together before I saw the comment was posted. Yes, though. –  tombull89 Jul 20 '11 at 14:52
no sweat :-) appreciate the comment though –  Seth Jul 20 '11 at 14:54
I am stunned this issue isn't flaming boards across the internet. I came here to bypass naysayers and find someone who is without question on this. –  Seth Jul 20 '11 at 14:56
You're not part of a network or a domain, are you? Admin setting may prevent you from changing network settings. –  tombull89 Jul 20 '11 at 14:57
show 2 more comments

If you set a static IP like that you will get a static IP. You must be setting the wrong adapter or have some 3rd party software overwriting your settings (Also make sure that you are not using alternate configuration). Autoconfiguration only applies when you have dhcp enabled.

try running ipconfig /all at the command prompt and put up the result

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.