Can't see all files in a share via hostname but can via IP

Server 2008 R2 - Share
Windows 10 Pro

On the Windows 10 machine, the user has full permission to see all files in the folders. When I browse the share via hostname it shows 77 files, when I browse the exact same share via IP it shows 99 items. It is not happening for other users. Does anyone have any idea why this would happen?
Kyle PowerAsked:
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.

sounds as though a synch isssue. Double check to make sure the name share is not set as offline.
resync the data.
double check that this is not a DFS and you are looking at a target that is experiencing issues.
Kyle PowerAuthor Commented:
Thanks Arnold, this actually stemmed from a sync issue, the user has these folders set to be available offline and the files that I am mentioning as not being seen via hostname are failing to sync. Are you saying that when I browse via hostname it's checking the local offline cache? and then when I'm doing it by IP it's actually going to the server?
yes. The cache is established based on a mapping. so when mapped by the hostname, the cache is queried. when you access by IP as far as the system it is a new connection and gets the data.
Kyle PowerAuthor Commented:
This issue was resolved by the following;

Start RegEdit.exe with elevated permissions
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CSC\Parameters
Create new REG_DWORD key with name FormatDatabase with value of 1


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
Kyle PowerAuthor Commented:
Because I figured it out on my own (with google's help)
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 10

From novice to tech pro — start learning today.