How to run a Windows 10 IOT app locally?

2019-03-30 07:46发布

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!

3条回答
走好不送
2楼-- · 2019-03-30 08:17

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.

查看更多
淡お忘
3楼-- · 2019-03-30 08:28

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.

查看更多
你好瞎i
4楼-- · 2019-03-30 08:30

I'm not sure what you mean with a Windows 10 IoT app if you don't mean an UWP app, and that should be able to run on your PC. Have you activated Developer Mode on your PC? If not, got to SystemUpdate & securityFor developers and choose Developer Mode. This will let you run all UWP apps, and not just those from the Windows Store.

查看更多
登录 后发表回答