Random black box like the cmd prompt keeps appearing & disappearing...

kennie42

Honorable
Nov 2, 2016
54
1
10,545
I logged on my computer today and it keeps popping up a black box like the command prompt then disappears, it doesn't happen all the time but every like hour or so. it's happened 5-6 times today. any idea what this is and how to fix it?