[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1063
  • Last Modified:

Disable Caching of Shared Folders on Client PCs using Group Policy

Hello,

Is there a way, using group policy, to disallow caching of shared folders on client PCs?  We still want the servers' shared folders to have caching enabled but shared folders on users machine's should not be able to be cached.
0
dkturner
Asked:
dkturner
  • 4
  • 4
  • 2
  • +1
2 Solutions
 
Vaidas911Commented:
GPO: User Configuration\Administrative Templates\Network\Offline Files and in Computer Configuration\Administrative Templates\Network\Offline Files
Prevent use of Offline Files folder
0
 
dkturnerAuthor Commented:
Thanks to you both for the quick response but that's not quite what I'm looking for.  I had already tried that.  I need to disable caching on the share itself.  There is a button called caching on the properties of the share and that brings up a dialog with a checkbox for "All caching of files in this shared folder" with automatic and manual settings.  I need that checkbox to be unchecked.  I've attached a screenshot of what I mean incase I am not making any sense.
sharedfolders.jpg
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Vaidas911Commented:
You should setup sharing as administrator (allow or deny caching), and users will not be able to overide this (from their computers).
0
 
dkturnerAuthor Commented:
I want them to be able to create shares if they want, I just don't want those shares to have caching turned on by default or available at all.
0
 
Vaidas911Commented:
it is dificult to deny something to admin - I suppose they have admin rights if they can create shares. Anyway, it someone will use this feature, he will use it on purpose (it does not turn on unnatended) - it is quite good feature.
0
 
ChiefITCommented:
The following is found here:
http://technet.microsoft.com/en-us/library/cc778661%28WS.10%29.aspx

"In Windows XP and Windows Server 2003, the default behavior is to cache all redirected folders automatically. Even if you specify manual caching for a redirected folder, the folder is still subject to automatic caching. To disable this default behavior, enable the Do not automatically make redirected folders available offline policy setting, available in User Configuration\Administrative Templates\Network\Offline Files. If you enable this policy setting, the users must manually select the files to be made available offline."
0
 
dkturnerAuthor Commented:
Sorry, Chief, but that doesn't quite get it either.  I need a computer policy.  Redirected folders and shares on the server should still be available offline.  It is only shares that users create on their PCs that I don't want made available.  The reason for this is that some users have decided to share files themselves instead of putting them in the company shares.  I'm starting to think that this can't be accomplished using GP.
0
 
Vaidas911Commented:
Just take away admin permissions from users and they will not be able to share something.
Workaround if you will not exactly what you need is to list what folders users have shared already, you could create GPO startup script with net share command to look for ilegal shares (and delete them manualy from comman prompt):

net use X: \\server\adminsplace
echo %computername% >> X:\shared_stuff.txt
net share >> X:\shared_stuff.txt
0
 
ChiefITCommented:
See if you can find a way to prevent sharing on the entire computer within these sets of group policy keys:

Local Computer Policy, User Configuration, Administrative Templates, Windows Components, and Network Sharing.

http://technet.microsoft.com/en-us/library/cc754359(WS.10).aspx
0
 
dkturnerAuthor Commented:
It seems what I want to do cannot be accomplished using Group Policy but these options may work in other situations.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now