My first piece of advice would be to keep your electronics clean and away from food/water. Sorry to come off as rude, but I see no reason for ants to want to nest inside, other than the fact that there's probably food stuck under your keyboard.
That sounds like a decent idea, but I'd be concerned about ant corpses laying in my laptop. I'd suggest taking apart whatever component they're crawling from, but laptops are tricky. A lot are made from cheap plastics which you could take apart, but would risk permanently damaging. Anything that could potentially kill them poses a risk to damaging your laptop, including sealing it in a bag, due to the fact that it could easily overheat.
Last edited by Dark Dragon
on Mon Apr 02, 2012 10:13 pm, edited 1 time in total.