赢得10个物联网企业,运行一次和自定义外壳 [英] Win 10 IoT Enterprise, Run Once and Custom Shell
问题描述
Hiya,
我正在尝试确认这是否是已知行为,我已创建了一个脚本,以便在零售EPOS单元具有首次登录后运行已使用Custom Shell锁定。我一直在关注这篇文章&https://msdn.microsoft.com/en-us/library/aa376977(v = vs.85).aspx
来选择需要设置的密钥。但是,只要启用了Custom Shell,并且用户自动登录,RunOnce脚本就不会运行。
I'm trying to confirm whether this is known behaviour or not, I've created a script to run at first login after the Retail EPOS unit has been locked down using Custom Shell. I've been following this article https://msdn.microsoft.com/en-us/library/aa376977(v=vs.85).aspx to select the keys which need to be set and are. However as soon as Custom Shell is enabled, and the user automatically logged in with it on, the RunOnce script doesn't run.
这是否已知,是否有解决方法?
Is this known, are there any workarounds?
谢谢,Matt
推荐答案
我认为RunOnce仅在Explorer.exe作为shell运行时运行。您可以将脚本设置为"运行",然后让脚本删除注册表项。
I think RunOnce only runs when Explorer.exe runs as the shell. You could setup your script to Run and then have the script delete the registry entry.
这篇关于赢得10个物联网企业,运行一次和自定义外壳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!