Troubleshooting Hashwarp on Windows
Step-by-step guide to fix missing OpenCL issues when running Hashwarp on Windows.If you’re trying to run Hashwarp on Windows and see errors like:
nvopencl.dll or amdocl.dll) required for GPU mining. This guide explains both the automatic and manual ways to fix the issue.
Quick Fix — Automatic Script (Recommended)
Hashwarp includes an automated OpenCL registry repair script that fixes the issue for you.Script: fix-opencl-icd.vbs
This VBScript automatically:
- Detects your Windows architecture (32-bit or 64-bit)
- Scans for AMD and NVIDIA OpenCL ICD libraries
- Backs up existing registry keys
- Registers missing OpenCL vendor entries for:
- NVIDIA (
nvopencl.dll,nvopencl64.dll,nvopencl32.dll) - AMD (
amdocl*.dll)
- NVIDIA (
- Confirms success and recommends rebooting
How to Use
-
Locate
fix-opencl-icd.vbsinside your Hashwarp release package. - Right-click it and choose Run (it will self-elevate if needed).
-
Follow the on-screen prompts:
-
Choose
[N] NVIDIA,[A] AMD, or[B] Both. -
If the script cannot find your OpenCL DLLs, paste the full paths when asked.
Example path:
-
Choose
- When it confirms successful registration, reboot your PC.
- After reboot, run Hashwarp again — your GPU should now be detected.
Example registry entries created by the script
Manual Fix (Advanced)
Step 1 — Locate the OpenCL DLLs
Run PowerShell as Administrator, then execute:Step 2 — Check if Registry Keys Are Missing
Still in PowerShell, run:Step 3 — Manually Register the NVIDIA OpenCL ICD
Copy and run the following commands in Administrator PowerShell, replacing the paths with your actual ones from Step 1:Step 4 — Verify After Reboot
After restarting, run the following checks:Step 5 — Optional: Reinstall the Full Game Ready Driver
If the manual fix doesn’t persist after a driver update, or fails to register, reinstall the Standard Game Ready Driver:- Go to NVIDIA Driver Downloads
- Choose Custom (Advanced) → Perform a clean installation
Alternative Option — Install CUDA Toolkit Instead
If you don’t want to reinstall your NVIDIA drivers, you can instead install the NVIDIA CUDA Toolkit. The CUDA Toolkit package includes the required nvopencl.dll and registers the OpenCL runtime automatically during setup.If after installing CUDA Toolkit the OpenCL runtime is still not registered, re-do steps 1, 3 and 4.This method is often quicker and safer if your GPU drivers are already up to date and working fine for gaming or other workloads.

