gucci-on-fleek / lockdown-browser

Run the ”Respondus Lockdown Browser“ in the ”Windows Sandbox“
Other
122 stars 23 forks source link

Can't open sandbox.wsb #21

Closed rarehusayn closed 1 year ago

rarehusayn commented 1 year ago

image

gucci-on-fleek commented 1 year ago

You need to use the one in runtime_directory/, not the one in src/.

Running

  1. Build the project as shown above.
  2. Download the Respondus Lockdown Browser and place it in runtime_directory\.
  3. Double-click Sandbox.wsb (it’s in runtime_directory\)
  4. Wait. It’ll take about a minute, but eventually the Lockdown Browser will open, completely automatically.

https://github.com/gucci-on-fleek/lockdown-browser#running

rarehusayn commented 1 year ago

There isn't one in runtime_directory, is it supposed to make one after running sandbox_run.ps1? When I click that powershell file it opens powershell for a second and just closes

gucci-on-fleek commented 1 year ago

is it supposed to make one after running sandbox_run.ps1? When I click that powershell file it opens powershell for a second and just closes

Well sandbox_run.ps1 starts with

https://github.com/gucci-on-fleek/lockdown-browser/blob/7248e2999c70bd913345483873cfc8e623bc99a0/runtime_directory/sandbox_run.ps1#L6

so doing that probably wasn't a great idea. Running

sfc /scannow
dism /online /cleanup-image /restorehealth
sfc /scannow

as an Administrator should hopefully undo the damage. (Realistically, this probably isn't necessary. The script won't be able to do anything at all unless you run it as admin, and if you just double-clicked it, it would have ran as a regular user).


Anyways,

There isn't one in runtime_directory

That suggests that either the build process failed somehow, or you never ran the build steps to begin with.

Building is pretty easy, provided that you have all the prerequisites installed:

System Requirements

Building

Clone the repository, then run build.ps1. Then, install the Windows Sandbox. That's it!

https://github.com/gucci-on-fleek/lockdown-browser#system-requirements

If you've already done all that, then did the build script give you any error messages?

rarehusayn commented 1 year ago

image I found the issue

gucci-on-fleek commented 1 year ago

Running

Set-ExecutionPolicy unrestricted

will solve this specific issue, but if you can't solve that on your own then this project may not be for you.

rarehusayn commented 1 year ago

image Not sure why it says this, i have the visual tools installed

rarehusayn commented 1 year ago

image Not sure why it says this, i have the visual tools installed

Reinstalling visual studio and added entire desktop development with C++ i think i didnt add last time. Everything works perfectly now, thanks alot.

rarehusayn commented 1 year ago

Close