Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

The emulator is unable to create a differencing disk when launching it directly

I launched the hololens emulator directly using the command prompt.
https://forums.hololens.com/discussion/236/running-emulator-directly#latest
I get the following error.
the emulator is unable to create a differencing disk. The system cannot find the path specified.

Also I can't create a Holographic application in Visual Studio, I get
Emulator Deploy Error DEP6100 Cannot access a disposed object. (another thread:https://forums.hololens.com/discussion/comment/5226#Comment_5226)

Please someone help me.

Answers

  • javiourjaviour
    edited July 2016

    PS. the folders containing the .vhd files are not compressed or encrypted.

  • Try mounting the Virtual disk to see if there is a problem using PowerShell Running as Administrator


    PS C:\WINDOWS\system32> cd "C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.14342.1018"

    PS C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.14342.1018> dir *.vhd

    Directory: C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.14342.1018
    

    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 19/06/2016 11:25 1477242880 flash.vhd


    Now try mounting this virtual disk


    PS C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.14342.1018> Mount-VHD flash.vhd

    PS C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.14342.1018>
    Check the new drives for corruption

    I don't know what else there is to start the Emulator, but to go into Control panel and uninstall

    The reinstall the HoloLens Emulator

  • Did you launch from an elevated command prompt?

  • @timg said:
    Did you launch from an elevated command prompt?

    Yes

    Try mounting the Virtual disk to see if there is a problem using PowerShell Running as Administrator

    Windows Start icon > Windows Power Shell >Windows Power Shell(x86)
    Right Click "Run ISE as Administrator"
    Click "Yes" to the Run as Administrator modal prompt

    or Windows Command prompt Right Click "Run ISE as Administrator"

  • timgtimg mod
    edited January 2017

    Not sure if this is a requirement, but are you a member of the "Hyper-V Administrators" group on your PC?

  • Might be a little bit late on this, but got this error whenever tried to launch the emulator from Visual Studio - emulator launched, but the user and keyboard input were disabled and got the error message:

    "Severity Code Description Project File Line Suppression State Error DEP6100: The following unexpected error occurred during bootstrapping stage 'Connecting to the device '4CE3B45E-0530-04A7-0B7F-F404E7D5D220'.': ObjectDisposedException - Cannot access a disposed object. Object name: 'XdeServiceClient10_0'. [0x80131622]"

    Was finally able to correct it when uninstalled the emulator and the Windows Software Development Kit (for W10), and then reinstalled both but checked the flag 'Send anonymous usage data to Microsoft for the Windows 10 Kits'. Before doing this always got the error and was unable to use the emulator.

    I though we were supposed to be able to chose to send or not...

  • @TeresaRC said:

    Was finally able to correct it when uninstalled the emulator and the Windows Software Development Kit (for W10), and then reinstalled both but checked the flag 'Send anonymous usage data to Microsoft for the Windows 10 Kits'. Before doing this always got the error and was unable to use the emulator.

    I though we were supposed to be able to chose to send or not...

    Really useful?Has anyone tried this method?

Sign In or Register to comment.