Skip to main content
Solved

Removing Jamf Pro Package Receipt

  • August 7, 2026
  • 9 replies
  • 150 views

Forum|alt.badge.img+12

Long ago we distinguished between our Staff  and Student Macs by “installing” a DMG that just created a folder. We used the search term of “Packages Installed by Jamf Pro” with that DMG name. This has worked fine for us for the past 10+ years. We installed this package on Student Macs and didn’t install it on Staff Macs. If we needed to convert a MAc from Student to Staff, we just used the Jamf Pro capability to “Uninstall” that package. That removed it from the list of “Packages Installed by Jamf Pro”.

 

It seems that with the (no longer recent) removal of Jamf Admin and the ability to index packages, the ability to “Uninstall” packages and DMGs has gone away as well. So we can still install that DMG to tag the Mac as a Student Mac. However, we can no longer “Uninstall” that DMG. 

 

Which brings me to my question: How do I remove an item from the “Packages Installed by Jamf Pro” list? This isn’t the same as the package receipt list that you get from running pkgutil --pkgs. I am hoping that this is something that can actually be done.

 

Thanks,

Tim

Best answer by Chris_Hafner

OK, there’s a lot going on here. A couple of things: 

 

• Uninstalling, or deleting a folder/file(s) can be accomplished with a pretty simple script. Happy to help on that one. Script can be used to create the folder/file(s) as well, so you could replace your existing need for JAMF Admin use for this case, pretty easily.

• Item’s listed as installed by Jamf Pro (in the Smart Group Criteria) are actually just looking at the contents of the folder of Jamf Pro receipts on the client comptuer

/Library/Application Support/JAMF/Receipts/

• Removing an item from this is the same as writing the script to remove the folder you’ve added with the .dmg

https://learn.jamf.com/r/en-US/jamf-pro-documentation-current/Components_Installed_on_Managed_Computers

So deleting one of those items and running an inventory should remove it from that smart group. 

 

Please let me know if I am missing something or being overly simplistic. 

 

Have you contemplated moving to using Departments as a designator for your devices? This seems the be the most manageable and supported way for us to do it.

 

 

 

9 replies

PaulHazelden
Forum|alt.badge.img+14
  • Jamf Heroes
  • August 7, 2026

I love the diverse methods that we all use to achieve the same result.
I cant help you with clearing the list.

I am presuming you are using the installed package result to build a smart group.


I would use a different method to achieve the same result.
I would script building a plist, with Student or Staff as its payload.
Then build an Extension Attribute to read the plist for its payload.

After a recon / inventory update, the EA results will be available in your Jamf. Simple to create a smart group based on the result.
You can script a change or removal of the plist and then run a recon and the EA will change its result, and therefore the group membership will change straight away.

 

I know this is not the answer you are exactly looking for, but hopefully it helps a bit.
I use this method as a part of my setup process.


Forum|alt.badge.img+12
  • Author
  • Valued Contributor
  • August 7, 2026

I love the diverse methods that we all use to achieve the same result.
I cant help you with clearing the list.

I am presuming you are using the installed package result to build a smart group.

….

I know this is not the answer you are exactly looking for, but hopefully it helps a bit.

I use this method as a part of my setup process.

Yeah, we are now in the process of changing the identification method, but it will take some time doing the changeover. Was hoping to find some method to do this while we still have a bunch of devices with the package receipt.

Guess I’ll also open up a ticket with Jamf to see what they have to say.

Thanks for another method to do this. We are going with creating an “app” by creating an empty folder under Applications named Student.app. That way we don’t even need to make an EA to track it.

Tim


Forum|alt.badge.img+12
  • Author
  • Valued Contributor
  • August 10, 2026

I went through Support and there is no method anymore for removing entries from that list.


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • August 10, 2026

@musat Question for you.

 

What brings you to this method for identifying between staff and student devices? I can see several future challenges with that methodology, but don’t want to assume I know much about your environment or reasoning. Especially since you must already have a method for defining those devices. 


Forum|alt.badge.img+12
  • Author
  • Valued Contributor
  • August 10, 2026

