Can't cancel auto wakeorpoweron repeat schedule via Terminal!

I tried cancelling my auto wakeorpoweron repeat schedule on Terminal using "sudo pmset repeat cancel" and got this error message: Error 0xe00002bc cancelling repeating events

When I entered pmset -g sched, it was blank so it seemed like it cancelled it anyway, but my computer still auto powered on the next day, and I discovered that each time I restart my computer the schedule shows up again. What in the world is going on and how do I really cancel this? Is there somewhere else I can go to delete it somehow?

Apple support was NO help to me! They told me they don't assist with Terminal commands, yet Apple was the one who decided to do away with the system preferences feature.

iMac (2017 – 2020)

Posted on Apr 12, 2024 8:43 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 13, 2024 11:31 AM

rjkirsh wrote:

I actually did try that. I used this command: sudo pmset schedule wakeorpoweron "04/15/24 08:00:00" and gave me this error message: pmset: Error in scheduling operation
Any idea what could be causing this?

I have no idea. Try deleting this file: /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist


Edit: I just went through the process of adding, trying to cancel, then deleting the plist. Seems the thing is broken.

You can set a schedule in the past, so you could create one for a date in the past and it should not trigger.

Edit, again:

Try this command, but it is for specific date/time schedules.

sudo pmset schedule cancelall

I can't replicate the error and wonder if it is a problem writing to AutoWake


There is also this plist: /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist

If you have it, try deleting it.

Similar questions

8 replies
Question marked as Top-ranking reply

Apr 13, 2024 11:31 AM in response to rjkirsh

rjkirsh wrote:

I actually did try that. I used this command: sudo pmset schedule wakeorpoweron "04/15/24 08:00:00" and gave me this error message: pmset: Error in scheduling operation
Any idea what could be causing this?

I have no idea. Try deleting this file: /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist


Edit: I just went through the process of adding, trying to cancel, then deleting the plist. Seems the thing is broken.

You can set a schedule in the past, so you could create one for a date in the past and it should not trigger.

Edit, again:

Try this command, but it is for specific date/time schedules.

sudo pmset schedule cancelall

I can't replicate the error and wonder if it is a problem writing to AutoWake


There is also this plist: /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist

If you have it, try deleting it.

Apr 13, 2024 5:04 PM in response to rjkirsh

Try a PRAM Reset (hold the PRAM Reset for at least three chimes if possible).....Intel Macs only. If you have an Apple Silicon Mac, then you can clear the NVRAM using the following command line making sure to reboot afterwards so the system pulls in the default settings (some settings may not be cleared, such as the computer name):

sudo  nvram  -c


This command also works on Intel Macs.


Try an SMC Reset as well....Intel Macs only.


Try booting into Safe Mode and trying to cancel the schedule. Maybe you have some third party software installed which is interfering with the normal operation of macOS.


Edit: If this is a 2018+ Mac with a T2 security chip or M-series CPU, then you can try a DFU firmware Revive as well which resets the security enclave chip and system firmware. Make sure to have a good backup just to be safe.

How to revive or restore Mac firmware - Apple Support


FYI, you really should post the exact model of your Mac when asking for assistance so we can focus directly on that particular system. You can get this information by clicking the Apple menu and selecting "About This Mac". This information is almost always needed to assist people.

Apr 13, 2024 4:54 AM in response to rjkirsh

Looks like your commands are correct for cancelling. However, another trick is to download the free app Onyx. In that under utilities is a scheduling menu. From there you can make a startup/shutdown schedule and also cancel all schedules. It will override any schedule you may have entered in terminal. I tested this and it works to remove any schedule you may entered manually using terminal. I would try that if all else fails.

https://www.titanium-software.fr/en/onyx.html

Apr 13, 2024 4:52 AM in response to rjkirsh

Apple support was NO help to me! They told me they don't assist with Terminal commands, yet Apple was the one who decided to do away with the system preferences feature.

You should ask to speak with someone with better skills. It’s an Apple support document that directs you to use them.


Try adding a new schedule, then cancel that. You can try a single day with power on at a time it will be on anyway. If you can’t then cancel it, it won’t be problematic.

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.

Can't cancel auto wakeorpoweron repeat schedule via Terminal!

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