What is ksfetch and how do you stop it?

I like to keep an eye on what is happening on my Mac and a utility that I have used for a long time is MenuMeters. This is a menu bar utility that shows processor usage, disk usage, upload and download speed, and free and used memory. This utility makes it easy to spot problems that might otherwise be missed and it highlighted an issue with ksfetch. So what is it and how do you stop it?

When starting the Mac I noticed that something downloads a lot of data and it can be seen in the download speed in the MenuMeters display in the menu bar. Downloads run at maximum speed for a minute on boot up.

Without MenuMeters or a similar utility, this behaviour would go unnoticed, which is why it is so useful. When your Mac is slow for some reason, MenuMeters can tell you why - high processor, disk, internet or memory usage.

Opening Activity Monitor in the Applications/Utilities folder lets you look at what is happening underneath the pretty OS X interface. MenuMeters showed the internet bandwidth being used was very high, but it didn’t show what was using it.

Selecting the Network tab in Activity Monitor shows all the apps and services that are running in the background and clicking the Rcvd Bytes heading sorts them into order with the highest at the top (click again if the lowest is at the top).

ksfetch in OS X on the Apple Mac

Here you can see that ksfetch is responsible for downloading 35.9 MB. This screen shot was taken about a minute after starting up and ksfetch them disappears from Activity Monitor because it quits and only running apps and services are displayed.

After some research it was discovered that ksfetch is Google’s software updater. It runs automatically and checks for updates, then downloads them and installs them if there are any available. If you have or have had Google Chrome or Google Drive or something else from Google on your Mac then you will have ksfetch, but you won’t see it unless you run Activity Monitor at the right time, just as it is running.

There are several potential problems with ksfetch and one is that it can cause issues with third party firewalls. Some people complain that it triggers and alert several times an hour.

Another problem is that if you are on a slow internet connection, your Mac could be slow for five minutes after starting up, or whenever ksfetch runs.

An issue that I have is the bandwidth used. When I am out with my MacBook I always use a free Wi-Fi hotspot to get on the internet. Occasionally, they don’t work (sometimes they just need to reboot the router, so it’s worth asking someone if they can do this). When the Wi-Fi doesn’t work I turn my phone into a Wi-Fi hotspot and connect to it. The phone then accesses the internet through 3G.

Data usage is limited on a mobile phone though and typically you get 0.5 or 1GB a month, which isn’t much, especially if the Mac is downloading 35+ MB before you have even started to do any work.

Stop ksfetch

It is possible to stop ksfetch from running, but you need to enter some commands from the Terminal. Go to Applications/Utilities and run Terminal. At the command prompt, enter the following to uninstall ksfetch for the current user:

~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/
Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall

(Enter all on one line.) To remove ksfetch for all users, enter:

sudo

/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/
Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall

That is a big command (all on one line again), so don’t type it in. Click and drag over it with the mouse and press Command+C to copy it. Click in the Terminal window and press Command+V to paste it.

The downside of removing ksfetch is that Google software like Chrome, will not automatically update. You will need to manually check for updates, download them and install them. It’s not exactly hard though, is it?

Tags: 
Share

Comments

26

Would love to use your method, unfortunately I am getting the following error: -bash: /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/ Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py: No such file or directory any advice? Thanks!

<p>One thing you could try is reinstalling Chrome. That command should work according to Google. Maybe it is partially uninstalled or partially installed.</p>

Copy the first line: -bash: /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/ and paste it in. Then copy the second one: Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py and paste it in, THEN press enter

For me I had to cd to that directory and I saw that it's now called ksinstall (there is no install.py). I ran the following: ./ksinstall --uninstall and now I'm not seeing the popups in little snitch. I'll just update Chrome often enough.

/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/ksinstall --uninstall

Files have moved since I originally wrote the article.

MacOS High Sierra Aug 2018: ~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftwareUpdateAgent --uninstall

sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/ Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/ksinstall --uninstall

In Mavericks there is no such folder on the library folder and i have the Google earth and Sketchup installed in my computer. So what to do to get this peace of software not to work as it wants to.

