sync at logout/shutdown

Discuss new features and functions
Posts: 4
Joined: 21 Aug 2006

rupertt

Hello,

since im normaly a linux guy I would like to now a way to sync a windows folder at logout/shutdown. I tried to create a task, but there I can only select "at login" not logout.

how to do this?


thnx
Posts: 24
Joined: 25 Nov 2009

bkeadle

Hello,

since im normaly a linux guy I would like to now a way to sync a windows folder at logout/shutdown. I tried to create a task, but there I can only select "at login" not logout.

how to do this?


thnxrupertt
Look into local Group Policies - there is an option for running scripts at
logout.
Posts: 4
Joined: 21 Aug 2006

rupertt

Hello Bryan,

thnx for the tip.
It now syncs at logoff, but windows killed the sync at some point.
Can I somewhere define when windows shuts down a process that is running at logoff?


greetings
Posts: 24
Joined: 25 Nov 2009

bkeadle

Hello Bryan,

thnx for the tip.
It now syncs at logoff, but windows killed the sync at some point.
Can I somewhere define when windows shuts down a process that is running at logoff?


greetingsrupertt
You can delay the time for windows to wait for tasks on shutdown:
http://www.addictivetips.com/windows-tips/how-to-speed-up-windows-shutdown-process/

If you're using a .CMD file to launch FFS, try using "START /WAIT" at the
beginning of your command calling FFS so that the command prompt doesn't
exit before FFS has finished doing it's thing.

You could also, instead of using Start / Shutdown, create a script that
will run your FFS backup, then initiate a shutdown using the shutdown.exe
command. See "shutdown /?" for your options.
Posts: 4
Joined: 21 Aug 2006

rupertt

Hello,

is there a way to set the policy to only one user?
I have to create the gpedit settings as administrator an when
I lo off it starts the sync, when now the normal user tries to sync
he cant write because the folder permissions on the target changed :(
Posts: 24
Joined: 25 Nov 2009

bkeadle

Hello,

is there a way to set the policy to only one user?
I have to create the gpedit settings as administrator an when
I lo off it starts the sync, when now the normal user tries to sync
he cant write because the folder permissions on the target changed :(rupertt
Are you using Computer Shutdown scripts? They are run as Local System, and
they have the full rights that are associated with being able to run as
Local System
REF http://technet.microsoft.com/en-us/library/cc771106.aspx

Does this [404, Invalid URL: http://techsupt.winbatch.com/ts/T000001048F90.html] help?