Solved

Windows 7 with static IP gets 169.254 address

Posted on 2015-01-22
4
381 Views
Last Modified: 2015-01-24
In my organization, we run Windows 7, and assign static IP's to each workstation. Many, if not most workstations have started acquiring link local addresses (169.254.x.x) upon a warm restart. Temporarily solving the problem can be achieved by:

1. Completely powering the machine down, and powering back on.
2. Disabling and enabling the NIC in the Control Panel.
3. Unplugging and replugging the network cable.

I have attempted upgrading NIC drivers without success. I even disabled the DHCP Client service without success. The only thing that permanently resolves the issue is running the following one-line batch file:

for /F %%a in ('reg query HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces') DO reg add %%a /v DhcpConnEnableBcastFlagToggle /t REG_DWORD /d 1 /f

Open in new window


My question is this: What am I doing wrong upon deploying computers that this cloogy fix is necessary? I use Windows Deployment Services to image new computers.
0
Comment
Question by:R. Toby Richards
  • 3
4 Comments
 
LVL 8

Expert Comment

by:nader alkahtani
ID: 40564706
0
 
LVL 5

Author Comment

by:R. Toby Richards
ID: 40564712
I will try that, and see if it works by running it on my master image. My solution doesn't work on the master image as the newly imaged PC's NICs get new GUIDs.
0
 
LVL 8

Accepted Solution

by:
nader alkahtani earned 500 total points
ID: 40564714
Are The images  have settings of dynamically IPs from DCHP ?
0
 
LVL 8

Expert Comment

by:nader alkahtani
ID: 40564751
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question