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:
I tried all fixes, that this link suggested, but with no luck:
I uninstalled all versions of Touchdesigner that I had.
I tried to installing again, but I get this error:
I tried uninstalling again using revouninstaller, to cleanup all leftover files, and tried to install again, but with no luck. Installer gives warning:
Then proceeds to install TD, after the installation is complete I get Error:
Are there any additional steps that I can try?
Thank you.
To perform a rebuild of the WMI repository, please do the following:
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ā.
Remove or rename C:\Windows\System32\wbem\repository
Enable and start the winmgmt service
Open Command Prompt as Administrator
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.
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:
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ā.
Remove or rename C:\Windows\System32\wbem\repository
Enable and start the winmgmt service
Open Command Prompt as Administrator
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.
I have just had this problem after hard restarting a Win 10 computer. Donāt think any updates have been installed.
Iāve tried the following steps before attempting to rebuild the repository:
winmgmt /verifyrepository (it was consistent)
winmgmt /salvagerepository (it was also reported as consistent)
winmgmt /resetrepository (itās been reported as reset)
These steps did not help.
I rebuilt the repository with steps indicated in the solution by Ben. Those are my notes:
I couldnāt just stop the winmgmt service I first had to pause it. I then also disabled it through Services app.
I copied wbem folder to another location to have a backup
I renamed the repository folder (note it will not let you rename the folder if winmngmt service is running)
I only ran cd C:\Windows\System32\wbem\ for /f %s in ('dir /b *.mof') do mofcomp %s command as proposed in Benās solution
After that TD was starting again. Thank you all for this topic.
I too just ran into this problem. For some reason step 5 was throwing an error for me (āThe system cannot find the path specified.ā), but I just broke it up into two lines and it worked:
Is anyone still having this error? Iāve tried a bunch of variations of the solutions in this thread and am still not making any progress. The big clue I have is whenever I run mofcomp I get this error
C:\Windows\System32\wbem>mofcomp wsp_sr.mof
Microsoft (R) MOF Compiler Version 10.0.19041.3758
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: wsp_sr.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while opening the namespace for object 1 defined on lines 5 - 13:
Error Number: 0x80040154, Facility: Interface
Description: Class not registered
Compiler returned error 0x80040154
This is happening on all the files in the directory so the repository isnāt getting properly made. Iām kind of at a loss.
I too was having troubles with this. I found out the issue was I was putting the commands into regular Command Prompt where I really needed to make sure I was right-clicked on Command Prompt and Run as Administrator.
I really donāt know what is going on here on my win10.I have tried the methods mentioned by the people up of the page but it stills not work.How can i fix it.