The problem I see is "Where is that setting?"

Let's google it -> http://www.popupcop.com/help/help7_options_exit.html

That's just one of a hundred places where we can set Windows to clear things automatically. Which is in play here may require you remember which you changed or fish around till you find it.
Bob