
The batch file definitely is called and executed correctly, as it runs andĮverything else in the script works as designed, except for the line that. explorer.exe definitely is being fully killed. This case, my batch file) is run upon successful extraction. So, when executed, the contents of the archive areĮxtracted to %temp% and a user-defined file (usually a boot-strapper and, in Now, I say "kind of" as I'm running the batch file from a self-executing SFXĪrchive, created with WinRAR. Manager, as, I'm assuming, Win + R is part of Explorer. I can then only properly restart Explorer by starting a new task from Task explorer.exe is started (see Image 2), but only anĮxplorer window opens, which I am left with indefinitely (see Image 1). explorer.exe is successfully terminated. It may take a little while for them to do so on slow PCs.In one part of a batch file (kind of, see Extra Information) I need to restartĮxplorer, so I use the, tried-and-tested method of taskkill /f /im explorer.exe >nul However, if you see no checkmark, click on Show desktop icons and your icons should reappear. If you see one, that means that Windows is currently trying to show icons like normal, which means the problem lies elsewhere. In the menu that appears, look for a checkmark next to Show desktop icons. To re-enable this setting, right-click anywhere on the Windows desktop and hover over View. RELATED: How to Hide Desktop Icons on Windows Or, a recently installed program or PUP may have turned it off. You can toggle this option via a right-click menu on the desktop, so you may have unknowingly turned this setting off yourself. Windows 10 features an option that hides all your desktop icons in one go.
However, if you notice that this is an ongoing occurrence, you should implement the fixes below to ensure the problem goes away for good. In case you are confronting this issue for the first time, restarting the computer may solve it. How to Fix Disappearing Desktop Icons on Windows 10