How about one of these?

http://www.hypernews.org/HyperNews/get/computers/languages/60/1.html

http://blogs.technet.com/filecab/archive/2007/05/01/synchronizing-offline-files-from-the-command-line.aspx

BTW, if you can, please post what you come up with.  We are doing some fixes on 
laptops with offline cache issues right now and this looks handy!

-Bonnie

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2008 8:28 AM
To: NT System Admin Issues
Subject: Perform an Offline Files Sync from command line?


Anybody know how to do an Offline Files Cache Synchronization from a command 
line? Or - via a program?

What I want to do:

Run a script to remotely sync a user. Remotely add reg key to delete Offline 
Folders cache:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache]
"FormatDatabase"=dword:00000001

--> Change GPO to change location of Offline Files. Refresh GPO settings 
(GPUPDATE /FORCE)

Remotely reboot.

I know I can add the key remote using "reg add  \\workstation\key", and force 
the GPO update, and the reboot. But how do I have the script do a sync first?

Thanks

BTW ... ideally, this would be in a CMD script, but I can execute that part by 
calling a VBS script, if need be.

--
Michael Leone
Network Administrator, ISM
Philadelphia Housing Authority
2500 Jackson St
Philadelphia, PA 19145
Tel:  215-684-4180
Cell: 215-252-0143
<mailto:[EMAIL PROTECTED]>





~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to