# CTKResEdit unable to start

**URL:** <https://discourse.slicer.org/t/ctkresedit-unable-to-start/45772>\
**Category:** Support\
**Created:** [January 13, 2026, 4:39pm UTC](https://discourse.slicer.org/t/ctkresedit-unable-to-start/45772 "2026-01-13T16:39:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rphellan2210](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rphellan2210/32/79570_2.png) [@rphellan2210](https://discourse.slicer.org/u/rphellan2210)\
**Post date:** [January 13, 2026, 4:39pm UTC](https://discourse.slicer.org/t/ctkresedit-unable-to-start/45772/1 "2026-01-13T16:39:14Z")

</div>

Hello, I am trying to build Slicer and the process requires running CTKResEdit.exe to update some icons, but CTKResEdit fails and it leads to the error below.

C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for ‘C:\s\sR\Slicer-build\CMakeFiles\6ea644fa26f044f96bce4abbb021dfc4\[edited].rule’ exited with code -1073741502. [C:\s\sR\Slicer-build\Applications\[edited]\UpdateLauncherIcon.vcxproj

I downloaded CTKResEdit.exe from [GitHub - jcfr/ResEdit: Convenient tool allow to update resource within an already compiled windows executable](https://github.com/jcfr/ResEdit) and whenever I try to run it, it displays the error “The application was unable to start correctly (0xc0000142)“. My OS is Windows 11 home.

I also tried running CTKResEdit in another computer with Windows 11 and it run correctly.

Do you have any suggestion on how to solve this problem?

---

<div class="post-metadata">

**Author:** ![rphellan2210](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rphellan2210/32/79570_2.png) [@rphellan2210](https://discourse.slicer.org/u/rphellan2210)\
**Post date:** [January 14, 2026, 12:56am UTC](https://discourse.slicer.org/t/ctkresedit-unable-to-start/45772/2 "2026-01-14T00:56:42Z")

</div>

Just for future reference, I found the solution. This was a problem with the hard drive of my PC. I just run the chkdsk /f /r command to fix it and restarted the computer and now CTKResEdit works normally.
