10

I keep seeing CIJScannerRegister running. I'd like it to never run. Every time it appears I use launchctl to remove its listing and that kills the app. But it reappears later. I know where CIJScannerRegister lives and could delete it, but I would rather get whatever is starting it to not start it. I've looked through /System/Library/Launch{Agents,Daemons} and cannot find any matching entry in there. How can I find the process that is launching it and tell it to stop?

3 Answers3

6

CIJScannerRegister is of no use if you don't have an old Canon Inkjet, but Mavericks really wants to have it running all the time.

It's in /Library/Image Capture/Support/LegacyDeviceDiscoveryHelpers, but if you remove it it will appear again in the form of a "Canon Inkjet Printer Software Update" in the App Store.

The only solution I found was to delete the executable inside the app bundle so the OS thinks it's still installed but it can't run.

In Terminal:

killall CIJScannerRegister
cd /Library/Image\ Capture/Support/LegacyDeviceDiscoveryHelpers/CIJScannerRegister.app/Contents/MacOS/
sudo rm CIJScannerRegister
2

You can use the PPID to find out which process started another process :

ps axo stat,ppid,pid,comm

PPID referes to the PID of the process who started it.

Matthieu Riegler
  • 21,486
  • 11
  • 59
  • 97
  • The ppid turned out to be launchd's, but that's what I guessed from it being listed in launchctl. What I want to know is what entry in what database tells launchd it should start this process -- removing it via launchctl doesn't appear to be permanent. – Jack Frost Nov 04 '13 at 19:56
1

Run Activity Monitor (from /Applications/Utilities), click on the CIJScannerRegister process, then press Cmd+I (or use the Inspect button or go to View > Inspect Process). You will see the Parent Process: field show the name and the process id of the process that launched it.

M K
  • 11,047