Skip to main content
Solved

Is it possible to prevent illegal windows characters being used in file names

  • June 29, 2023
  • 2 replies
  • 21 views

Scenario: Large school with students using mainly macbooks, work is saved to OneDrive. Students are often breaking their OneDrive syncing by using illegal windows characters in file names (word docs ect) causing sync errors and are then requiring a manual fix by IT Staff renaming the files/resolving onedrive syncing.

 

All devices are MDM enrolled, is it possible with Jamf Pro to disable the ability to use special/specific characters when naming files.

 

I did see the following post: Solved: Any way to create a policy to prevent users from u... - Jamf Nation Community - 108934 that hinted it wasn't possible, but this is now several years old and things may have changed.

 

Thanks a lot,

JM

 

Best answer by jamf-42

a very quick look at this custom schema for OneDrive.. if you can force the location to be OneDrive and not local maybe that will not allow files to be saved with non legal chars..  worth a look.. 

 

https://github.com/Jamf-Custom-Profile-Schemas/JSON-Schema-for-Jamf-Pro-Applications-and-Settings-MDM-Payload/blob/master/Microsoft/OneDrive/OneDrive.json

2 replies

jamf-42
Forum|alt.badge.img+17
  • Esteemed Contributor
  • Answer
  • June 29, 2023

a very quick look at this custom schema for OneDrive.. if you can force the location to be OneDrive and not local maybe that will not allow files to be saved with non legal chars..  worth a look.. 

 

https://github.com/Jamf-Custom-Profile-Schemas/JSON-Schema-for-Jamf-Pro-Applications-and-Settings-MDM-Payload/blob/master/Microsoft/OneDrive/OneDrive.json


  • June 30, 2023

Thanks for the suggestion, I'll look into this option further.