Posted on 06-14-2022 08:35 AM
Hi everyone
I need some help with a configuration setting (Sleep Mode), so that the mac could be accessed remotely:
Does anybody have a configuration profile for that or tell the best practice?
I am confused whether to set only "Prevent Computer from sleeping automatically when display is off" and "Wake for network access" in system preferences/Battery to true? is it enough?
or should I set the display never turn off, to able to use the mac remotely.
I have also created a configuration profile in jamf but I can't find the setting for "Prevent Computer from sleeping automatically when display is off".
thanks alot
Best regards
Mehdi
Solved! Go to Solution.
06-14-2022 10:55 AM - edited 06-14-2022 10:57 AM
@MehdiYawari I just use the following command to set a Mac not to sleep when connected to power:
/usr/bin/pmset -c sleep 0
The "Wake for network access" would only be helpful if you were connected to the same network as the Mac you wanted to access remotely, so probably isn't useful (or necessary).
06-14-2022 10:55 AM - edited 06-14-2022 10:57 AM
@MehdiYawari I just use the following command to set a Mac not to sleep when connected to power:
/usr/bin/pmset -c sleep 0
The "Wake for network access" would only be helpful if you were connected to the same network as the Mac you wanted to access remotely, so probably isn't useful (or necessary).