Skip to content

Instantly share code, notes, and snippets.

@ewancook
Last active February 20, 2018 10:40
Show Gist options
  • Save ewancook/5f94b6eb1ce1acbaf0ce1894ab1a2d3e to your computer and use it in GitHub Desktop.
Save ewancook/5f94b6eb1ce1acbaf0ce1894ab1a2d3e to your computer and use it in GitHub Desktop.
Fixes the modelling error (Process Control Toolkit) on recent versions of Windows
@echo off
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit)
move %~dp0msflxgrd.ocx %windir%\SysWOW64\msflxgrd.ocx >nul
%windir%\SysWOW64\regsvr32.exe %windir%\SysWOW64\msflxgrd.ocx
echo Should be fixed! Press any key to exit.
pause >nul
downloaded from ocxdump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment