HDJLabs
Exam software for Windows labs

One exam. One locked-down .exe.

Write the questions in HDJLabs Studio and export a single file. Students run it, enter the password you announce, and the PC stays inside the exam until they submit. Results come back over the classroom network — no internet, no accounts, no server.

Windows 7 SP1 · 8.1 · 10 · 11 (64-bit) · works without a graphics driver · MIT
At a glancev1.1
Lockdown
Private desktop, shortcut hook, gesture & capture block
Questions
Choice, multi-answer, true/false, short (TryHackMe format), code, with files attached. English and Arabic
Code
Python, JavaScript, SQL, HTML/CSS/JS built in · C, C++, Java, Go, Rust
Network
Plug and play on any LAN or hotspot, end-to-end encrypted
Install
Installer for teachers · exams are one portable file
A Python question inside a locked exam: problem and examples on the left, editor with line numbers and syntax highlighting, test results showing 2 of 2 passed.
A Python question inside a locked exam. Run with F5, check the examples with Ctrl+Enter. Click any screenshot for full size.
Lockdown

A browser tab can detect a student leaving. This blocks the exits.

Private desktop

The exam runs on its own Windows desktop. No taskbar, Start menu, notifications or other windows exist there — nothing to switch to.

Shortcuts

Win key, Alt+Tab, Alt+F4, Ctrl+Esc, Ctrl+Shift+Esc and Print Screen are swallowed, and so are keystrokes injected by macro tools.

Ctrl+Alt+Del

Task Manager, lock, sign-out and the power menu are removed for the duration, then restored exactly as they were.

Touchpad & touch

Three- and four-finger gestures and edge swipes are switched off.

Screen capture

Screenshots, recordings and screen shares capture a blank window. The exam refuses to start under Remote Desktop or while TeamViewer, AnyDesk and similar tools run.

Crash-safe

Every setting is backed up first. If the power goes out, the next launch restores the PC, and answers resume from an encrypted autosave — with the restart reported to you.

Clean up afterwards

Remove the exam file from every student PC from your Live screen, or have it delete itself after submission.

Questions

Real code editors, a real database, live web pages.

SQL against your database

You write the tables and rows; students see them beside the question and write queries. SQLite is built in — nothing to install.

An SQL question: the teacher's database on the left, the student's query in the editor, 1 of 1 tests passed.

HTML, CSS and JavaScript, live

Students build a page and watch it render as they type. Navigation, pop-ups, printing and devtools are blocked inside the preview.

A web question: HTML editor above, live preview of the rendered page below.

Short answers, TryHackMe style

Optionally show the answer's shape. Letters become * and symbols like _ { } ! @ # stay visible; each character the student types fills one slot.

A capture-the-flag short answer: typed characters replace the stars one by one, the rest of the pattern stays visible.

Files with any question

Attach images, packet captures, logs or code. Students open them inside the exam, even in lockdown: a Wireshark-style packet list with hex dump, images, text, and a hex view for anything else.

A packet capture opened inside the exam: packet list with protocols and a hex dump of an HTTP response.
LanguageRuns with
PythonBuilt in. Uses the installed CPython if present.
JavaScriptBuilt in. Uses Node.js if present.
SQLBuilt in (SQLite), with your database.
HTML / CSS / JSBuilt-in live preview (Edge WebView2 on Windows 10/11).
C / C++gcc, g++ or clang (MinGW, MSYS2, LLVM)
Java · Go · RustA JDK, go, rustc
Classroom

Plug in, press Start, watch the room.

No IP addresses to type and no setup on student PCs. HDJLabs finds the teacher on the same Wi-Fi, switch or hotspot and asks Windows for firewall permission once.

  1. ExportSet an exam password and a proctor exit password. Questions stay encrypted until you announce it.
  2. ShareStart the live session. Students download the exam from your PC's address in any browser; you see each download's progress.
  3. MonitorSee who has the exam open, who is signed in, progress, time left and blocked-shortcut alerts. Read their code as they write it.
  4. Grade & clean upYour PC re-grades every submission, so a score can't be faked. Grade code and uploads with one click and send the final score to the student's screen; until then they see waiting for your teacher. Export CSV, then remove the exam from every PC.
Live classroom: session status, download progress, roster with progress, time left and alerts, and one student's answers.
Live classroom — roster, alerts and a student's answers as they work.
Results: scores, per-question difficulty and manual point overrides.
Results — per-question difficulty, manual overrides, CSV export.
Teacher guides

Twenty seconds per language on writing a good code question.

In the Studio, How to write a good question walks you through the real editor, one slide per field, with the field circled in red. The animations below show the same ideas.

Animated guide: writing a Python question in HDJLabs Studio, step by step.
  1. Say exactly what to printSpacing and capitalisation included.
  2. Give a starting pointStarter code, and the database for SQL.
  3. Run your own solutionThe expected output fills itself in.
  4. Add a hidden testSo answers can't be hard-coded.
Get started

Install the Studio. Export an exam. Done.

The installer needs no admin rights. Exams you export are single portable files — students just run them. If SmartScreen warns on first run, choose More info → Run anyway, or set up the lab once so it never does: see code signing and SmartScreen. Free code signing provided by SignPath.io, certificate by SignPath Foundation (see the code signing policy). See the classroom guide and the security review.