Cscmd doesn't do exactly what you want, but maybe it helps.

 

http://support.microsoft.com/kb/884739

 

Hth

René

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2008 5:28 PM
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]>

 

 


***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***

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

Reply via email to