Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run a Windows 10 IOT app locally?

Is there a way to allow a normal Windows 10 installation to run Windows 10 IOT apps for debugging purposes? Right now when I set the architecture from ARM (Raspberry Pi 3) to x64 (Local machine) I get the following error message when I start a debug session:

Unable to activate Windows Store app. The activation request failed with error 'This program is blocked by group policy. For more information, contact your system administrator'.

I've read here that it's got something to do with 'embedded mode' but I can't find any information anywhere about it and the group policy does not appear to contain anything about enabling embedded mode...

Help is greatly appreciated! Thanks in advance!

like image 936
Simon Mattes Avatar asked Mar 29 '16 11:03

Simon Mattes


People also ask

Does Windows 10 IoT have a GUI?

Windows 10 IoT Core is designed for only one Graphical User Interface Application (GUI) but it is possible to run as many applications as you want in the background (background workers). You can use a Windows 10 IoT Core running device in two different modes: headed and headless.

Can Windows 10 IoT Run Exe?

Re: Possible to run a Windows based executable file on Win 10 Core IoT? No. W10 IOT will not run any standard desktop Windows files.

Can you install programs on Windows 10 IoT?

To install your application on the device please do the following: Open the Windows Device Portal for your IoT device. In the Apps menu, install your app by selecting your app files and clicking Install.

Is Windows 10 IoT the same as Windows 10?

Windows 10 IoT Editions While only running a single app, it still has the manageability and security expected from Windows 10. By contrast, Windows 10 IoT Enterprise is a full version of Windows 10 with specialized features to create dedicated devices locked down to a specific set of applications and peripherals.


2 Answers

It turns out that in addition to applying the policy, you also have to start the "Embedded Mode" windows service:

enter image description here

After that, everything works flawlessly. Just make sure to change ARM to x64 or x86.

like image 69
Simon Mattes Avatar answered Sep 18 '22 13:09

Simon Mattes


In addition to enabling the Embedded mode service, and you find the service cannot be started manually, one will need to run a provisioned package on the OS other than Win IOT Core that will set AllowEmebeddedMode = 1.

  1. Download the Windows 10 ADK
  2. Install it
  3. Build a package
  4. Run the package

The embeddedMode service should run automatically.

More info here.

like image 38
Jnr Avatar answered Sep 21 '22 13:09

Jnr