Is there a way to presist data on Windows sandbox?

Page 1 of 2 12 LastLast

  1. Posts : 234
    Windows 10
       #1

    Is there a way to presist data on Windows sandbox?


    In windows 10 sandbox when I close all data are gone, is there a way to presist the data ?
      My Computer


  2. Posts : 4,224
    Windows 10
       #2

    The whole purpose of a sandbox is not to persist data. That said, I suppose you could take an image backup with the Sandbox active and then restore that backup to get the sandbox back. But then, you'd lose what had changed in the surrounding OS and filesystem around the sandbox.
    Why do you want to do this? What are you trying to accomplish? If you can answer those questions, the community may have some useful suggestions for you.
    HTH,
    --Ed--
      My Computers


  3. Posts : 234
    Windows 10
    Thread Starter
       #3

    Thanks I will use hyber-v . I am testing some software and I dont want to reinstall and configure each time
      My Computer


  4. Posts : 11,247
    Windows / Linux : Arch Linux
       #4

    EdTittel said:
    The whole purpose of a sandbox is not to persist data. That said, I suppose you could take an image backup with the Sandbox active and then restore that backup to get the sandbox back. But then, you'd lose what had changed in the surrounding OS and filesystem around the sandbox.
    Why do you want to do this? What are you trying to accomplish? If you can answer those questions, the community may have some useful suggestions for you.
    HTH,
    --Ed--
    Hi there

    I don't think that's entirely true -- for example what about software that requires a reboot after install or testing configuration changes which may also require a re-boot --or even basic testing applications which use different sets of data.

    IMO a Sandbox should definitely have the option of persistence -- at start up the sandbox application should be able to load an old one or a brand new one with a user prompt at start up.

    What abut also testing different software versions and comparing --real pain to re-install each time.

    Plenty of uses for a sandbox which don't necessarily need a full blown VM for testing. Of course a VM currently is easier to manage but a decent sandbox system should be an option where you don't need to have a full blown "Guest OS" running - specifically if you just want to test out some applications. For instance I might want to test EXCEL 2019 compared with EXCEL 2016 -- seems a bit "Over the top" to have to install a full VM for just testing 2 versions of the product -- on one sandbox I could test excel 2016 and on another the excel 2019 versions.

    Another problem with (at least for Windows VM's) VM testing is that each Windows guest requires a different / new license -- a sandbox is running under the basic Windows OS so no extra license needed.

    Cheers
    jimbo
      My Computer


  5. Posts : 15,441
    Windows10
       #5

    William40 said:
    In windows 10 sandbox when I close all data are gone, is there a way to presist the data ?
    You can map an external folder to an internal folder to hold such data.
      My Computer


  6. Posts : 15,441
    Windows10
       #6

    EdTittel said:
    The whole purpose of a sandbox is not to persist data. That said, I suppose you could take an image backup with the Sandbox active and then restore that backup to get the sandbox back. But then, you'd lose what had changed in the surrounding OS and filesystem around the sandbox.
    Why do you want to do this? What are you trying to accomplish? If you can answer those questions, the community may have some useful suggestions for you.
    HTH,
    --Ed--
    You can map an external folder to an internal folder for data. Won't work for no portable programs of course.
      My Computer


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

    Install Windows 10 on a Hyper-V virtual machine, enable nested virtualization on that VM (tutorial). When done, add Sandbox feature to that VM.

    Then, when you want to preserve the state of Sandbox, do as told in Method One in this tutorial: Windows Subsystem for Linux - Create a WSL Sandbox in Windows 10

    Kari
      My Computer


  8. Posts : 11,247
    Windows / Linux : Arch Linux
       #8

    Kari said:
    Install Windows 10 on a Hyper-V virtual machine, enable nested virtualization on that VM (tutorial). When done, add Sandbox feature to that VM.

    Then, when you want to preserve the state of Sandbox, do as told in Method One in this tutorial: Windows Subsystem for Linux - Create a WSL Sandbox in Windows 10

    Kari
    Hi there
    That still doesn't get over the problem that running a Windows VM needs another license if on a Windows HOST so you will need a minimum of 2 licenses.

    cheers
    jimbo
      My Computer


  9. Posts : 16
    Windows 10 Pro x64
       #9

    Instead of a sandbox, use Snapshots instead. So, before you do any install or testing, create a snapshot of the VM, then when you are done, you can revert the VM back to the Snapshot!.

    See The Microsoft Hyper-V snapshot explained
      My Computer


  10. Posts : 471
    Windows 10 Pro
       #10

    Use the program Sandboxie (which is now open source by the way). It let's you configure in detail what data is retained when you close the sandbox.
      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 20:44.
Find Us




Windows 10 Forums