Uninstall OS X Server completely in Yosemite

I recently run the OS X Server app on Yosemite. Now each time I shutdown or restart my mac, it asking for administrator password. I don't want to run my MacBook Pro as a server. I Run this app just to test something, now I want to reset to previous state. Now I feel that there are some daemon process running because of the server app, that slows down my laptop. Even taking long time to shutdown with spinning wheel. How to Uninstall or reset all the changes made by OS X Server app on Yosemite?

MacBook Pro (Retina, 15-inch, Mid 2014), OS X Yosemite (10.10.2)

Posted on Apr 5, 2015 12:14 PM

Reply
4 replies

Apr 5, 2015 12:37 PM in response to ShineethHamza!

voteaccepted

You can reset just the Websites service in OS X Server with the following command:

sudo serveradmin command web:command=restoreFactorySettings

Make sure the Websites and Wiki services are off when you run this command.

Uninstalling OS X Server will, by default, retain all configuration files so that reinstallation keeps all data, however you can delete the Server folder to reset all the data.

1) If you provided DNS/DHCP, make sure all your devices are changed to point to the new DHCP server and/or DNS server. If you used OD, turn off OD on all client devices.
2) Shut down all server services on the Mac
3) Delete the server app
4) Delete the folder /Library/Server
5) Reboot and test that everything is functioning correctly.

_

Apr 5, 2015 9:02 PM in response to ShineethHamza!

Move the Server application to the Trash. Delete the following items (some may not exist), then reboot:

/.ServerBackups
/var/db/.ServerSetupDone
/Library/Preferences/com.apple.serverd.plist
/Library/Preferences/com.apple.servermgr_accounts.plist
/Library/Preferences/com.apple.servermgr_certs.plist
/Library/Preferences/com.apple.servermgr_info.plist
/Library/Preferences/com.apple.servermgrd.plist
/Library/PrivilegedHelperTools/com.apple.serverd
/Library/Server

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.

Uninstall OS X Server completely in Yosemite

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