Release console when starting the simulator

Change detection logic of .net fx. Now we consult the registry before executing the affected command

Fixes http://teampulse.telerik.com/view#item/281473
I have followed [MSDN](http://msdn.microsoft.com/en-us/library/hh925568%28v=vs.110%29.aspx), we should be safe.