Hosting using command line client on Windows

I 'm successfully running a host on Windows using Sia-UI. Now I want to make my host run as a background task using command line.
I can see siad.exe and siac.exe files in %LOCALAPPDATA%\Programs\Sia-UI\resources\bin\ folder.
The question is: if all settings have already been set in Sia-UI would it be enough to create an automated task using Task Scheduler and to put just 2 commands in the task:
“siad -M gctwh” and “siac wallet unlock”?
What folder should the commands be started in?
What happens if I log on to Windows and start Sia-UI on the top of running task in the background?
Would it start another copy of siad? take control on the existing daemon? or just crash?