Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What I would like to do is have a shortcut on the desktop of all users that takes them to a network folder containing files. Easy enough to do. The part I am wanting to add on is to set it for offline files. So the shortcut gets created and automatically gets added to offline files for sync during log on and log off without admin or user intervention.

Manually, easy enough to do, but I don't want to do manually 200 users. So I would like to use either our login script or group policy.

As I said, I know how to have the shortcut added easy through a script or gp, it's the automatically enabling it for offline files.

Any suggestions?

share|improve this question
This sounds like a windows question, is that correct? Please add that info for clarity. – Phil Hollenback Mar 23 '11 at 17:49
up vote 1 down vote accepted

Depending on your OS, you have a couple of scripting options.

Windows XP/2003 : csccmd utility
Windows Vista/7 : use WMI and PowerShell (example scripts)

If you'd like to use Group Policy, you can make use of the User-based policies under User Configuration\Administrative Templates\Network\Offline Files and add specific UNC paths to Administratively assigned offline files

share|improve this answer
excellent, thank you! I set it, so let's hope it works... – jherlitz Mar 23 '11 at 19:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.