Posted on 07-30-2014 03:07 AM
Hi.
We are using a Configuration Profile to push Password settings to our clients that are not connected to the Domain.
In order to apply some Kiosk Settings to this machines we need to remove this Configuration Profile (Device Profile) from the machines.
The Profile is scoped to not apply to machines that are Kiosk machines. But we are searching for a way to remove the profile during the initial setup.
During search I came across "Profiles" for command line.
But this only can remove User applied Profiles.
Is there any way to remove a Device Profile?
Thanks for your help
Solved! Go to Solution.
Posted on 07-30-2014 10:04 AM
Some helpful commands:
Show Computer Level Profiles
profiles -C
User Level
profiles -L
All Profiles
profiles -P
Advanced Profile Description
profiles -C -v
Show actual Profile Settings
system_profiler -xml SPConfigurationProfileDataType <- Shows Computer Level Info
system_profiler -xml -detailLevel full SPConfigurationProfileDataType <- Shows Computer & User Level Info
Posted on 07-30-2014 09:49 AM
Remove a Computer Level Configuration Profile from Command Line
1) List the computer level config profiles with their Identifier
/usr/bin/profiles profiles -C
2) Remove using profiles -R -p [identifier]
/usr/bin/profiles -R -p XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Posted on 07-30-2014 10:01 AM
Thanks Jesse.
I think I totally missed this :-(.
Is there anyway to see the "real" name of this profiles?
Thanks.
Posted on 07-30-2014 10:04 AM
Some helpful commands:
Show Computer Level Profiles
profiles -C
User Level
profiles -L
All Profiles
profiles -P
Advanced Profile Description
profiles -C -v
Show actual Profile Settings
system_profiler -xml SPConfigurationProfileDataType <- Shows Computer Level Info
system_profiler -xml -detailLevel full SPConfigurationProfileDataType <- Shows Computer & User Level Info
Posted on 07-30-2014 10:07 AM
Great! Thanks... I guess you got it from --help right?
Posted on 05-11-2016 10:38 PM
Hi,
Don't know if things changed in 2 years but to list the computer level profiles and get the detail in order to see which profileUUID to choose I needed:
/usr/bin/profiles -Cv
and then once I knew which one I had to use
/usr/bin/profiles -r -p XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
where XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX was the profileUUID
The -R switch is not for computer - it's user (tells myself banging head on desk)
Regards,
David