Skip to main content
Solved

Computer showing in Jamf as unmanaged

  • May 23, 2023
  • 15 replies
  • 199 views

Forum|alt.badge.img+4

I'm new to Jamf.  We have 1 computer that went through the prestage enrollement.  I can see the MDM profiles on the device and it states that this mac is supervised and managed but in Jamf it shows as unmanaged, enrolled via automated enrollment =yes, it  has not checked in since the device was wiped. Can someone point me in the right direction.  

Best answer by jamf-42

after entering the password I get

sudo: jamf: command not found

 


so its not enrolled? that would be why its not managed.. 

sudo profiles renew -type enrollment

to re-enroll 

15 replies

jamf-42
Forum|alt.badge.img+17
  • Esteemed Contributor
  • May 23, 2023

on the device: 

sudo jamf manage

what happens?

sudo jamf recon

what happens?


Forum|alt.badge.img+4
  • Author
  • Contributor
  • May 23, 2023

If i type sudo jamf manage i get a prompt for Password:(and key image) but it doesn't allow me to enter a password

 


Forum|alt.badge.img+4
  • Author
  • Contributor
  • May 23, 2023

on the device: 

sudo jamf manage

what happens?

sudo jamf recon

what happens?


If i type sudo jamf manage i get a prompt for Password:(and key image) but it doesn't allow me to enter a password


Forum|alt.badge.img+14
  • Honored Contributor
  • May 23, 2023

If i type sudo jamf manage i get a prompt for Password:(and key image) but it doesn't allow me to enter a password


Password entry is masked so you won't see any characters being typed in the Terminal window.

If you are using a Smart Card, password entry may be disallowed and you'll need to authenticate using the token/key.


Forum|alt.badge.img+14
  • Honored Contributor
  • May 23, 2023

Was the Mac remote wiped?


Forum|alt.badge.img+4
  • Author
  • Contributor
  • May 23, 2023

Password entry is masked so you won't see any characters being typed in the Terminal window.

If you are using a Smart Card, password entry may be disallowed and you'll need to authenticate using the token/key.


after entering the password I get

sudo: jamf: command not found

 


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

after entering the password I get

sudo: jamf: command not found

 


so its not enrolled? that would be why its not managed.. 

sudo profiles renew -type enrollment

to re-enroll 


Forum|alt.badge.img+4
  • Author
  • Contributor
  • May 23, 2023

Was the Mac remote wiped?


yes from jamf


Forum|alt.badge.img+14
  • Honored Contributor
  • May 23, 2023

yes from jamf


It's normal for a device that has been remote wiped to show as 'Unmanaged' in Jamf Pro.

It will change to 'Managed' upon next enrollment.


Forum|alt.badge.img+4
  • Author
  • Contributor
  • May 23, 2023

so its not enrolled? that would be why its not managed.. 

sudo profiles renew -type enrollment

to re-enroll 


Thank you.  This worked.  I appreciate the help.  Just took over jamf administration...

 


Forum|alt.badge.img+7

In some cases, you can actually send a mass action command to renew the MDM profile even though that command is unavailable from the management tab for that particular device. That usually triggers a reinstallation of the JAMF framework.


whiteb
Forum|alt.badge.img+9
  • Valued Contributor
  • May 24, 2023

In some cases, you can actually send a mass action command to renew the MDM profile even though that command is unavailable from the management tab for that particular device. That usually triggers a reinstallation of the JAMF framework.


I don't think renewing MDM profile re-installs the Jamf binary. Though that can be done via the Jamf Pro API through the web > jamf-management-framework > put in ID of computer > 'Try It' it will re-install the binary/framework via MDM command.

More info: https://www.modtitan.com/2022/02/jamf-binary-self-heal-with-jamf-api.html

Alternatively, there is a script Jamf can give out that allows you do do that on multiple computers. 


Forum|alt.badge.img+1
  • New Contributor
  • July 26, 2023

I deleted my MAC from manger computer list.  Then tried to enroll via the link.  It shows as unmanaged.  I tried the sudo profiles renew -type enrollment.  Then sudo Jamf manage and sudo Jamf recon.  But still shows as unmanaged.  Any ideas?

 


Forum|alt.badge.img+1
  • New Contributor
  • July 27, 2023

I deleted my MAC from manger computer list.  Then tried to enroll via the link.  It shows as unmanaged.  I tried the sudo profiles renew -type enrollment.  Then sudo Jamf manage and sudo Jamf recon.  But still shows as unmanaged.  Any ideas?

 


Resolved.  RemoveMdmProfiles and then renewed and all good


Forum|alt.badge.img+6

so its not enrolled? that would be why its not managed.. 

sudo profiles renew -type enrollment

to re-enroll 


Very helpful! Thank you so much. My only note is that when using this command, you'll be prompted to enter in the account credentials of whatever account was used to enroll the computer originally.