According to the manufacturer of Ortho Home Defense MAX Insect Killer Indoor & Perimeter with Comfort Wand, this product will dry clear and not stain, or harm, your paint as long as you follow the instructions on the product label. You may spray this product around windows as well as areas such as bathrooms, kitchens, family rooms, pantries, attics, garages, basements, closets, storage areas, bedrooms, perimeter foundations, doors, patios and decks.
You will need to wash the cabinet out with warm soapy water to remove the residue of an incorrect application of Ortho Home Defense MAX Insect Killer Indoor & Perimeter