You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Hololens模拟器DEP6957部署错误排查及解决过程

HoloLens 2模拟器部署故障排查与解决

背景

在商务笔记本上部署HoloLens 2模拟器,此前在家用PC(Windows 21H2)上可正常运行演示应用。已完成以下环境配置:

  • 安装VS 2022 17.4及对应Windows SDK、工作负载
  • 使用官方推荐的Unity 2020.3版本
  • 尝试安装多个版本的HoloLens模拟器

遇到的问题

1. 旧版本模拟器

启动后出现认证错误,无法完成应用部署。

2. 模拟器版本10.0.20348.1528

启动时触发报错:

The emulator is unable to verify that virtual machine is running.
Failed to find the required partition 'MainOS' on the mounted virtual disk

3. 模拟器版本10.0.20348.1518

模拟器可正常启动,但部署应用时出现以下错误:

DEP6957: Failed to connect to device '192.168.191.217' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. DllNotFoundException - Unable to load DLL 'SirepClient.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) [0x80131524]

部署详情日志:

ConnectTo-Device: END (Failure, 0:00:00.034)
BootstrapAsync-Deploying: END (Failure, 0:00:00.037)
Deploy: START
    Bootstrapping.Target = PII(3a4e6275-4097-a054-94dd-e12793d099f0)
    Target.DeviceGuid = 3a4e6275-4097-a054-94dd-e12793d099f0
    Target.MemorySize = 4096
    Target.EmulatorName = HoloLens 2 Emulator 10.0.20348.1518
    BootstrappingSucceed = False
    BootstrappingError = Err_SSHBootstrapping_ConnectedDevice_FailedToConnect
    BootstrappingHResult = -2146233088
    DeploymentSucceeded = False
    Target.Id = 1280
    ProjectGuid = {2fabdf39-a3a3-4497-95ba-5aee089ebf0f}
    Project.TargetPlatformVersion = 10.0.22621.0
    Project.TargetPlatformMinVersion = 10.0.10240.0
Deploy: END (Failure, 0:00:00.001)

排查过程

检查Visual Studio部署视图,确认Hyper-V等模拟器必备组件已启用。对比家用PC环境,仅系统版本存在差异:商务本为Windows 1909,家用PC为Windows 21H2。

解决方法

  1. 升级系统版本:通过Windows Update助手及USB介质,将商务本系统升级至Windows 22H2
  2. 重新部署开发环境:重新安装Unity 2020.3.2F1与VS 2022 17.4
  3. 完成上述操作后,模拟器可正常启动并完成应用部署,问题解决。

内容的提问来源于stack exchange,提问作者Vlado Pandžić

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.13 10:35:17