Windows 7 Thread, Force Sync at Logon and Logoff in Technical; With Windows XP, there was a group policy to force an offline files syncronisation at logon and logoff.
On my ...
13th April 2011, 12:27 PM #1
Force Sync at Logon and Logoff
With Windows XP, there was a group policy to force an offline files syncronisation at logon and logoff.
On my 'Roaming' Laptops' I enabled this so that Staff laptops always synced when they logged on and off to ensure that Staff had the latest versions of documents when they took there laptop home.
In Windows 7 there is no option to do this. You can set a task in Sync Center to do this on logon, but I want it to happen automatically on logon and off, without having to set anything up on a per user basis.
Can I force this using a script? Can I do this with a scheduled task and GPP? and if so can I use Mobsync with a switch? Are there any other solutions?
My Google-Fu is coming up with lots of questions, but no definite answers!
Last edited by Mr.Ben; 13th April 2011 at 12:47 PM.
13th April 2011, 01:08 PM #2
You can configure the "Configuring Background Sync" and specify the "Maximum Allowed Time Without A Sync" to say 1 minute. As a workaround?
Configuring New Offline Files Features for Windows 7 Computers Step-by-Step Guide
13th April 2011, 01:13 PM #3
Cheers again sukh,
This is how I am approaching it at the moment, however would this not put a large and unneeded load on my network?.
I only have a few staff laptops here (30ish), but if they were all doing this at the same time?
13th April 2011, 01:17 PM #4
Yes, it would, would depend on the number of files which are changing etc. I will look into in more depth but I assume there will be delta changes and not full, so there would be minimal traffic generated.
13th April 2011, 02:00 PM #5
Update: The GPO for Configuring Background Sync only work when a 'Slow Link' is detected. When my users are in school they will always have a link that is better than the default policy, so I assume that I will have to raise the 'slow link' threshold to 54Mbps/100Mbps/1000Mbps for the shares to get this to work when they are either cabled in or connected by wireless?
That's a rather fast 'Slow Link'
Last edited by Mr.Ben; 13th April 2011 at 02:12 PM.
13th April 2011, 02:25 PM #6
Are you referring to the Configure slow-link mode policy, tihs is based on latency is MS. (offlineFiles.admx)
The Configure Slow link speed only applies to Windows XP (offlineFiles.admx)
Then you will have to configure slow-link mode policy.
I assume the users dont logoff at anytime?
The synch is a background task so I it will synch in the background and will keep files up to date unless a slow-link mode is detcted (latency) then it would fall into Background Sync.
13th April 2011, 03:04 PM #7
I get it now, correct me I f I am wrong:
Within the school network, the link will be not be detected as a 'slow link', so syncronisation will happen when required (when a file has changed) as a background task.
This means that the "Configuring Background Sync" will have no effect.
I do not need the machines to sync when disconnected or connected via our VPN, that's not what I am after.
I do however want to make sure that the files have synced when the user logs off of their laptop within the school, or logs in in the morning but if it is always working as a background task then this should be the case?
So I Staff Member A creates a document offline, then logs on within the school and logs off (previously in XP this would ensure a sync) and goes to another machine it will be there!.
In my test enviroment, Syncing only seems to occur occasionally (every hour or so), so how do I force it to sync?
It may be that Staff have to get used to Manually starting a sync before they leave!
Last edited by Mr.Ben; 13th April 2011 at 03:09 PM.
13th April 2011, 03:05 PM #8
If you want to force at logoff then we can use some commands.
We can use .vbs script to manually sync offline files. The scripts are:
Then you can create a .bat file to sync offline files. For example, to sync all offline file, create a .bat file with the following content (for convenience, let’s say the location of CscSyncAll.vbs is c:\CscSyncAll.vbs), and then users can manually run the .bat file to sync the files before logging off or you can try and use a logoff GPO.
13th April 2011, 03:25 PM #9
Did you see the scripts above?
13th April 2011, 03:41 PM #10
I did , I will give them a go!
By mac_shinobi in forum General Chat
Last Post: 21st December 2010, 07:57 PM
By dave.81 in forum Windows 7
Last Post: 5th March 2010, 02:23 PM
By TechSupp in forum Windows
Last Post: 20th May 2009, 02:25 PM
By mcheung0 in forum Scripts
Last Post: 8th January 2009, 12:27 PM
By nuttygeek in forum Windows
Last Post: 22nd March 2006, 10:51 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)