Skip to content

Instantly share code, notes, and snippets.

@thoaster
Last active April 7, 2024 16:22
Show Gist options
  • Save thoaster/2e7a29e522dc60be8bd673f79c5959b6 to your computer and use it in GitHub Desktop.
Save thoaster/2e7a29e522dc60be8bd673f79c5959b6 to your computer and use it in GitHub Desktop.
MAMP PRO 4 Trial Reset

MAMP PRO 4 Trial Reset

A simple script that resets latest MAMP PRO 4 trial validity, and keeps your data safe.

How to use

  • Copy the code into a file OR download the script and save it as reset_mamp4.sh
  • Open the Terminal app and write chmod +x then drag and drop the file on the Terminal. You should have something like chmod +x reset_mamp4.sh. Press Enter to run it.
  • Now, run the file itself by dragging and dropping it on the Terminal (something like reset_mamp4.sh) then pressing Enter.
  • Open MAMP PRO and check if you have 14 days left now.

Didn't work?

Try using superpowers and run it as root sudo reset_mamp4.sh.

Did it work?

Let me know, or improve it by yourself.

#!/bin/sh
# Reset MAMP PRO 4 Trial
# Let me know if it works
set +e
rm ~/Library/Preferences/de.appsolute.mamppro.plist
rm ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/de.appsolute.mamppro.sfl
rm -rf ~/Library/Caches/de.appsolute.mamppro
rm -rf ~/Library/Saved\ Application\ State/de.appsolute.mamppro.savedState
sudo killall de.appsolute.mampprohelper
sudo killall cfprefsd
@dbjpanda
Copy link

dbjpanda commented Apr 3, 2018

Working for 4.4 but only for 14 days.

@gabriele-carbonai
Copy link

not working for me in 4.4.1

@haim
Copy link

haim commented May 10, 2018

any update how to get work MAMP PRO 4 Trial Reset ?

@glebovdev
Copy link

Any updates here?

@Soufien
Copy link

Soufien commented Jun 13, 2018

What i do and it's working for 4.4.1 :
Uninstall mamppro
Type this command : sudo find / | grep mamppro
Then sudo rm -rf all folders appeared on the result of the last command
Finally reinstall mamppro.
It should work

@ssx
Copy link

ssx commented Jul 4, 2018

Change line 5 to:

rm ~/Library/Preferences/de.living-e_to_appsolute.mampro.plist

and it'll work. Also, if you're using MAMP regularly, buy a license.

@dev2018-1
Copy link

dev2018-1 commented Dec 30, 2018

any idea? mamp pro 5.2 (Mac OS)

@User235478234
Copy link

User235478234 commented Jul 15, 2019

trial reset 5.x

1) Remove Trial Data from files:

rm -rf ~/Library/Preferences/$'.\xe2\x80\xa6\x45\xcc\x80\x7c\x56\x49\xcc\x80\x67\x53\xc2\xa0'
defaults write ~/Library/Preferences/de.appsolute.mamppro.plist regData -data 00

2) Remove other Folders and Files (not required)...

rm -rf ~/Library/Application\ Support/de.appsolute.mamppro
rm -rf ~/Library/Caches/de.appsolute.mamppro

3) Restart Services...

sudo killall de.appsolute.mampprohelper
sudo killall cfprefsd

@thoaster
Copy link
Author

@User235478234, wondering how'd you get that magic string... 🤔 Nice one tho! 💯

@fouedmoussi
Copy link

Any updates for v 5.x?

@mendaparadarshit
Copy link

trial reset 5.x

1) Remove Trial Data from files:

rm -rf ~/Library/Preferences/$'.\xe2\x80\xa6\x45\xcc\x80\x7c\x56\x49\xcc\x80\x67\x53\xc2\xa0'
defaults write ~/Library/Preferences/de.appsolute.mamppro.plist regData -data 00

2) Remove other Folders and Files (not required)...

rm -rf ~/Library/Application\ Support/de.appsolute.mamppro
rm -rf ~/Library/Caches/de.appsolute.mamppro

3) Restart Services...

sudo killall de.appsolute.mampprohelper
sudo killall cfprefsd

Thanks, Its worked for me v5.3

@ecr007
Copy link

ecr007 commented May 13, 2020

sudo launchctl remove de.appsolute.mampprohelper

@poconoguy17
Copy link

Anyone have an update for 6.1 ?

@learn2reid
Copy link

+1

@learn2reid
Copy link

trial reset 5.x

1) Remove Trial Data from files:

rm -rf ~/Library/Preferences/$'.\xe2\x80\xa6\x45\xcc\x80\x7c\x56\x49\xcc\x80\x67\x53\xc2\xa0'
defaults write ~/Library/Preferences/de.appsolute.mamppro.plist regData -data 00

2) Remove other Folders and Files (not required)...

rm -rf ~/Library/Application\ Support/de.appsolute.mamppro
rm -rf ~/Library/Caches/de.appsolute.mamppro

3) Restart Services...

sudo killall de.appsolute.mampprohelper
sudo killall cfprefsd

Thanks, Its worked for me v5.3

Thanks, it works for me v6.3

Exactly like this?

@evchibo
Copy link

evchibo commented Apr 20, 2021

I just cracked mamp pro 5.7.
If someone want to get this cracked version, donate me via btc.
bc1qlk7xfa40kesd0mpje8fqn55d4c6yrrehua28uu

Screen Shot 2021-01-20 at 3 41 54 AM

Man this is TNT version found all over the internet for free, why are you asking for btc, crack the latest version and I will be the first to send you huge BTC donation

@rferreira98
Copy link

6.6 not working

@antoineguilbert
Copy link

No working too :(

@frankazoid
Copy link

frankazoid commented Nov 9, 2023

Just reset demo for 6.8 - there was a lot of files. run "sudo find / | grep mamp" and delete all the files/folders that match. some of them were quite hidden. re-install mamp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment