how to edit a sql server profile template using a text editor like notepad or ssms?
Set up the trace for one user , start it and then on SQL Profiler File Menu

File --&gt; Export --&gt; Script Trace Definition


Though it is now recommended to use extended events instead of traces.