Execução Batch Script - RevitWorker
Windows issues
Problems with the Windows setup/configuration can
lead to this behavior. Check with your computer/operating system support on the
following topics:
-
System Information "Can't Collect Information":
Go through the following
steps to check if this issue is occurring:
1. Click Windows Start.
2. Type msinfo32.exe.
3. Click System Information (App).
4. Check if System Information
shows "Can't Collect Information" as shown in the following picture.
If this is confirmed, it indicates that the Windows Management Instrumentation service is not working properly. Run the following batch script to restore the Windows Management Instrumentation functionality.
1. Open Notepad (Start ->
Run -> Notepad) or other text editor.
2. Add the following text (copy/paste):
@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
3. Save the document with the name WBEM_Fix.bat in the folder C:\Autodesk (location can be changed but avoid the Desktop or user folders).
4. Right click the BAT file and select Run as
administrator.
5. A Command prompt will appear and will perform
several steps. Let the process run until it closes automatically.
6. Start the Revit again.
Note: If the batch script
doesn't clear the error, work with your computer/operating system support to
resolve this Windows issue.
Fonte: https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Error-RevitWorker-exe-was-not-found-at-launching-Revit-program-crash.html