install.py has been changed to ksinstall, so the following solution works for OS X 10.10.1 and Chrome 39.0.2171.95, I have not tried other versions: ~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources /GoogleSoftwareUpdateAgent.app/Contents/Resources/ksinstall --uninstall More: It seems to still run ksfetch when I launch Chrome and choose Chrome/Preferences…/About. I tried another solution at the following link which did not work, because Google would overwrite the ~/Library/Google/GoogleSoftwareUpdate directory with a new one each time: https://discussions.apple.com/message/18787507#18787507 Google’s documentation is out of date at: https://support.google.com/installer/answer/100386?hl=en

Same here, we are running OS X 10.10.1 and we are using Profile Manager to limit the apps. I gave permission for Google Chrome, but I keep getting the ksfetch, ksadmin, ksinstall messages when I try to run Chrome.

This is the new command to uninstall kfetch and related: /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/ksinstall --uninstall No "sudo" necessary.

"ksfetch is Google’s software updater." see: http://www.rawinfopages.com/mac/content/what-ksfetch-and-how-do-you-stop-it I don't have a problem with this, so I (as an Administrator) allow "ksfetch" to always run under my "kids" very restricted login privileges. Remember, the application states: You don't have permission to use the application "ksfetch." For more information, contact the person who set up your account. [Always Allow...] [Allow Once...] [OK] So, if you click [OK], then the "ksfetch" application/request (above) will repeat waaaaay too often! ANSWER: The easy road is to simply select [Always Allow...] ... and then type in your user name and Administrator password!

"ksfetch is Google’s software updater." I don't have a problem with this, so I (as an Administrator) [Always Allow...] "ksfetch" to run under my "kids" very restricted login privileges. Remember, the "ksfetch" application states (for those below "Administrator" level): You don't have permission to use the application "ksfetch." For more information, contact the person who set up your account. [Always Allow...] [Allow Once...] [OK] If you click [OK], or [Allow Once], then the "ksfetch" message (above) repeats within 15-minutes! ANSWER: The easy road is for an Administrator to select [Always Allow...] ... and then enter their user name and Administrator password! The "ksfetch" message no longer repeats for the user, and the Google software updates with the newest features/protection.

Hi tried all of the above and it comes back with"no such file or directory found...." for the last 2 days it is using 80-90% of my cpu... ???? fans are going constantly??

I think files, locations and other things have changed since the article was written. There are some comments with slightly different commands and these may work. Check the comments above. I would remove all Google software using AppCleaner to find and delete all files. Reboot the Mac and then reinstall Chrome.

I use Little Snitch, an app which monitors all internet access and asks you which apps have permission to exchange network data in the background and which do not. You set the filter the first time an app tries to gain access and then forget about it. So I have now told it to deny ksfetch access. If I want to allow google apps to update in the future I will just turn off the Little Snitch ksfetch filter for a day or two. It sounds like ksfetch is just annoying but Little Snitch also catches more damaging malware trying to communicate with the mothership. It is one of the first apps I install on any new Mac. It costs around £$€ 30 but often pops up in software bundles. Even at full price it saves me stress, bandwidth and in the long run time and money. I have no affiliation to the developers - just a fan.

Any of you that uses a program that monitors CPU usage or tracks any programs that are calling home without your exclusive permission like Little Snitch will find KSfetch will continually pop up whether you block it or give it permission 'always' leading to a constant need to either block or give permission several times per hour. This is because this process keeps reinventing itself somehow so that the allow or block always command is not effective. I have tried using terminal to kill this process without success. I did find one article deeply buried in the internet that provided a simple method that worked at the time. The key was to locate the offending Google update folder or the Ksfetch file in the 'username'/library/preference folder. (not the exact path) select get info for the parent folder and change the permissions to -no read or write. This silenced the app from being able to launch. I did this successfully on my 2009 MacBook Pro. I have a new 2016 MacBP and have yet to make this change to see if it works again. I'm hoping it does and I hope it works for you.

MBP late 2011, SSD, OS 10.12.6 I tried this solution: library/google/GoogleSoftwareUpdate (both: on the SSD and in the user folder). In the information window I switched "everyone: read" to "everyone: no rights". The annoying Little Snitch window stopped harassing me, but the MBP becomes hot. After a few minutes the fans go to max. So this way does not work for me. Then I did the Terminal thing: defaults write com.google.Keystone.Agent checkInterval 604800 A week has 604800 seconds. So ksfetch checkes only once a week.

