Windows 10: Defender Sandbox script?

Discus and support Defender Sandbox script? in AntiVirus, Firewalls and System Security to solve the problem; I have the command to enable the Windows Defender Sandbox mode below. setx /M MP_FORCE_USE_SANDBOX 1 Can I create a batch or script file that I can... Discussion in 'AntiVirus, Firewalls and System Security' started by win10freak, Jul 31, 2019.

  1. Defender Sandbox script?


    I have the command to enable the Windows Defender Sandbox mode below.

    setx /M MP_FORCE_USE_SANDBOX 1

    Can I create a batch or script file that I can just click and execute the command?

    If so, then how?
    Preferably, I would like to have a BAT or CMD file.

    Or, is there a registry entry for this as well?

    :)
     
    win10freak, Jul 31, 2019
    #1

  2. error ox800706d9 sandbox not work

    For Windows 10 1903 sandbox wont start errors all you do is just restart the following service under Administrative tools



    Container Manager Services.



    then reopen sandbox should start up like normal.

    If it does not start up do the following below.



    If you have Hyper-V installed and Virtual disk is turned on under Administrative tools you must restart all these services



    1. Container Manager Services
    2. HV Host
    3. Virtual Disk
    4. Hyper-V Virtual Machine Manager
    5. Hyper-V Host Compute Service
    6. Network Virtualization Service

    Do this in the following order

    1. Right click over (Network Virtualization Service) click restart and wait.
    2. Right click over (Virtual Disk) click restart and wait.
    3. Right click over (Hyper-V Virtual Machine Manager) click restart and wait
    4. Right click over (Hyper-V Host Compute Service) click restart and wait
    5. Right click over (Container Manager Services) click restart and wait



    Check these services are still on

    Application Guard Container Service (If installed)

    Remote Procedure Call (RDC) (""This must be running as most of the others rely upon its function it should never be disabled"")



    Once they are checked start sandbox and it should open up if it does restart your computer to ensure the services are still functional are a restart of computer this should also be done if sandbox does not start up once these services are restarted
    and checked.



    Created By Eric O'Malley

    17th June 2019

    Windows Sandbox failed to start

    A Work Around

    To get

    Windows Sandbox

    Working again

    Created

    By

    Eric O’Malley

    10/06/2019





    Well I work out a solution to get Windows Sandbox going again it’s not the best solution but work around follow the steps below and hope it works for all of you guys.



    1. The first thing you have to do is turn off Windows Defender Random Folder Protection
      or the anti virus random folder protection.
    2. Next turn off Windows defenders Tamper protection Or the Anti-Virus Tamper protection
    3. Once that turn off Go to Control Panel open it
    4. Location Administrative Tools
    5. Next head to Services and open that
    6. Scroll down to Container Manager Services
    7. Turn off Container Manager Service only
    8. Leave service screen open but minimize it
    9. Next go to control panel location and open File Explorer Options
    10. In File Explorer Options Untick the following:



      • Don’t Show Hidden Files, Folders, or Drivers
      • Hide Empty Drivers
      • Hide Extensions Known Files Types
      • Hide Merge Conflicts
      • Hide Protected Operating Systems Files



    1. Now move File Explorer Options to one side of your screen
    2. Go back to Control Panel
    3. Locate and open Program and Features
    4. Go to Turn Windows Features on or Off
      open it

    5. Scroll down to Windows Sandbox
    6. Untick Windows Sandbox
    7. Click ok to uninstall Windows Sandbox
    8. Close off only the screen that removed Windows sandbox
    9. Next go to your main drive usually C: Drive
    10. Location ProgramData
      • We need to get to this location (C:\programData\Microsoft\Windows\Containters\Sandboxes)



    1. Even open it or expand ProgramData
    2. Locate Microsoft open it or expand
    3. Scroll down to Windows open it or expand
    4. Now go to the folder called Containers
      open it or expand
    5. Now you should see Sandboxes
      • You Should be at this location Now

    (C:\programData\Microsoft\Windows\Containters\Sandboxes)



    1. Now in that folder Sandbox is folder that looks like this



      • 4040f074-2ff6-471c-9f38-4836db85fff6
      • Inside it is sandbox.vhdx



    1. What we need do is delete all the strange folders keys that’s in

    (C:\programData\Microsoft\Windows\Containters\Sandboxes)



    1. If it does not delete just wait a few seconds and try again



    Caution do not delete the folders from recycle bin yet



    1. Next go to the folder below it called
      Zygotes




    (C:\programData\Microsoft\Windows\Containters\Zygotes)



    Repeat the steps you did at Sandboxes and delete the strange folder keys with its contents but do not delete what’s in recycle bin.



    1. Repeat the step you did at Sandboxes and delete the
      strange folder key with its contents

    2. If it does not delete just wait a few seconds and try again
    3. Now move the open explorer screen to one side of the screen
    4. Head back to control panel
    5. Locate and open Program and Features
    6. Go to Turn Windows Features on or Off
      open it

    7. Scroll down to Windows Sandbox
    8. This time re-tick Windows Sandbox and close and allow it to reinstall the sandbox
    9. Close only the install screen
    10. Go back to services and Restart Container Manager Service
    11. Leave Services screen open move it to once side again.
    12. We now head to Start then Settings
    13. Scroll until you find Windows
      Sandbox click it twice.
    14. Wait and see how the screen opens if it give you another error
      repeat this process
    15. When you open Windows Sandbox it should
      hang for 5 to 10 minutes without any error message
    16. What it’s doing is rebuilding its image then it opens back to what it was in default settings.
    17. Once you have sandbox reopened and its got the icons load close it pressing the
      red X
    18. Then reopen Windows Sandbox to see if it opens up again.
    19. If it does you fixed it.
    20. Now we can turn back on
      • Windows Defender Random Folder Protection
        or the anti virus random folder protection



      • Windows defenders Tamper protection Or the Anti-Virus Tamper protection



    1. Retest Windows sandbox will open again with the above
      turned on
    2. If it does the next thing is to restart your computer and
      Repeat the opening of Windows sandbox.
    3. Once all is well your right to continue
    4. You can delete the folders in your recycle bin too.



    Created by

    Eric O’Malley

    10/06/2019
     
    viennafiji, Jul 31, 2019
    #2
  3. Mala_S Win User
    No internet connection on Windows Sandbox

    Hello bvonr,

    Thank you for writing to Microsoft Community Forums.

    Ideally, if your computer is connected to the internet, even the Sandbox has to be connected. There is no extra setting to turn on/off internet for Sandbox. Few issues regarding network connection on Virtual machines and Sandbox has been resolved
    just by updating to the latest build. Kindly check with the steps listed below and see if it works.

    Method 1: Disable Antivirus software.

    I would suggest you to disable all the security software applications (e.g. Norton, McAfee) that are installed on your host (main) machine. It could be blocking the internet connection, so disable it and see if the issue persists.

    Disclaimer: If you have Windows 10, you’ll get the latest antivirus protection with Windows Defender. When you start up Windows 10 for the first time, Windows Defender is on and actively helping to protect
    your PC by scanning for malware (malicious software), viruses, and security threats. Windows Defender uses real-time protection to scan everything you download or run on your PC. Windows Update downloads updates for Windows Defender automatically to help keep
    your PC safe and protect it from threats.

    If the above suggestions doesn’t fix, kindly check with the method 2.

    Method 2: Disable and enable the Sandbox feature from Control Panel.

    Go to Control Panel >
    Programs
    > Programs and Features > from the left top, select
    Turn Windows features on or off > Scroll down to Sandbox, disable and enable it to check if it works.

    Additionally, you may also refer to the suggestions provided in the article on
    Windows Sandbox has NO Internet when the
    host is connected to a VPN
    .

    Please let us know the results. We are glad to help you further if the issue persists.

    Regards,

    Mala S

    Microsoft Community - Moderator
     
    Mala_S, Jul 31, 2019
    #3
  4. Defender Sandbox script?

    Windows Sandbox not enble

    Windows Sandbox not enble

    Windows Sandbox not appear in the start menu. I tried to enable it from "Turn Windows features on or off" but the Windows Sandbox appears in grey there and when I roll over it the message "Virtualization support is disabled in firmware" pop up. Please help
    on this issue.

    before installing Windows sandbox check to see if virtualization is enable by right clicking over taskbar and going to task manager then click the performance tab go down to Logical Processors under that is Virtualization which should say enabled,

    if not enabled virtualization in the bios refer to your computer guide for motherboard make and model,

    If Virtualization is enabled in the bios then you have issue with Windows 10 services under Administrative Tools.

    follow this below should get you going.

    For Windows 10 1903 sandbox wont start errors all you do is just restart the following service under Administrative tools



    Container Manager Services.



    then reopen sandbox should start up like normal.

    If it does not start up do the following below.



    If you have Hyper-V installed and Virtual disk is turned on under Administrative tools you must restart all these services



    1. Container Manager Services
    2. HV Host
    3. Virtual Disk
    4. Hyper-V Virtual Machine Manager
    5. Hyper-V Host Compute Service
    6. Network Virtualization Service

    Do this in the following order

    1. Right click over (Network Virtualization Service) click restart and wait.
    2. Right click over (Virtual Disk) click restart and wait.
    3. Right click over (Hyper-V Virtual Machine Manager) click restart and wait
    4. Right click over (Hyper-V Host Compute Service) click restart and wait
    5. Right click over (Container Manager Services) click restart and wait



    Check these services are still on

    Application Guard Container Service (If installed)

    Remote Procedure Call (RDC) (""This must be running as most of the others rely upon its function it should never be disabled"")



    Once they are checked start sandbox and it should open up if it does restart your computer to ensure the services are still functional are a restart of computer this should also be done if sandbox does not start up once these services are restarted
    and checked.



    Created By Eric O'Malley

    17th June 2019

    follow this guide if the sandbox program wont start or failures to open.

    Windows Sandbox failed to start

    A Work Around

    To get

    Windows Sandbox

    Working again

    Created

    By

    Eric O’Malley

    10/06/2019





    Well I work out a solution to get Windows Sandbox going again it’s not the best solution but work around follow the steps below and hope it works for all of you guys.



    1. The first thing you have to do is turn off Windows Defender Random Folder Protection
      or the anti virus random folder protection.
    2. Next turn off Windows defenders Tamper protection Or the Anti-Virus Tamper protection
    3. Once that turn off Go to Control Panel open it
    4. Location Administrative Tools
    5. Next head to Services and open that
    6. Scroll down to Container Manager Services
    7. Turn off Container Manager Service only
    8. Leave service screen open but minimize it
    9. Next go to control panel location and open File Explorer Options
    10. In File Explorer Options Untick the following:



      • Don’t Show Hidden Files, Folders, or Drivers
      • Hide Empty Drivers
      • Hide Extensions Known Files Types
      • Hide Merge Conflicts
      • Hide Protected Operating Systems Files



    1. Now move File Explorer Options to one side of your screen
    2. Go back to Control Panel
    3. Locate and open Program and Features
    4. Go to Turn Windows Features on or Off
      open it

    5. Scroll down to Windows Sandbox
    6. Untick Windows Sandbox
    7. Click ok to uninstall Windows Sandbox
    8. Close off only the screen that removed Windows sandbox
    9. Next go to your main drive usually C: Drive
    10. Location ProgramData
      • We need to get to this location (C:\programData\Microsoft\Windows\Containters\Sandboxes)



    1. Even open it or expand ProgramData
    2. Locate Microsoft open it or expand
    3. Scroll down to Windows open it or expand
    4. Now go to the folder called Containers
      open it or expand
    5. Now you should see Sandboxes
      • You Should be at this location Now

    (C:\programData\Microsoft\Windows\Containters\Sandboxes)



    1. Now in that folder Sandbox is folder that looks like this



      • 4040f074-2ff6-471c-9f38-4836db85fff6
      • Inside it is sandbox.vhdx



    1. What we need do is delete all the strange folders keys that’s in

    (C:\programData\Microsoft\Windows\Containters\Sandboxes)



    1. If it does not delete just wait a few seconds and try again



    Caution do not delete the folders from recycle bin yet



    1. Next go to the folder below it called
      Zygotes




    (C:\programData\Microsoft\Windows\Containters\Zygotes)



    Repeat the steps you did at Sandboxes and delete the strange folder keys with its contents but do not delete what’s in recycle bin.



    1. Repeat the step you did at Sandboxes and delete the
      strange folder key with its contents

    2. If it does not delete just wait a few seconds and try again
    3. Now move the open explorer screen to one side of the screen
    4. Head back to control panel
    5. Locate and open Program and Features
    6. Go to Turn Windows Features on or Off
      open it

    7. Scroll down to Windows Sandbox
    8. This time re-tick Windows Sandbox and close and allow it to reinstall the sandbox
    9. Close only the install screen
    10. Go back to services and Restart Container Manager Service
    11. Leave Services screen open move it to once side again.
    12. We now head to Start then Settings
    13. Scroll until you find Windows
      Sandbox click it twice.
    14. Wait and see how the screen opens if it give you another error
      repeat this process
    15. When you open Windows Sandbox it should
      hang for 5 to 10 minutes without any error message
    16. What it’s doing is rebuilding its image then it opens back to what it was in default settings.
    17. Once you have sandbox reopened and its got the icons load close it pressing the
      red X
    18. Then reopen Windows Sandbox to see if it opens up again.
    19. If it does you fixed it.
    20. Now we can turn back on
      • Windows Defender Random Folder Protection
        or the anti virus random folder protection



      • Windows defenders Tamper protection Or the Anti-Virus Tamper protection



    1. Retest Windows sandbox will open again with the above
      turned on
    2. If it does the next thing is to restart your computer and
      Repeat the opening of Windows sandbox.
    3. Once all is well your right to continue
    4. You can delete the folders in your recycle bin too.



    Created by

    Eric O’Malley

    10/06/2019
     
    viennafiji, Jul 31, 2019
    #4
