RESOLVED: Touchdesigner won't run, Error when reinstalling, Key Retrieval Error

Hello.

After the last windows update, I cannot run Touchdesigner anymore.
Has anyone had similar issue, and does anyone know how to fix it?

I began when starting Touchdesigner, with this error:
Capture2

I tried all fixes, that this link suggested, but with no luck:
https://docs.derivative.ca/Install_TouchDesigner#Problems_during_Installation_on_Windows_OS

I uninstalled all versions of Touchdesigner that I had.
I tried to installing again, but I get this error:
Capture

I tried uninstalling again using revouninstaller, to cleanup all leftover files, and tried to install again, but with no luck. Installer gives warning:
Capture

Then proceeds to install TD, after the installation is complete I get Error:
Capture2

Are there any additional steps that I can try?
Thank you.

I managed to get it working.

Using this guide:
https://www.blesk.ca/rebuild-the-wmi-repository/

This part to be exact:

To perform a rebuild of the WMI repository, please do the following:

  1. Disable and stop the winmgmt service
    !!! (CAUTION) On number two - don’t remove the wbem folder, make a copy of the folder and rename it. I used “wbembu”.
  2. Remove or rename C:\Windows\System32\wbem\repository
  3. Enable and start the winmgmt service
  4. Open Command Prompt as Administrator
  5. Run the following commands:

cd C:\Windows\System32\wbem\ for /f %s in (‘dir /b *.mof’) do mofcomp %s
NOTE: This will take a minute or so to complete.
for /f %s in (‘dir /b en-us*.mfl’) do mofcomp en-us%s

Open Performance Monitor to verify that all counters can be loaded.

After that I could finally launch TD.

1 Like

Please let us know if any unusual behavior arises.
Thanks for sharing.

This also worked for me on a Win10 Enterprise Dell E6540 laptop - but to clarify:

the instructions you referenced say to rename C:\Windows\System32\wbem\repository\ and not C:\Windows\System32\wbem\

I renamed \repository\ and it worked. Thanks for your post! I lost a box 16 hours before an exhibit was to open, due to this error - which for me was caused by the accidental Win10 update(s) KB5004331 or 5011543 or ServicingStack 10.0.19041.1704 (they all updated together and won’t uninstall).

Just a report that I ran into this after updating to Windows 10 22H2 as well.

I followed the directions above minus the last command

This part to be exact:

To perform a rebuild of the WMI repository, please do the following:

  1. Disable and stop the winmgmt service
    !!! (CAUTION) On number two - don’t remove the wbem folder, make a copy of the folder and rename it. I used “wbembu”.
  2. Remove or rename C:\Windows\System32\wbem\repository
  3. Enable and start the winmgmt service
  4. Open Command Prompt as Administrator
  5. Run the following commands:

cd C:\Windows\System32\wbem\ for /f %s in ('dir /b *.mof') do mofcomp %s

And this solved it for me. Note that the quotes in (‘dir /b *.mof’) were converted to smart quotes somewhere along the way and I had to replace them with proper single quotes for the command to work.

Hope this can help others.

2 Likes