Make Nox Player And Windows Sandbox Co-exist


  1. Posts : 1,310
    Windows 10
       #1

    Make Nox Player And Windows Sandbox Co-exist


    Basically Nox Player is a powerful yet easy to use Android Emulator , when I attempted to install it (Nox) while I had Windows Sandbox feature enabled it managed to error out that Hyper-V was preventing it from running and if I wish to fix this , as I agreed it managed to completely remove Windows Sandbox and all its services and install its own and thus with one installation present the other is doomed .

    Now I find this highly radical , couldn't I just make some batch file to just enable / disable certain services to alter between both installations while co-existing ? any suggestion is welcome .
      My Computer


  2. Posts : 15,491
    Windows10
       #2

    nIGHTmAYOR said:
    Basically Nox Player is a powerful yet easy to use Android Emulator , when I attempted to install it (Nox) while I had Windows Sandbox feature enabled it managed to error out that Hyper-V was preventing it from running and if I wish to fix this , as I agreed it managed to completely remove Windows Sandbox and all its services and install its own and thus with one installation present the other is doomed .

    Now I find this highly radical , couldn't I just make some batch file to just enable / disable certain services to alter between both installations while co-existing ? any suggestion is welcome .
    Use Method 2 in attached tutorial:-

    Run Hyper-V, VirtualBox and VMware on same Computer | Tutorials (tenforums.com)

    Although it refers to VB and VMWare, it works for Nox as well.

    You get two boot entries - one to run with Hyper-V enabled, and one to run with Hyper-V disabled.

    You do not need to uninstall Hyper-V, Sandbox etc.
      My Computer


  3. Posts : 1,310
    Windows 10
    Thread Starter
       #3

    cereberus said:
    Use Method 2 in attached tutorial:-

    Run Hyper-V, VirtualBox and VMware on same Computer | Tutorials (tenforums.com)

    Although it refers to VB and VMWare, it works for Nox as well.

    You get two boot entries - one to run with Hyper-V enabled, and one to run with Hyper-V disabled.

    You do not need to uninstall Hyper-V, Sandbox etc.
    @cereberus
    This is as good as me selecting to reinstall Windows Sandbox , it requires a Restart ! I am not bothered by reinstalling Sandbox or Nox removing it , it does not take time in both counts , I am bothered by me having to Restart , this takes more time actually and interrupt my work and downloads .

    I was hoping for a solution where I can isolate and disable services of each instances while Windows is running to create a switch . Your contribution is appreciated of course .
      My Computer


  4. Posts : 15,491
    Windows10
       #4

    nIGHTmAYOR said:
    @cereberus
    This is as good as me selecting to reinstall Windows Sandbox , it requires a Restart ! I am not bothered by reinstalling Sandbox or Nox removing it , it does not take time in both counts , I am bothered by me having to Restart , this takes more time actually and interrupt my work and downloads .

    I was hoping for a solution where I can isolate and disable services of each instances while Windows is running to create a switch . Your contribution is appreciated of course .
    You could try method 1.

    Another possible solution is to put android emulator inside a virtual machine instead which does not have sandbox or hyper-v installed. Not 100% certain but this may only work with Intel not AMD as AMD do not supported nested VMs.

    There is no easy solution as sandbox uses type 1 Hypervisor, and VMware, Nox etc are type 2 hypervisors.

    VMware can coexist with Hyper-V now but it is so slow as to be useless.
      My Computer


  5. Posts : 1,310
    Windows 10
    Thread Starter
       #5

    cereberus said:
    You could try method 1.

    Another possible solution is to put android emulator inside a virtual machine instead which does not have sandbox or hyper-v installed. Not 100% certain but this may only work with Intel not AMD as AMD do not supported nested VMs.

    There is no easy solution as sandbox uses type 1 Hypervisor, and VMware, Nox etc are type 2 hypervisors.

    VMware can coexist with Hyper-V now but it is so slow as to be useless.
    Both methods require restarts :
    Method 1 Turn On or Off Hyper-V on restart
    Method 2 Create two instances of Windows restart choices , one with Hyper-V enabled , the other with it disabled .

    I am hoping if someone knows how to disable it while Windows is actually running .
    If not then is there any link directing me to an almost identical environment to Windows sandbox that can co-exist with Nox ?
      My Computer


  6. Posts : 15,491
    Windows10
       #6

    nIGHTmAYOR said:
    Both methods require restarts :
    Method 1 Turn On or Off Hyper-V on restart
    Method 2 Create two instances of Windows restart choices , one with Hyper-V enabled , the other with it disabled .

    I am hoping if someone knows how to disable it while Windows is actually running .
    If not then is there any link directing me to an almost identical environment to Windows sandbox that can co-exist with Nox ?
    If there was a way, we would know it. Those tutorials are written by one of the acknowledged Gurus in using Hyper-V, and whilst not on his level, I am quite well versed in its use. Of course, somebody may surprise us but don't hold your breath.

    Have you tried the VM approach.

    As an aside, Bluestacks can allegedly coexist with Hyper-V but I bet it will be slow. Type 2 hypervisors only coexist with Hyper-V as MS released some APIs that enabled that, but they are so slow......

    I guess other sandbox tools like sandboxie might offer a different solution but never used it.
      My Computer


  7. Posts : 6,852
    22H2 64 Bit Pro
       #7

    What apps do you want to run? I've only installed Nox once a long time ago and not sandboxed or in a VM.

    I'm just asking because there are online android emulators that allow you to download and run apps or upload your own APK's but for stuff like games will likely be slow except for basic games. This MS Edge extension will only accept 32bit (x86) APK's and in my tests not all of them would run.

    Anyway here's a screenshot of one that worked.

    Make Nox Player And Windows Sandbox Co-exist-centos-610-64-minimal_1-guest01-microsoft-edge.png

    If interested:


    Make Nox Player And Windows Sandbox Co-exist-extension-microsoft-edge.png
      My Computer


  8. Posts : 17,661
    Windows 10 Pro
       #8

    nIGHTmAYOR said:
    I am hoping if someone knows how to disable it while Windows is actually running .
    As told in tutorial @cereberus linked to, it's mpossible.

    Type 1 hypervisors, like Hyper-V, MUST be started even before the OS is loaded. Type 2 hypervisors can be run ONLY, if OS runs directly on physical hardware, not on OS running on hypervisor.

    As Martin (cereberus) also mentioned, VMWare has tried to resolve this, but their solution makes Type 2 hypervisors to run excruciatingly slow, when Type 1 hypervisor is also enabled.

    Kari
    Last edited by Kari; 24 Mar 2022 at 15:37. Reason: Typos fixed
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:57.
Find Us




Windows 10 Forums