Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after trying to launch #15

Open
madpancamo opened this issue May 28, 2023 · 18 comments
Open

Error after trying to launch #15

madpancamo opened this issue May 28, 2023 · 18 comments
Assignees

Comments

@madpancamo
Copy link

cd C:\Users\WDAGUtilityAccount\Desktop\runtime_directory\ .\withdll.exe /d:GetSystemMetrics-Hook.dll "C:\Program Files (x86)\Respondus\LockDown Browser Lab OEM\LockDownBrowserLabOEM.exe"

Errors I get while trying to open it like this:
1

and when I try to launch it through the link I got from the university, I get this error:
2

@gucci-on-fleek
Copy link
Owner

LockDownBrowserLabOEM.exe

That's the version of the Browser designed to use in school computer labs. You should use the student version, which is named C:\Program Files (x86)\Respondus\LockDown Browser\LockDownBrowser.exe.

If you can't get access to a student version, you can try changing

$lockdown_runtime = "C:\Program Files (x86)\Respondus\LockDown Browser\LockDownBrowser.exe"

to

$lockdown_runtime = "C:\Program Files (x86)\Respondus\LockDown Browser Lab OEM\LockDownBrowserLabOEM.exe"

although I haven't tested this.

@gucci-on-fleek gucci-on-fleek self-assigned this May 28, 2023
@antonionappo
Copy link

i have the same issue and i have modified line 14 in sandbox_run.ps1 with this:

$lockdown_runtime = "C:\Program Files (x86)\Respondus\LockDown Browser OEM\LockDownBrowserOEM.exe"

@gucci-on-fleek
Copy link
Owner

@antonionappo

Is this exactly what you typed?

$lockdown_runtime = "C:\Program Files (x86)\Respondus\LockDown Browser OEM\LockDownBrowserOEM.exe"

There, you have LockDownBrowserOEM.exe. If that is the name of the Browser executable on your system, then that would be correct. However, the initial poster of this issue had

$lockdown_runtime = "C:\Program Files (x86)\Respondus\LockDown Browser Lab OEM\LockDownBrowserLabOEM.exe"

which uses LockDownBrowserLabOEM.exe instead. Perhaps both of these names exist in the wild, but I suspect that one of you has a typo somewhere.

@antonionappo
Copy link

I have solved the problems.

First Problem: path of execututable is different of your file:
I have changed the line 14 with this:
$lockdown_runtime = "C:\Program Files (x86)\Respondus\LockDown Browser OEM\LockDownBrowserOEM.exe".

Second problem: exam url
The exam url have link like this : "ldb1:ug:0:%5BJwQN......" therefore the line 40 is wrong for me.
i have changed line 40 with this:

Set-ItemProperty -Path "HKCR:\ldb1\shell\open\command" -Name "(Default)" -Value ('"' + $PSScriptRoot + '\withdll.exe" "/d:' + $PSScriptRoot + '\GetSystemMetrics-Hook.dll" ' + $lockdown_runtime + ' "%1"')

but this not work with script, i think that the key is subscribed or does not exist yet at script execution. I have changed this registry key manually with this and work well.

"C:\Users\WDAGUtilityAccount\Desktop\runtime_directory\withdll.exe" "/d:C:\Users\WDAGUtilityAccount\Desktop\runtime_directory\GetSystemMetrics-Hook.dll" "C:\Program Files (x86)\Respondus\LockDown Browser OEM\LockDownBrowserOEM.exe" "%1"

can you help me?

@giandinic
Copy link

giandinic commented Nov 29, 2023

hi @antonionappo,

don't you have this problem?

Screenshot 2023-11-29 111145

I modified the script, but on sandbox I don't see a solution to this problem, I also tried to do some tests in vmware workstation

@giandinic
Copy link

@madpancamo did you solve the problem?

@antonionappo
Copy link

antonionappo commented Nov 30, 2023

hi @antonionappo,

don't you have this problem?

Screenshot 2023-11-29 111145

I modified the script, but on sandbox I don't see a solution to this problem, I also tried to do some tests in vmware workstation

@giandinic
Hi, the solution work in my sandbox.
you have executed all step correctly ?

@giandinic
Copy link

Hi, I think I have executed everything correnta, there is only one point in the script that is not clear to me:

& $lockdown_installer /x ""$lockdown_extract_dir""
while (!(Test-Path $lockdown_extract_dir\id.txt)) {
sleep 0.2
}
sleep 1
kill -Name Lockdown

I know that the /x is for uninstall?!?! but when it processes it, the graphical installation starts.

I commented out this part and the script executes correctly.

my setup is LockDownBrowserOEMSetup.exe.

what is wrong?

Translated with DeepL.com (free version)

@giandinic
Copy link

I did the manual exe extraction and I have this:

image

when I then go to run the script it generates this log:

image

@antonionappo
Copy link

Can you show me the content of the runtime_directory?
can you show me the content of 'sandbox_run.ps1' file ?