Thema:

Defender Sandbox script?

Loading...
  1. Defender Sandbox script? - Similar Threads - Defender Sandbox script

  2. Sandbox

    in Windows 10 Software and Apps
    Sandbox: Hello, Is there a way to use Sandbox on Intel platform? I have Win 10 Pro. i7 intel CPU https://answers.microsoft.com/en-us/windows/forum/all/sandbox/867f4c1d-8a25-433f-9a33-10f72ec19849
  3. Defender Sandbox script?

    in Windows 10 Support
    Defender Sandbox script?: I have the command to enable the Windows Defender Sandbox mode below. setx /M MP_FORCE_USE_SANDBOX 1 Can I create a batch or script file that I can just click and execute the command? If so, then how? Preferably, I would like to have a BAT or CMD file. Or, is there a...
  4. Windows Defender Sandbox?

    in AntiVirus, Firewalls and System Security
    Windows Defender Sandbox?: Is Windows Defender Sandbox mode enabled by default on v1809? 137328
  5. Sandbox

    in AntiVirus, Firewalls and System Security
    Sandbox: Where is a good place to read about Windows Sandbox? Where is a good place here on tenforums to discuss Sandbox and ask questions about it? I finally have 1903 installed on my main PC (Lenovo K450) so I can start looking at it and immediately have several questions that I'm...
  6. sandbox

    in AntiVirus, Firewalls and System Security
    sandbox: I get a warning that I have to sign in with my MS account. It says protection not complete. Also I cannot use favorites. Is this typical of the sand box? 133959
  7. SANDBOX

    in Windows 10 Installation and Upgrade
    SANDBOX: Good day all. I just upgraded to the latest May 2019 version and the installation was smooth as my PC now runs smoother. However, how do l install Sandbox since is disabled by default? Thank you....
  8. The Windows Defender Antivirus Sandbox in Windows 10

    in Windows 10 News
    The Windows Defender Antivirus Sandbox in Windows 10: Microsoft implemented new functionality in Windows Defender Antivirus for Windows 10 recently that makes the antivirus solution run in a sandbox on the system. The feature, which is available in Windows 10 version 1703 and newer, needs to be enabled for the time being as it...
  9. Sandbox Defender

    in AntiVirus, Firewalls and System Security
    Sandbox Defender: Useful security tip here in case you missed it. Windows Defender Antivirus can now run in a sandbox in Windows 10 120598
  10. Sandbox Windows Defender and be more secure

    in AntiVirus, Firewalls and System Security
    Sandbox Windows Defender and be more secure: I didn't know I could use Windows Defender in a sandbox and increase my PC's security. Open a command prompt window with admin privileges and run the following command: setx /M MP_FORCE_USE_SANDBOX 1 Restart your PC and you're done....