Screen timeout script not working
Summary
Related SOTI ONE Platform Products
Related Device OS
Issue Description
To change the device timeout value, use the "writesecuresetting –sys screen_off_timeout 60000" script to change the screen timeout values (the number value is in milliseconds). However, after sending this script to the device, the screen timeout does not change and there are no error messages in the device logs to indicate that the script is not supported or that the script syntax is incorrect.
Issue Resolution
This may be caused by using a long dash in the "-sys" part of the script. Ensure the script contains a small dash '-' and not a long dash '–' before sending the script to the device. Otherwise, the script will continue to be successfully accepted by the device without errors, but will not save the screen timeout configuration.
Example device logs for both a correct and incorrect script sent to the device:
Was this helpful?
Thanks for your feedback