Unable to Lock Global Memory Block on Rhino 5

Got the same report from a user. I found some posts about this problem, but there was not a clear solution. Here’s how the problem was detected and fixed.

Detection:

  1. Ran Process Monitor on the computer.
  2. Set up a filter to only display the processes that access the TEMP folder.
  3. Copied an object in Rhino to make the error happen.

Observation:
Every time the error happened in Rhino, the SAntivirusService also accessed the TEMP folder. (It locked Rhino’s clipboard temp files.)

SAntivirusService is from sAntivirus Protection Lite. It could be installed by some freeware. It may be identified as malware by antivirus applications.

Fix:
When Windows in the normal mode…

  • I was not able to uninstall it because its uninstaller.exe was detected as a virus and was locked (by itself?).
  • I was not able to turn its services off.
  • I was not able to delete its files or registry keys. All locked.

When Windows in the safe mode…
The uninstaller.exe could be run. It could not uninstall the application successfully, but I was able to delete all of its files in C:\Program Files (x86) and its services in Windows Registry under \KEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ and this was the fix.