Sleep mode Setting for "Mac Remote Access"

MehdiYawari
New Contributor III

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

1 ACCEPTED SOLUTION

sdagley
Esteemed Contributor II

@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).

 

View solution in original post

1 REPLY 1

sdagley
Esteemed Contributor II

@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).