force associate template

How to force associate template without using customized tasks? Is there a similar tool like "synchbylevel"(MS_LEVEL_SYNCH_BYLEVEL) but for attaching templates? Or at least key-in to set it always active?