Link to home
Start Free TrialLog in
Avatar of kgbsd
kgbsd

asked on

Offline file sync entries need removal through GPO

We are having an issue with offline file syncronization.  There are two entries that have appeared in nearly all of our computers in the domain.  I have turned off all offline files in the GPO, but they are still there.  Is there a way to remove all entries from offline files through GPO or a login script?
Avatar of thenone
thenone

If you have removed it from gpo then it sounds like gpo hasn't replcated to those machines. On those machines do a gpupdate /force and reboot the computer from the command line
Avatar of johnb6767
Cant do it from GPO.....

Add these to your login script....

reg delete "hkcu\Software\Microsoft\Windows\CurrentVersion\netcache\shares" /f
reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\NetCache\Shares" /ve
reg delete "hkcu\Software\Microsoft\Windows\CurrentVersion\netcache\AssignedOfflineFolders" /f
reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\NetCache\AssignedOfflineFolders" /ve

And if you dont need the local copies of the files cached....

reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\netcache" /v FormatDatabase /t reg_dword /d 00000001
ASKER CERTIFIED SOLUTION
Avatar of johnb6767
johnb6767
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Any update?
Avatar of kgbsd

ASKER

Still waiting to find a machine with the issue to try the registry hack.
Force accepted.
modus_operandi
EE Moderator