@musat Question for you.

 

What brings you to this method for identifying between staff and student devices? I can see several future challenges with that methodology, but don’t want to assume I know much about your environment or reasoning. Especially since you must already have a method for defining those devices. 

This original method is something that has been in place for about 15 years, and at the time was a recommendation from the installation group. It has only recently stopped working. Given the length of time the process has been in place, we hadn’t even really noticed that it was something that would be affected by the Jamf Admin change way back when.

As mentioned, we are in the process of transitioning to a new method for making this distinction, but that transition will take a while as devices finally check in after summer to get “updated”. Just looking for some stopgap option to manage that “Packages Installed by Jamf Pro” list in the meantime. Though according to Jamf Support it looks like there is no mechanism in place to do that.

Oh well.


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • Answer
  • August 10, 2026

OK, there’s a lot going on here. A couple of things: 

 

• Uninstalling, or deleting a folder/file(s) can be accomplished with a pretty simple script. Happy to help on that one. Script can be used to create the folder/file(s) as well, so you could replace your existing need for JAMF Admin use for this case, pretty easily.

• Item’s listed as installed by Jamf Pro (in the Smart Group Criteria) are actually just looking at the contents of the folder of Jamf Pro receipts on the client comptuer

/Library/Application Support/JAMF/Receipts/

• Removing an item from this is the same as writing the script to remove the folder you’ve added with the .dmg

https://learn.jamf.com/r/en-US/jamf-pro-documentation-current/Components_Installed_on_Managed_Computers

So deleting one of those items and running an inventory should remove it from that smart group. 

 

Please let me know if I am missing something or being overly simplistic. 

 

Have you contemplated moving to using Departments as a designator for your devices? This seems the be the most manageable and supported way for us to do it.

 

 

 


Forum|alt.badge.img+12
  • Author
  • Valued Contributor
  • August 10, 2026

OK, there’s a lot going on here. A couple of things: 

• Item’s listed as installed by Jamf Pro (in the Smart Group Criteria) are actually just looking at the contents of the folder of Jamf Pro receipts on the client comptuer

/Library/Application Support/JAMF/Receipts/

 

Interesting that Jamf Support told me that there was no method for doing this. Knowing this tidbit will completely make the transition to the new designation simple. This was the one piece that was missing to allow a smooth transition.

Thanks


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • August 10, 2026

Not sure what to tell you on that one. Support is usually really good so, I would recommend double checking any transcripts or email just in case it was a statement from Support in reference to another technology or roadmap. However, I did take a moment to test this in one of my environments and it does seem to work as I described. 

 

… and whatever you transition to, I highly recommend using departments for this type of separation. That, or static grouping if you must. There’s way too much communication and steps/components involved in what you’re currently describing as your setup. With many chances to break or be dependent on technologies to continue forward. Separating devices by user, group, OU, or whatever should really be simple, reliable and supported.


dkmansion
Forum|alt.badge.img+6
  • Contributor
  • August 29, 2026

As ​@PaulHazelden mentioned multipleways to accomplish the intended tracking, I don’t have additional to add to removing the folder, however...
Though Departments can be used, I reserve that item for department names in my org.

I use ExtenstionAttributes (manually set in Jamf or a plist (computers only) or other searchable file from the computer) if something MUST be on the device itself.

More heavily in my organization, mainly devices environment, I use pop-up EAs like:
OrganizationGroup ie “Security Cellphones”
Environment “Production, Test, etc”
Facility “Hospital 1, Hospital 2”

I also have one for “LeadSupervisorManagerDevice” as a empty (false) or True, value to be set.  Default for every device is empty, so ‘false’, You could use just a ‘isStaff” EA and set True for staff and assume empty is student, or vice versa.

Nothing needs to ‘exist’ on the device/computer for us to assign this info, then smartgroups, etc are used for configs, apps, and inventory assignment groups, etc.

An additional item is a separate Prestage Enrollment for Staff or Student computers, then you can test the value in the computer record for the Prestage group.

Donald