How can you correctly disable "gamed" in OS X Sierra?

How can you correctly and permanently disable "gamed" in OS X Sierra?

MacBook Pro (15-inch, Late 2016), iOS 10.2

Posted on Apr 30, 2017 8:36 AM

Reply
20 replies

May 4, 2017 10:45 AM in response to JBob2

JBob2 wrote:


Is this safe to do?

Completely safe. "launchctl unload <path to file>" is standard procedure for disabling a LaunchAgent. This means that it will not run at startup. Probably should do a restart after running this command. If needed, can always be reversed by substituting "load" for "unload" in the above command.


Actually, small change to the command. Try it this way instead:


launchctl unload -w /System/Library/LaunchAgents/com.apple.gamed.plist

I don't run Sierra, so small possibility the command simply won't work there, or if that LaunchAgent (.plist) is not at that path in Sierra, you'll just get "no such file."

Was one of the first things I did when I moved to 10.11.6. Haven't been bothered by it since. No reason to think it won't work in Sierra.

May 4, 2017 5:43 AM in response to JBob2

System preferences > internet accounts > select the " gamed " and click on minus sign .

A window appears , click on ok .

User uploaded file

And read this article : macOS Sierra: Play games on your Mac

End a session you’re hosting: You can end a session at any time; when you do, the game data is deleted from your iCloud storage. If a session is inactive for six months, it’s automatically ended and the game data is deleted.

May 4, 2017 3:19 PM in response to JBob2

OK, no problem. You need to temporarily disable System Integrity Protection (SIP), run the command, then re-enable it. Completely safe.


Easier if I just give you a short article (from 2015, but still current.)


Go to http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac- os-x/


Scroll down to


"Turning Off Rootless System Integrity Protection in Mac OS X"


Then to re-enable


Scroll down to


"How to Re-Enable Rootless System Integrity Protection in Mac OS X"

May 5, 2017 7:22 AM in response to JBob2

JBob2 wrote:


This worked great! Just one question. Your Terminal command has a '-w' in it and the earlier post about this doesn't. Any idea what the difference is?


Glad you asked that question; forced me to do some research on this.


As best I can tell, and I'm far from being a Unix expert, the -w flag probably wasn't needed here. But just in case the Disabled key had been set in that gamed LaunchAgent, which it is not in my El Cap, the -w flag would override it. Looking through that gamed.plist on my OS (10.11.6), there is no instance of Disabled showing, and most likely it's not set in your Sierra installation, as well. As a hypothetical, if there had been a Disabled key set to true in that .plist (false is the default), and you wanted to load that LaunchAgent, the -w flag would have made the load command work (i.e., the gamed LaunchAgent would run at startup), where otherwise it wouldn't.


From what I'm seeing, it seems that launchctl unload or load (there are replacements), including the -w flag, are now considered "legacy" commands. But still working for me, so no reason not use them.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can you correctly disable "gamed" in OS X Sierra?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.