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.
Running emulator directly
I haven't worked with this toolchain or Hyper-V before. How do I run the emulator directly w/o deploying a specific application to it in Visual Studio?
I see it in Hyper-V and am able to run it there, but it lacks the skin and input handling. I tried running xde from command line and specifying the vhd, but that lacked the skin. Sorry for the noobery >_<
UX Designer @ Anki
https://www.twitter.com/wintermoot
Best Answer
-
Options
Basically figured mine out. VS.Net 2015 launches this for my environment:
"C:\Program Files (x86)\Microsoft XDE\10.0.11082.0\XDE.exe" /name "HoloLens Emulator 10.0.11082.1039.dngoins" /displayName "HoloLens Emulator 10.0.11082.1039" /vhd "C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.11082.1039\flash.vhd" /video "1268x720" /memsize 2048 /language 409 /creatediffdisk "C:\Users\dngoins\AppData\Local\Microsoft\XDE\10.0.11082.1039\dd.1268x720.2048.vhd" /fastShutdown /sku HDE
Your environment will undoubtedly be different.
Dwight Goins
CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
http://dgoins.wordpress.com6
Answers
I know you can run it from hyper-v and connect to it from the hyper-v manager, however getting the skin is a custom ui called XDE that embeds the vm, along with the other tools windows. you have to properly launch the XDE using the parameters that point to your Hololens VM. Here's an example on windows Phone emulators a little research i'm sure you can figure out the commands for Hololens vhd.
Dwight Goins
CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
http://dgoins.wordpress.com
Basically figured mine out. VS.Net 2015 launches this for my environment:
"C:\Program Files (x86)\Microsoft XDE\10.0.11082.0\XDE.exe" /name "HoloLens Emulator 10.0.11082.1039.dngoins" /displayName "HoloLens Emulator 10.0.11082.1039" /vhd "C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.11082.1039\flash.vhd" /video "1268x720" /memsize 2048 /language 409 /creatediffdisk "C:\Users\dngoins\AppData\Local\Microsoft\XDE\10.0.11082.1039\dd.1268x720.2048.vhd" /fastShutdown /sku HDE
Your environment will undoubtedly be different.
Dwight Goins
CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
http://dgoins.wordpress.com
thank you! I learned the way to get at command vs is running is with sysinternals procexp if anyone was curious.
UX Designer @ Anki
https://www.twitter.com/wintermoot
yep.
Dwight Goins
CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
http://dgoins.wordpress.com
nm, all set
UX Designer @ Anki
https://www.twitter.com/wintermoot
I wrote this command into Command Prompt (in Admin mode) and after the emulator opened I got an error message said 'The emulator is unable to verify that the virtual machine is running: Invalid signature for registry bin.'
Here is a new version for the May 2016 First flight. Copy to notepad and replace c:\User\jimsh\ with your username path
"C:\Program Files (x86)\Microsoft XDE\10.0.14342.0\XDE.exe" /name "HoloLens Emulator 10.0.14342.1018.jimsh" /displayName "HoloLens Emulator 10.0.14342.1018" /vhd "C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.14342.1018\flash.vhd" /video "1268x720" /memsize 2048 /language 409 /creatediffdisk "C:\Users\jimsh\AppData\Local\Microsoft\XDE\10.0.14342.1018\dd.1268x720.2048.vhd" /fastShutdown /sku HDE
Open a Command line "Run As Administrator" and paste in the updated command above,press enter, wait 180 seconds until HoloLens Emulator blooms.
I have the same problem. Also if I try to launch again from Visual Studio, it keeps popping out this error. It seems that I corrupted the emulator maybe. Have you found a solution?
This solution worked perfectly for me.
when i try to launch emulator directly i get the following error "The emulator is unable to create differencing disk: The system cannot find the path specified". Any one else have that problem?
Just for people who stumble across this post, I made a few edits. Replaced a lot of the account specific things with the corresponding windows environment variables.
Put the below in a .bat file, double click on it to run. Update xde_version or emu_version to match your installed versions.
It will complain if you haven't launched it with VS previously to create the diffdisk, which could be fixed with a change to the creatediffdisk paramater, or creating the directory if it does not exist.