Window 10 cannot access internet with static ip

I recently switched to the new computer and our company all uses static ip to connect to internet.   The new computer seems like it only works for dhcp but not static ip.   My old computer uses window 10 also and had the same problem before.   The problem goes away after some kind of window update.  I try to run window update but it says it has some kind of issues and try to rerun later "does not show any error code".  I reset window update many times but it still won't finish the update.   It is for the update of version 1607.   My window 10 is the professional one and the build is 10240.  The static ip works ok because I tried it on the other computer.
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.

RaminTechnical AdvisorCommented:
Go to below link, open/save  the Windows Update Troubleshooter, and follow the steps in the wizard to find and fix the problem.
swgitIT ProfessionalCommented:
have you tried leaving it on dhcp to run windows updates.. and confirmed that the static ip is not confl
JohnBusiness Consultant (Owner)Commented:
My window 10 is the professional one and the build is 10240

That is very old. Update to 14393.953 (current) and see if this fixes the issue. There were networking fixes to 10240.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

JohnBusiness Consultant (Owner)Commented:
Separately, if you wish for a bit of a normal life, use DHCP. It just works better. Static IP for workstations basically died some years back.
GammelgaardFreelancer - IT SpecialistCommented:
And you remember to set a dns server in the static settings, too, right?
johnyu1997Author Commented:
Window update troubleshooter cannot solve this problem.  I do have dns server set in there.
Arkel ThompsonI.T Technician/FounderCommented:
What's the update on this problem?
johnyu1997Author Commented:
I cannot download specific update anymore from microsoft, right?  It has to go through window update.
JohnBusiness Consultant (Owner)Commented:
You must use Windows Updates - yes.
johnyu1997Author Commented:
It just says it has minor problem and will try later, but no error code.
RaminTechnical AdvisorCommented:
try for DNS and retest.
johnyu1997Author Commented:
Not related to dns.  It cannot even ping the internal gateway. It can when using dhcp.
johnyu1997Author Commented:
Try does not work.
RaminTechnical AdvisorCommented:
Please try this:

First remove WIFI drivers in the Device Manager. Then log out from Microsoft account ( if you are logged in with it ) and log in to local account. Then reboot.  install wifi driver, set static ip address and try to connect to the internet.
JohnBusiness Consultant (Owner)Commented:
First DHCP is better and you should use it.

But, did you try updating to a year newer than what you have?  

If need be do a Windows 10 repair. No need to lose anything.

Go to the Media Creation Link

Click on Upgrade to Windows 10 (even if Windows 10 is running), click on the Download button, select Open (Run) but NOT Save. It is possible you may need to go to the download location and run the program - it depends on exactly what MCL does (it changes from time to time). Allow the program to run. Allow drivers to update. Then select Keep Everything.
Did you set up ip address and subnet mask and default gateway on your adapter?
Shaun VermaakTechnical SpecialistCommented:
What is the configuration when on DHCP?
What is the configuration when you set it to static?
johnyu1997Author Commented:
Problem is solved.  We use fortigate in our lan and we hardcode the mac address with this ip address in the system arp table.  Once we change the mac address for the new computer.  Everything works fine.

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
johnyu1997Author Commented:
Because it works
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.