Just a quick note, the command you reference is split in half with what amounts to a newline – making it impossible to copy and paste. /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall

sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/ksinstall --uninstall

thanx from the bottom of my heart u saved my data a lot because of this my data consumption was 500-700mb daily

It is readily apparent that you, 'Raw Mac', are a former - longtime PC ('windoze') user. It's obvious, because in that world, YES, micromanaging EVERY little thing IS SOMETHING which really DOES need to be done. HOWEVER; In the Mac world, there's almost NO REASON WHATSOEVER to do the things one would do on a PC. Though I believe your intentions are good, it's more apropos to say it's like the blind leading the blind. You are NOT someone who has had long-term experience in/with Macs (I have - since Mac 'Classics', when we used System 7 as our operating software). First; sitting there ..staring at your computer (and what it's DOING?!?!) rather than JUST USING IT is UTTERLY idiotic. There's N-O - ZERO reasons to use this menu meter, or whatever...to - as you ridiculously say, 'spot problems that may otherwise be missed'. Say WTF?!?!? First, if ANY application gets 'stuck', and can't be quit - either through its menu, nor through the 'Command>Quit' key combination, ALL you have to do is go to the Apple menu, and you click on 'FORCE QUIT'. This will bring up a box - listing ALL CURRENTLY RUNNING APPLICATIONS. Then you quit from there. But, wait! There's MORE! There's an application ALREADY INSTALLED on YOUR (and everyone else's) computer, called 'Activity Monitor'. From this (BTW: did I say, it's F-R-E-E?!?! ) simple application, not only can you stare at EVERY little single process - not just the 'big ones', but, you know, Raw Mac', the small, little ones - which being a former PC user, you just 'ASSUME' MUST be up to nefarious things. WRONG!!! BTW: almost EVERY single person who's owned Macs and is TRULY familiar with them will say the SAME THING: there's almost NO REASON TO FRAK with it. A Mac DOES NOT RUN LIKE A PC !!!! They are almost TOTALY 'self-sufficient'. Rather than futzing with things you OBVIOUSLY HAVE NO CLUE ABOUT, let me make 2 suggestions; the first is for YOU, Raw Mac; READ ABOUT THEM. There's MANY very good books, which are hands-on - they encourage you, the reader, to not read it like a regular book, but, to USE your Mac ('use', as in writing letters, playing games, etc'), and read a chapter, or so, and it'll explain exactly why/hopw things are as they are, and how they work. The next bit of advice is to ALL of thise who come here for...(sigh) 'advice'. Go to Apple. They've MANY FREE classes. They WANT you to come and LEARN. If 'Raw M acwewre to go in to a store, and spout this stuff, the people who wpork there, would quietly laugh. I'm not intentionally trying to be mean, but, when you see someone causing MORE HARM (NOT intentionally, but that's akin to getting brain surgery lessons from someone who played a video game, and has NO medical background) than good.

I have been a Mac user for 12 years and started with OS X Leopard in 2006. Macs are great, but they are not perfect and the old saying "They just work" is a myth because sometimes they don't. Some people never have problems with Macs, but some do and they need help to solve problems. Check out Apple's discussion forums and you'll see plenty of people having problems.

One last thing; for crisake's - this page is Unsecure!!! Haven't you ever heard of HTTPS?!?!? It's ONLY been THE FOREMOST assurance of having a SECURE website for....perhaps a DECADE?!?!? Instead of FUTZING with a Mac, how about you actually DO - SIMPLE, RELEVANT things!?!?!?

This website is not secure, but it does not allow people to log in, buy anything or provide any information. It just has has text and images, so security is not essential. This site can't be made secure, so a new version is being developed at https://rawinfopages.co.uk

Affiliate link

Recommended Mac software: CleanMyMac X
Use this multifunction tool to clean junk from the Mac, optimize it, run maintenance scripts, uninstall apps and left-overs and more. Use the realtime protection and a malware scanner to block malware. Click for more info