【发布时间】:2019-01-04 11:13:46
【问题描述】:
我尝试在我的 Windows 10 中设置分配的访问权限,如下所示。但我在以下位置找不到我的侧载 UWP 应用:
Settings > Accounts > Family & other people > set up assigned access
> choose user for assigned access > choose user for assigned access
windows.aboveLockScreen 扩展名在给定的清单文件中。
<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
【问题讨论】:
标签: windows kiosk-mode