Windows 7 Automatic Offline Files occuring on all shares
I'm gonna to scream in a minute but i cant quite fathom whats occurin' with this one.
Difficult to explain this one without giving some insight as to what we have setup so here we go:
With our computer replacement scheme, and some long hours by me, we've got a Windows 7 deployment system setup, along with a DFS Storage Share where the win7 roaming profiles and redirected folders point to (which as far as i can see / tested / used, is working a treat).
However, user naturally have to use shared documents on older storage systems - think the big old EMC Celera's type NAS systems - as this is a gradual process at the moment.
We've discovered, quite annoyingly, that users are getting a very strange issue when they access files on shared documents of these other storage systems that arent the roaming profile store.
For example, Word 2010 seems to create a .tmp file when the user uses a document from this shared area (permissions shouldnt be a problem as on this particular folder on this share, as 'Everyone' is set with Full Control), he's able to edit the document as normal, but when he saves it, it doesnt save it in the UNC path, although transparent to the user, it has, but it seems to have only saved it in the user's cache on his machine, and this .tmp file gets left in the UNC location.
Seemingly, this is Windows automatically caching files that the user uses on the network, however, I dont recall asking windows to do this, so is this "by design" and is there a way to turn it off so that only the roaming profile / redirected folders does it, and not every file on a share that the user connects with?
To note, I did try using the GPO setting "Prohibit 'Make Availabe Offline' for these files and folders" and removing the CSC etc etc, which after sorting out the users' profile, didnt seem to have the files re-cache, and I was hoping that this would help prevent it from happening but no dice unfortunately
As the description of that GP setting shows, it seems very much a GUI / prevent users from manually choosing to do it etc.
Cant seem to find any [obvious] setting to prevent windows from doing this.... just wondered if anyone has any ideas on this as this obviously is pretty rubbish and delaying me from finalising our new deployment of win7 etc, along with the few users that are piloting it at the moment.
Many thanks for anyone that can help with this one or has ideas on it
Have you tried adding the folders in question into the restrict offline cacheing option in group policy and turning off the automaticly cache files bit in GP. There is also an option in the share configuration on the server that turns off offline cacheing which may help.
Sorry, I probably wasnt clear in the first post, but basically we want it as it is for the redirected folders and roaming profile as that works a treat, but we dont want it to cache files from other network shares - of which, there is potentially A LOT of location, from NAS Storage systems to shares off servers etc.
Cant seem to find the "restrict offline caching" or the autonatucally cache files options in GP that you mention although with the latter, if that turns off the caching of roaming profiles and caching redirected folders, that would kind of default the point of setting up the profiles in this way, but if you can point me to the locations of where they are in GP, that would be great
I'm not certain that we could turn off the storage server side that allows or disallows offline caching on each storage system, as that could potentially cause a few problems for the existing XP clients out there.
It seems to me that what is happening is exactly like this old XP article:
The policy I was thinking of was here Disable offline files for redirected folders | Offline Files and Windows XP, Vista and Windows 7 Tips but it may have been depreciated in Vista/7 as the default behaviour is to not cache. Personally I set it up to specify the locations that I want cached in the administratively assigned offline files bit under user config then prevent user configuration of it which prevents user error. I add a disable offline files to the workstation policy so that the per user settings for staff are not applied. If you do admin offline files for user shares in the computer config it can cause issues as it tries to sync them for every user that logs on not just the specific one.
Not sure if it would work for you but I tried turning off all those GPO settings as well as making the Share itself unaavailable for Offline files (which is in the Share Management snapin) and it didn't prevent my issue. I had a problem with the my documents folder redirect changing the name of all my students shares to My Documents.
What I finally ended up doing that worked was to install FSRM and make a filter screen for the share blocking any ini files to the share, worked great maybe not the cleanest solution but it works.
; Disable Offline Files Service - CSCService
Before you disable the service, you might also want to look at clearing the Offline Files cache (C:\Windows\CSC\ folder) otherwise it will use up a bit of disk space.
Set this key, then reboot. The FormatDatabase key is deleted & the cache should be emptied.
;- Requires Offline Files is enabled (otherwise the key doesn't get deleted) and then requires a reboot.
We're seeing a similar issue. I'm not sure if the save is saving it to a local cache though. How would I tell? Our scenario:
Randomly, Word 2010 will fail to save a document and the only thing left behind is a .tmp file with the last version of the document. All of the user's changes since the last save will not be there. The problem is very random though. Our machines are HP desktops or Lenovo laptops running Win7 x64 with Office 2010 x86. ESET is our AV. Our filers are Windows Server 2003 with the actual storage medium being NetApp SANs. We thought it was related to Win7 kb980232 hotfix, alas we've been able to recreate the problem with a clean install of Windows 7 x64 and Office 2010 x86 with no hotfixes and no add-ins installed. If there is interest, I can post the Word macro that we are using to recreate the problem.
How could you tell that Offline Files was trying to sync the home drive of every user?
It actually was synching home drives - look in Sync Center, and you can see the files that are available offline (i.e. copied down to the local PC).
If you give yourself permissions to access C:\Windows\CSC\v2.0.6\ you can also see the file share structure, and files it's copied.
With regards my earlier post, I'm now wondering if our 2008 non-R2 file servers were part of the problem - when creating a share in Windows 2008 R2, there is an extra option under Offline Settings relating to BranchCache.
I'm having the same problem. The user saves a Word 2003 document in Windows 7. It appears to them to save correctly with the .doc file in the share. They then go to an XP machine and see only a .tmp file instead of the .doc. The .doc file has been cached locally on the Win 7 machine, while the share contains just the .tmp file.
The user can manually sync the file by accessing the offline files tab in the documents properties and pressing sync. (This still leaves the .tmp in the share, though).
Several users need the share offline, so I can't disable offline files. I have set the share as an administratively managed offline files folder in GP. Maybe this is relevant - it is a share used by several users.
This is the only share with this behaviour - the user's redirected home folder does not have this problem.
The share is on Server 2003. Does anyone have this problem if the share is on Server 2008 R2?