RevitWorker.exe error

RevitWorker.exe error

A new issue has recently arisen whilst opening any instance of Revit on your machine. You may encounter this after a Revit crashes or a windows update. Depending on the version you use, you’ll see an error message as below.

Revit 2024 and later:

Revit 2023 and earlier:

RevitWorker Issue

To resolve the issue, first try and run Revit as an administrator. If the RevitWorker process is run as an administrator while the Revit process is not, Revit will not be able to communicate with the RevitWorker. If you’ve confirmed RevitWorker is running as admin, please follow the below steps:

  1. Go to the Revit installation directory (it would be by default C:\Program Files\Autodesk\Revit ####).
  2. Right-click the RevitWorker.exe file and select “Properties”.
  3. Select the “Compatibility” tab.
  4. Clear both the “Compatibility mode” and “Run this program as an administrator”.
  5. Select Apply and then OK.
  6. Start Revit normally (without using “Run as Administrator”).

Windows Issue

I’ve noticed the main cause for this error is Windows. You can check easily whether this is the case by opening System Information, if this shows ‘Can’t Collect Information’ there is an issue with Windows Management Instrumentation service not working correctly.

  1. Open Servicesto stop Windows Management Instrumentation running.
  2. Open notepad or any text editor, copy the below code and save the document as WBEM_Fix.bat in C:\Autodesk.

(This code attempts to repair the WMI repository by stopping relevant services, renaming/re-registering files, compiling MOF files and restarting the services.)

@echo on

cd /d c:\temp

if not exist %windir%\system32\wbem goto TryInstall

cd /d %windir%\system32\wbem

net stop winmgmt

winmgmt /kill

if exist Rep_bak rd Rep_bak /s /q

rename Repository Rep_bak

for %%i in (*.dll) do RegSvr32 -s %%i

for %%i in (*.exe) do call :FixSrv %%i

for %%i in (*.mof,*.mfl) do Mofcomp %%i

net start winmgmt

goto End

:FixSrv

if /I (%1) == (wbemcntl.exe) goto SkipSrv

if /I (%1) == (wbemtest.exe) goto SkipSrv

if /I (%1) == (mofcomp.exe) goto SkipSrv

%1 /Regserver

:SkipSrv

goto End

:TryInstall

if not exist wmicore.exe goto End

wmicore /s

net start winmgmt

:End

Run this bat script as administrator and wait for the command prompt to close itself. Once completed, try opening Revit again.