In Windows 10 IoT Core, the Windows Device Portal is a build time feature. I wanted the option to possible enable it in a production, locked down, device without having the user reimage the device.
The Windows Device Portal is hosted in a Windows Service called WebManagement. To stop it, run this command:
sc.exe stop WebManagementKnowing it can be managed via SC, I can set the startup to Manual and only start it when I need it. I also need to enable a user account to login, since I don't actually have an enabled account on my retail build.