microsoft / shell-intune-samples

Sample shell scripts for Intune admins.
MIT License
637 stars 213 forks source link

Set up a screensaver time and force password #76

Open suoko opened 1 year ago

suoko commented 1 year ago

I'm trying to set up a screensaver timeout and force password input on resume but no success yet. I'm configuring intune section "System Configuration -> Screensaver" Can this be done with a script maybe ?

Ask For Password: True Module Name: com.apple.screensaver Login Window Idle Time: 10