Site icon Winhelponline

Desktop.ini file automatically opens when you start Windows

When you start your computer, the desktop.ini file may automatically open (in Notepad) showing the following contents:


This happens if the hidden attribute for the desktop.ini file in the Startup folder is somehow removed. Enable the hidden attribute for desktop.ini in your Startup and Common Startup folders to resolve the issue. To do so, you can use the Command Prompt.

Open an elevated Command Prompt window and run these two commands:

attrib +s +h "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\desktop.ini"
attrib +s +h "%programdata%\Microsoft\Windows\Start Menu\Programs\Startup\desktop.ini"
Exit mobile version