Skip to main content

Bypass Offline Files With This One Trick

·299 words·2 mins
system-administration tech csc offline-files sysadmin technology windows windows-10 windows-8 windows-server windows-server-2012-r2
James Pettigrove
Author
James Pettigrove
Cloud Engineer with a focus on Microsoft Azure

Ever since moving to modern operating systems such as Windows 8 and beyond, I have found the Offline Files feature in the enterprise to be less and less of a value bringer and more of a support burden for the front line.

You only have to do a bit of Googling with keywords such as “Offline Files and DFS” to see endless amounts of frustrated fellow SysAdmin’s and Engineers struggling with this technology aimed at bygone years of road warriors rocking their corporate device with point to point VPN profiles. The hybrid and distributed nature of today user is definitely worlds apart.

With that said, a problem is still a problem and as such, requires analysis, investigation and diagnosis.

When it comes to investigating Offline Files, it some times can be difficult to validate whether a users experience is due to Offline Files or not.

Until now.

For example, if your user in contoso.co domain has a network drive (z:\ drive) mapped to a UNC path of \\fileserver\share. This user says they find the contents of said drive to not be the same as the minute/hour/day before. They can only see a subset of the drive contents.

Sounds like Offline Files huh?

A very quick way to validate this is to access the UNC path with a special hidden share called $NOCSC$ or No Client Side Caching. Client Side Caching being the Offline Files cache repository for Windows.

Just pop that share name at the end of server name, or in the case of DFS shares, at the end of your fully qualified domain name and you will be accessing the live contents, even with Offline Files enabled.

For the example discussed previously, that would look like:

\\fileserver$NOCSC$\share or
\\contoso.co$NOCSC$\dfsroot\share

Too sweet huh!

Happy wrestling with Offline Files :)

Related

Windows Server & System Center Technical Preview
·216 words·2 mins
system-administration tech sysadmin system-center technology windows windows-10 windows-server
Hot on the heels of the Windows 10 Technical Preview release, Microsoft have now added the Windows Server and accompanying System Center Technical Preview for the masses.
Windows 8.1 & Server 2012 R2 release dates announced
·153 words·1 min
system-administration tech sysadmin technology windows windows-8 windows-8-1 windows-server-2012-r2
If you have been hanging out for the latest release of Windows for either your home computer or your server farms the wait is almost over.
Installing Fonts with PowerShell
·281 words·2 mins
system-administration tech application-packaging fonts powershell sccm sysadmin technology windows windows-10 windows-7
Not normally the application packaging type but some time ago it fell to me to package up some open source fonts and deploy them via System Centre Configuration Manager across the enterprise.