Windows installer fails due to debug runtime dependency (vcruntime140d.dll and ucrtbased.dll)

7 views
Skip to first unread message

Christina Krieg

unread,
Jul 22, 2026, 1:59:18 PM (yesterday) Jul 22
to htcondo...@cs.wisc.edu
Hi HTCondor team,

I wanted to report a bug in the HTCondor Windows installer that prevents installation on machines without Visual Studio.

Problem: The installer fails during the MakeAdminToken custom action with error code 1722 / 0xC0000135 (STATUS_DLL_NOT_FOUND).
Running win_install_helper.exe manually reveals the root cause:

vcruntime140d.dll and ucrtbased.dll are missing

Both dlls are debug versions of the Visual C++ runtime. It is not included in the standard Visual C++ Redistributable and is only available on machines with Visual Studio installed.
A release build should link against vcruntime140.dll and ucrtbase.dll instead.

Impact: Any Windows machine without Visual Studio installed will fail to install HTCondor.
Installing the Visual C++ Redistributable does not resolve the issue because it only ships the release runtime.

Workaround: Copying vcruntime140d.dll and ucrtbased.dll from a machine with Visual Studio allows the HTCondor installation to proceed.

Steps to reproduce:

1.) Download the HTCondor Windows MSI installer
2.) Attempt to install on a machine without Visual Studio
3.) Installation fails with error 1722 during MakeAdminToken
4.) Run C:\condor\bin\win_install_helper.exe manually — Windows reports vcruntime140d.dll and ucrtbased.dll are missing

Fix: Recompile win_install_helper.exe in Release mode so it links against vcruntime140.dll and ucrtbase.dll.

Please let me know if you need any additional information such as the full installer log.

Best regards,

Christina Krieg

unread,
Jul 22, 2026, 2:04:59 PM (yesterday) Jul 22
to HTCondor Users, Christina Krieg, htcondo...@cs.wisc.edu
Sorry, I forgot to mention the HTCondor version. Its 2025.x 

Tim Theisen

unread,
12:14 AM (16 hours ago) 12:14 AM
to Christina Krieg, HTCondor Users, htcondo...@cs.wisc.edu

Hello Christina,

The issue installing HTCondor on Windows is resolved with the HTCondor 25.12.2 release.

...Tim

--
Archives for older messages are found at https://www-auth.cs.wisc.edu/lists/htcondor-users/
---
You received this message because you are subscribed to the Google Groups "HTCondor Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to htcondor-user...@g-groups.wisc.edu.
To view this discussion visit https://groups.google.com/a/g-groups.wisc.edu/d/msgid/htcondor-users/ce8e63b5-f4be-43ee-8e87-b18929226129n%40g-groups.wisc.edu.
-- 
Tim Theisen (he, him, his)
Release Manager
Center for High Throughput Computing
University of Wisconsin - Madison
3695 Morgridge Hall
1205 University Ave
Madison, WI 53706
Reply all
Reply to author
Forward
0 new messages