Skip to main content
Solved

Sleep mode Setting for "Mac Remote Access"

  • June 14, 2022
  • 1 reply
  • 116 views

Forum|alt.badge.img+7

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

Best answer by sdagley

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

 

1 reply

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • Answer
  • June 14, 2022

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