Identify PCs on MAN that have a Static IP Address

We have a large number of sites (50+) with 1000's of PCs.
Some people have set a Fixed IP address for their PCs (mostly Windows 7)
We want to ensure that only DHCP is used.

How can I search across multiple subnets and find any PC that has a fixed IP address?

We just cant physically visit each PC. We want someway of scanning the subnets to find them.

Is this possible?
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.

Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Check you DNS manager enteries, for each subnet, you will be able to see each PC with fix IP.

andreasSystem AdminCommented:
You could anable loggin on the DHCP server, to check which IPs were distributed by DHCP. After one day compare the DHCP log with the machines (IPs) online and the ones that does not have a DHCP server log entry have fixed IPs.

If a short service interruption in the network is ok, you can trigger new DHCP requests by all hosts, just by power down the switch for a few seconds. Afterwards windows re request the IP via DHCP if DHCP is enabled.
HBS-MachAuthor Commented:
Im not sure what you mean.
I cant see any differences in the Windows DNS server entries between a PC with a fixed or DHCP address.

I had a look, and yes that will work.
HBS-MachAuthor Commented:
I was hoping for a more automated way of doing this. Rather than trying to manually match IPs.

Ive decided that using PSEXEC from SysInternals to force a ipconfig /renew and outputting the results to a file will give me the information

psexec.exe -h \\"IPADDRESS" ipconfig /renew >output.txt

A fixed IP will give me this result.

Windows IP Configuration

The operation failed as no adapter is in the state permissible for
this operation.

To do this right, I will create a batch file that will put the Host Name and IP address in the output first before the IPconfig /renew results.

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
HBS-MachAuthor Commented:
Using PSEXEC means I can script a solution, rather than manually look at logs.
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

From novice to tech pro — start learning today.