windows - 旁加载的应用程序未在分配的访问权限中列出

标签 windows kiosk-mode

我尝试在 Windows 10 中设置分配的访问权限,如下所示。但我在以下位置找不到侧载 UWP 应用:

Settings > Accounts > Family & other people > set up assigned access
> choose user for assigned access > choose user for assigned access 

windows.aboveLockScreen 扩展名位于给定的 list 文件中。

<Extensions>
    <uap:Extension Category="windows.lockScreenCall" />
    <uap:Extension Category="windows.aboveLockScreen" />
</Extensions>

我尝试通过 powershell 来完成该任务。

Set-AssignedAccess -AppUserModelId com.abi_08gsnwnf4ggb0!App -UserName kiosk_user

但出现错误。

New-CimInstance : One or more parameter values passed to the method were invalid.
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\AssignedAccess\AssignedAccess.psm1:310 char:13
+             New-CimInstance -ClassName WEDL_AssignedAccess -Property  ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (WEDL_AssignedAccess:CimInstance) [New-CimInstance], CimException
    + FullyQualifiedErrorId : MI RESULT 4,Microsoft.Management.Infrastructure.CimCmdlets.NewCimInstanceCommand

最佳答案

我花了一周的时间才弄清楚我的错误。我尝试过许多其他方法。我在这里列出了解决方案,供那些遇到同样问题的人使用,因为 Set-AssignedAccess 没有给出正确的错误。

该应用程序安装在管理员帐户中,而不是安装在kiosk_user帐户中! 我使用的 AUMID 来自管理员帐户,而不是来自 kisok 用户帐户!!

确保应用程序安装在信息亭用户帐户中,并且 AUMID 来自信息亭用户帐户!

关于windows - 旁加载的应用程序未在分配的访问权限中列出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51556082/

相关文章:

.net - 在 Windows Mobile 6.5 中禁用菜单栏

google-chrome - 批处理文件动态查找chrome安装路径

android - Windows 10中的Cordova CLI Android/gradle

windows - 什么是内核模式软件?

Android Studio 无法检测到 appt,即使它位于错误指定的位置

windows - Redis:数据库大小与内存比率(在 Windows 中用完 ram)

android-studio - Android Studio、信息亭模式、单一用途设备、锁定任务模式

c# - 在 Kiosk 模式下运行 GTK# 应用程序

c# - Windows 8 中的自助服务终端运行常规软件(非 Windows 应用商店应用)

java - 有没有办法从 windows 或 linux 机器远程安装程序到 windows 机器?最好是一些容易用java编码的东西