@giandinic
Copy link

giandinic commented Nov 30, 2023

image

in the temp folder are the Extraction files.
I have an idea that the extraction .exe is wrong

image

the error is in line 28?!?!

can't extract the file

@giandinic
Copy link

I have an update:

I did a test using the executable "LockDownBrowser.exe" and the extraction and then installation works without errors.

I need "LockDownBrowserOEMSetup.exe" for my purpose.

which executable did you use? @antonionappo

@gucci-on-fleek
Copy link
Owner

@antonionappo

First Problem: path of execututable is different of your file: I have changed the line 14 with this: $lockdown_runtime = "C:\Program Files (x86)\Respondus\LockDown Browser OEM\LockDownBrowserOEM.exe".

Glad to hear that that worked. Since LockDownBrowserOEM.exe is much less common than LockDownBrowser.exe, I'm not planning on modifying the script, but I'll let other people know to make that change if they have the same problem.

Second problem: exam url The exam url have link like this : "ldb1:ug:0:%5BJwQN......" therefore the line 40 is wrong for me. i have changed line 40 with this:

Set-ItemProperty -Path "HKCR:\ldb1\shell\open\command" -Name "(Default)" -Value ('"' + $PSScriptRoot + '\withdll.exe" "/d:' + $PSScriptRoot + '\GetSystemMetrics-Hook.dll" ' + $lockdown_runtime + ' "%1"')

but this not work with script, i think that the key is subscribed or does not exist yet at script execution. I have changed this registry key manually with this and work well.

That command appears correct to me, so I'm also not sure why that's not working? At least changing it manually works properly.

@giandinic

Hi, I think I have executed everything correnta, there is only one point in the script that is not clear to me:

& $lockdown_installer /x ""$lockdown_extract_dir"" while (!(Test-Path $lockdown_extract_dir\id.txt)) { sleep 0.2 } sleep 1 kill -Name Lockdown

I know that the /x is for uninstall?!?! but when it processes it, the graphical installation starts.

/x should be for eXtract, although it may be different for your version.

I commented out this part and the script executes correctly.

my setup is LockDownBrowserOEMSetup.exe.

what is wrong?

Maybe your installer is “preextracted”, so you don't need to run the initial extraction step?

@giandinic

I have an update:

I did a test using the executable "LockDownBrowser.exe" and the extraction and then installation works without errors.

I need "LockDownBrowserOEMSetup.exe" for my purpose.

If the automated script isn't working, then you can start the Sandbox and manually install the Browser by double-clicking the installer and clicking through the wizard. The important part is that once you've installed the Browser, do not run it by double-clicking its icon. Instead, run it from the command-line as instructed on the main page.

@amv01
Copy link

amv01 commented Mar 18, 2024

hi @antonionappo,
don't you have this problem?
Screenshot 2023-11-29 111145
I modified the script, but on sandbox I don't see a solution to this problem, I also tried to do some tests in vmware workstation

@giandinic Hi, the solution work in my sandbox. you have executed all step correctly ?

Hello,
Can you please tell how you solve it???
Thanks

@antonionappo
Copy link

hi @antonionappo,
don't you have this problem?
Screenshot 2023-11-29 111145
I modified the script, but on sandbox I don't see a solution to this problem, I also tried to do some tests in vmware workstation

@giandinic Hi, the solution work in my sandbox. you have executed all step correctly ?

Hello, Can you please tell how you solve it??? Thanks

What is your problem ?

@Martin0131
Copy link

Hello, can you help me? What should I do, from the first step to the last step, knowing that I have LockDownBrowserOEM.exe?

@amv01
Copy link

amv01 commented Mar 28, 2024

hi @antonionappo,
don't you have this problem?
Screenshot 2023-11-29 111145
I modified the script, but on sandbox I don't see a solution to this problem, I also tried to do some tests in vmware workstation

@giandinic Hi, the solution work in my sandbox. you have executed all step correctly ?

Hello, Can you please tell how you solve it??? Thanks

What is your problem ?

I still have this error:

errore ldb

How can I solve it?

@gucci-on-fleek
Copy link
Owner

@Martin0131

Hello, can you help me? What should I do, from the first step to the last step, knowing that I have LockDownBrowserOEM.exe?

See #63.

@amv01

I still have this error:

[image]

How can I solve it?

From the main instructions:

You get a “Terminal Services” error message

If the Lockdown Browser fails to launch, do not double-click the file on the VM's desktop. Instead, open a PowerShell prompt inside the VM and run:

cd C:\Users\WDAGUtilityAccount\Desktop\runtime_directory\
.\withdll.exe /d:GetSystemMetrics-Hook.dll "C:\Program Files (x86)\Respondus\LockDown Browser\LockDownBrowser.exe"

Of course, this is usually symptomatic of another issue, so please make sure that you have followed all the earlier instructions.

But I'd check #65 and #53 (comment) before trying this since many people have been having issues lately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants