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?
Kyle PowerConnect With a Mentor Author 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

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:
Because I figured it out on my own (with google's help)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.