Why do these two desktop.ini files open whenever I boot my computer?

Fidaa Khader June 22, 2013
Pinterest Stumbleupon Whatsapp

When I open my PC, two files with same name “desktop.ini” are opened in my face. How can I prevent these two files from opening or appearing?

[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787

[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787

All thanks for help!

  1. Alan Wade
    June 24, 2013 at 6:41 am

    Look for Text files or a text editor in your Startup folder and delete it.

  2. Chinmay Sarupria
    June 23, 2013 at 5:09 am

    These files open because they are in the Startup folder. To prevent this from opening

    1) Open My Computer

    2) Search for "Startup" without the quotes. You will see a folder named Startup.

    3) Open that and locate those two desktop.ini files.

    4) Delete them. Now you won't see those files ever again.

  3. ha14
    June 22, 2013 at 7:13 pm

    perhaps you unchecked the box show hidden files and Hide protected operating system files in windows explorer
    http://www.bleepingcomputer.com/tutorials/show-hidden-files-in-windows-7/
    http://www.winhelponline.com/blog/vista-desktopini-files-shown-on-the-desktop/

    1) go to run and type cmd, right click on it and choose run as administrator
    2) on the black screen type: CD c: and hit enter
    3) type attrib /s +h desktop.ini or attrib desktop.ini +s +h and hit enter

    • ha14
      June 22, 2013 at 7:15 pm

      or
      Notepad Starts With "[.ShellClassInfo] LocalizedResourceName=@%SystemRoot%System32Shell32.dll,-21787" When You Start Your Computer
      http://support.microsoft.com/kb/330132
      try the microsoft fixit, download and run it

  4. Oron Joffe
    June 22, 2013 at 7:08 pm

    Run a startup configuration utiltity, such as MSConfig.exe or CCleaner and look in the list of startup items for desktop.ini. Normally, there should be no instances of these files in the startup routine, so you can safely disable any instances you find.