Hello, welcome to Hexnode Community!
One of the significant changes that Apple has brought about in its new OS version, Ventura, is the deprecation of the SystemPreferences payload. System Preferences has now been replaced with the newly introduced System Settings, and the DisabledSystemSettings key controls the various panes within it.
The script you used will not be effective once you update your system OS to Ventura, as it uses a deprecated payload.
Moreover, the Profiles pane is not listed under the new DisabledSystemSettings key, so it can’t be disabled at all in the new OS version.
https://developer.apple.com/documentation/devicemanagement/systempreferences
@schyler-scott, before updating the OS, you could go through the new features and
changes introduced so you’re confident with the new OS version.
Hope this helps. Do get back to us in case of any further queries.
Chloe Edison,
Hexnode UEM