Published Monday November 03, 2008
I like the Offline Files feature of Windows Vista, but lately it always thought that I was offline even when I was on the network and could successfully ping the server. I did not get an answer from other folks after posting on several forums (here is one) so I set out to troubleshoot it myself. Since this is related to networking, I started my investigation using Wireshark, which is an awesome, cross-platform tool for looking into the network traffic on a given NIC. After stopping all of my networking activity I went to a folder with Offline Files set and noticed that my logon was failing. Unfortunately, I did not take a screenshot of the output, but it was something along the lines of STATUS_LOGON_FAILURE. That error pretty much explains what’s happening, somehow Windows lost my credentials for the specific server and wasn’t kind enough to ask me again :)
To fix this, here is what you have to do.
Doing this will save your authentication information for that server or domain. Wait a few minutes and pretty soon Offline Files should start seeing the server. If it still does not work then you might want to restart your computer so everything refreshes (I am sure there is a better way to “refresh”).
Hopefully this fixed your problem, leave a comment if it did not, and if you have any suggestions/better solutions, thanks!
Comments
Has anyone else found a better solution? Perhaps an unreleased Windows hotfix or something? I know this only started sometime between Sep-Nov of 2008, so I'm guessing a MS hotfix released during that time is to blame. Prior to that our users never had this issue when reconnecting to our network or when resuming from hibernation after previously being off of the network while working offsite...
By the way, you can find the SP2 feedback at https://connect.microsoft.com/site/sitehome.aspx?SiteID=749
Our users My Documents folder is a UNC path of "\\<server>\home$\<username>\My Documents". The windows installer "Error 1324. the path My Documents contains an invalid character." error was resolved by correcting server-side permissions which I discovered after some digging. What I found was that the \\<server>\home$ share file-level security permissions did not allow "Domain Users" to list contents of the root. The users only had permissions to their own subfolder of that root.
So, for example, 'testuser', could access \\<server>\home$\testuser, but could not access \\<server>\home$ (access denied).
I tried giving the group "Domain Users" special permissions on to the root home$ folder applied to "This Folder Only" and removed checkboxes on "read permissions" (so they only have "traverse folder/execute file", "list folder/read data", "read attributes", and "read extended attributes" to that one folder only, not subfolders [which would be a huge security issue :)])
Doing this instantly solved the problem with the windows installer 1324 errors. Users receiving the windows installer error could now install software without an issue.
About an hour later I said, hey, maybe this was the problem with offline files staying offline and disconnected when returning from hibernate/sleep... so I borrowed a user who had this issue's laptop and tested it out thoroughly the past few hours... and whadda know! The problem is now gone. I can hibernate, undock, resume (now on wireless) and files in My Documents were still available in online mode. I then hibernated, docked, and resumed, and everything was once again fine!
I hope this resolves the problem for many others out there. I probably wasted many many days in total resolving this little problem. ;)