However, I’ve done the fix shown in the link above and it hasn’t stopped the problem. I originally thought that it might be associated with this problem:
I think services.exe might have also been using CPU in task manager around the same time. Conhost.exe was in task manger after the last 3 times I’ve seen the CMD pop up. The problem is that either the CMD prompt or Powershell suddenly pops up and disappears again before I can read anything that in the window.
I believe they started after I installed the Windows 10 creators update, but I'm not completely sure. I'm wondering if someone can help solve some recent issues I’ve been having with my computer.