Run this command from a cmd prompt with admin rights:
reg add HKLM\SYSTEM\CurrentControlSet\Control /v PortableOperatingSystem /t REG_DWORD /d 0
The value PortableOperatingSystem is the flag you want to change. If it is 1, Windows Thinks it is a WindowsToGo.