Track them for a couple days, putting a tally mark in a small notebook every time you get an urge. Write out a plan, before you get the urges, with strategies to beat them.
To keep track of who was taking what, he installed small digital kiosks next to each cabinet and asked employees to swipe their badge and mark which accessory they took.