Open madpancamo opened 1 year ago
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
to
$lockdown_runtime = "C:\Program Files (x86)\Respondus\LockDown Browser Lab OEM\LockDownBrowserLabOEM.exe"
although I haven't tested this.
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"
@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.
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?
hi @antonionappo,
don't you have this problem?
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
@madpancamo did you solve the problem?
hi @antonionappo,
don't you have this problem?
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 ?
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)
I did the manual exe extraction and I have this:
when I then go to run the script it generates this log:
Can you show me the content of the runtime_directory? can you show me the content of 'sandbox_run.ps1' file ?
in the temp folder are the Extraction files. I have an idea that the extraction .exe is wrong
the error is in line 28?!?!
can't extract the file
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
@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 LockdownI 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.
hi @antonionappo, don't you have this problem? 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
hi @antonionappo, don't you have this problem? 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 ?
Hello, can you help me? What should I do, from the first step to the last step, knowing that I have LockDownBrowserOEM.exe?
hi @antonionappo, don't you have this problem? 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:
How can I solve it?
@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?
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 https://github.com/gucci-on-fleek/lockdown-browser/discussions/53#discussioncomment-8909229 before trying this since many people have been having issues lately.
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:
and when I try to launch it through the link I got from the university, I get this error: