What is the AE Server on My Mac?

Remote Apple Events
Quick Fix

Download and try Outbyte MacRepair right now to see what it can do for your Mac.

Developed for macOS

See more information about Outbyte and uninstall instructions. Please review EULA and Privacy Policy.

When you’re working with different Macs, it is a hassle to move from one computer to another just to complete simple tasks. For example, printing a document on a different Mac means copying the file on your computer first, then logging into that other Mac to print it from there. This happens when the file can’t be opened using your Mac or the app required to launch the file is outdated.

Copying the file to another computer is too troublesome, especially if it involves a lot of files. Fortunately, Apple has made it easier to control another Mac on the same network using AppleScripts and Remote Apple Events. Thanks to these technologies, Mac users can now access, launch apps, and perform basic tasks remotely. Users don’t have to get up from their seats just to listen to iTunes, send a message using the Messages app, or send an email to contact.

Remote access is useful if you have two or more Macs at home or in the office. Although you can remotely control another Mac on the same network using the Shared feature, using AppleScript commands and the AE Server is a lot faster. Plus, you don’t need to open the Shared screen feature to do so.

What is the AE Server?

If you’ve noticed the AE Server running in the background and you’re not familiar with this feature, you’re probably asking yourself: what is the AE server on my Mac?

Pro Tip: Scan your Mac for performance issues, junk files, harmful apps, and security threats
that can cause system issues or slow performance.

Free Scan for Mac Issues

Special offer. About Outbyte, uninstall instructions, EULA, Privacy Policy.

The AE Server, also known as the AppleEvents Server, handles the Remote Apple Events on macOS. This enables applications on other Macs to send Apple Events to the local computer. This might seem complicated, but it is actually a lot simpler than it sounds.

The AppleScript, which is the built-in user-level scripting system on macOS, allows Mac users to automate repetitive tasks, extend the apps’ abilities, and even create stand-alone apps using a relatively simple language. The AppleScript communicates with macOS and the target individual applications using a simple messaging system called Apple Events.

What the AE Server does is to receive and execute the AppleScript and send it to it another Mac computer. Sending the AppleScript is not enough to perform the task, it should be approved by the receiving computer through the Remote Apple Events.

Your Mac can accept Apple Events from applications running on other Mac computers. Apple Events are tasks being performed on macOS, such as open this document or print this document. With Remote Apple Events switched on, an AppleScript running on another Mac can remotely control your local Mac or perform tasks, such as printing documents or opening applications.

For Macs running on macOS Catalina, AppleEvents and AppleScripts that target a program on a remote system should be authenticated by the same user on that remote system. Otherwise, the user will receive a procNotFound error.

How to Enable the AE Server on a Mac

In order to instruct another Mac on your network, you need both AppleScripts and the Remote Apple Server for it to work. The AppleScripts contain the instructions for the task you want the other Mac to perform while the AE Server authorizes and executes the instructions. You can tell another Mac to shut down, play a song, visit a website, or display an alert using these features.

To enable the Remote Apple Server or the AE Server on your Mac, follow these instructions:

  1. On your Mac or the Mac, you want to remote control, click on the Apple menu, then choose System Preferences.
  2. Click Sharing, then tick off the Remote Apple Events checkbox.
  3. Specify the users who can send events:
    • All users: Any of the users on your computer and anyone on your network can send events to your Mac.
    • Only these users: Click the Add (+) button, then choose the users who can send events. Users & Groups refer to all the users on your computer. Network Users and Network Groups refer to the people on your network.

Once you have followed these steps, the users you specified can now send AppleScripts to your Mac. You will still need to log in using that Mac’s admin username and password to authenticate the AppleScript.

But before running the AppleScript, clean up your computer first using a Mac cleaning software to make sure that your computer is performing at its best.

As with all sharing features, you should enable Remote Apple Events only if you’re sure that you need it. A malicious third-party who knows your Mac’s IP address, as well as your username and password, could steal information from your Mac, hijack your device, or override your session. If you don’t need to send instructions to another Mac, it is best to leave this feature disabled to close off all unnecessary avenues of attack.

To disable the Remote Apple Server, you can either turn it off using the Sharing menu (Apple menu > System Preferences > Sharing > Remote Apple Events) or type in the following command using Terminal:

/usr/bin/sudo /bin/launchctl disable system/com.apple.AEServer

Restart your computer for the changes to take effect. Your AE Server should now be disabled.

How to Write AppleScripts

Enabling the Remote Apple Server is just one part of the equation. Next, you need to write the AppleScripts with the instructions of what you want your Mac to do. For this, you need to use the AppleScript Editor or the Script Editor under Finder > Utilities. Once the editor is open, you can then write the script by clicking File > New.

Here are some of the scripts you can try:

  • Put Mac to Sleep

tell application “Finder” of machine “eppc://IP Address of the target Mac″
end tell

  • Open iTunes

iTunestell application “iTunes” of machine “eppc://IP Address of the target Mac”
end tell

  • Quit iTunes

tell application “iTunes” of machine “eppc://IP Address of the target Mac”
end tell

  • Launch Safari

tell application “Safari” of machine “eppc://IP Address of the target Mac”
end tell

  • Quit Safari

tell application “Safari” of machine “eppc://IP Address of the target Mac”
end tell

Once you have created these AppleScripts, you can save them on your Mac and run them when you need to. You will need to enter the target Mac’s username and password to execute the AppleScript.

Download Outbyte MacRepair Outbyte If you’re running into errors and your system is suspiciously slow, your computer needs some maintenance work. Download Outbyte PC Repair for Windows, Outbyte Antivirus for Windows, or Outbyte MacRepair for macOS to resolve common computer performance issues. Fix computer troubles by downloading the compatible tool for your device.
See more information about Outbyte and uninstall instructions. Please review EULA and Privacy Policy.
Leave a Reply

Your email address will not be published. Required fields are marked *