I know how to set the device template, what i am saying is that after putting the option <Command Name="allocatePty" Value="false"/> in the template file.
NCM kept reverting back Auto Determine, even though I explicitly selected my custom template.
Which I suspect it's because of some parsing issue with the template.
So far I still havent had any luck.