So my problem is this: When I put my computer to sleep and wake it up and sign in everything is normal until I get to the desktop. Right as everything on the desktop appears a black command prompt appears and then closes instantly. I tested this to see if it would happen again and it did and this time I managed to see some text on it. It looked to be "ERROR" and some text after it. I am running Trend Micro Titanium Internet Security and I have my computer set to be fully scanned every night at 3am. I have did a manual full scan and everything is fine. I just find it hard that I have gotten some type of malware and it's not just a registry error of some type. Any help would be much appreciated. Also I am running Windows 8.1.
Update: I also think it may be important to tell more about some odd startup happenings I have noticed. For example, a few times I have shutdown my laptop normally then rebooted it and my icons on the desktop were all shifted to the left in columns. I had organized them specifically on my desktop before and now they were moved. This has happened 3 times and I am not sure if this command prompt thing has been happening since that started. Also this doesn't always happen either. One other thing that is strange is that there are .dat files appearing in folders and on the desktop from time to time. I fixed this by changing them to not be shown manually but they recently began to pop up again. I am not entirely sure what .dat files do but I believe it's to help your computer locate files. Anyway I hope this helps narrow this down. And thanks in advance for any help with this.
Update: I also think it may be important to tell more about some odd startup happenings I have noticed. For example, a few times I have shutdown my laptop normally then rebooted it and my icons on the desktop were all shifted to the left in columns. I had organized them specifically on my desktop before and now they were moved. This has happened 3 times and I am not sure if this command prompt thing has been happening since that started. Also this doesn't always happen either. One other thing that is strange is that there are .dat files appearing in folders and on the desktop from time to time. I fixed this by changing them to not be shown manually but they recently began to pop up again. I am not entirely sure what .dat files do but I believe it's to help your computer locate files. Anyway I hope this helps narrow this down. And thanks in advance for any help with this.