Desktop.ini Opens in Notepad on Windows 8 Startup: How to Fix

It isn’t actually a problem but I was just curious to know why do I get welcomed by a Desktop.ini file in Notepad on Windows 8 Startup. One thing was sure that it isn’t any trojan to be removed because I believe in Bitdefender Antivirus installed on my system.

Small search on this issue revealed that this problem was also in Windows 7 but solving procedure was little different.

Desktop.ini file reads something like this on Windows 8 PRO:

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

How to Fix:

  1. Open Windows Explorer (Press WIN+E)
  2. Paste the following address in Address bar: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
  3. Right click on desktop.ini file and access properties.
  4. Click on “Hidden” and Apply >> OK.
  5. Restart / Reboot PC and you won’t see any notepad file on next startup.

desktop-ini notepad windows 8 startup

What is desktop.ini file by the way?

Desktop.ini is a configuration file which Windows uses to identify how a folder should be displayed.

Entries in the desktop.ini file can define a special icon, a tooltip, or a special name, among other things. In particular, a desktop.ini file identifies the folder that corresponds to the Startup menu.

It is not a trojan or malware. Just attributes of file were changed manually / by mistake or by some 3rd party application. You are making it hidden again and it stops executing on startup.

Watch the Video tutorial to solve the problem going through step by step:

Click Here to Leave a Comment Below 6 comments
Amal - January 16, 2013

Hey Thanks for this. Actually i was searching for another thing and it landed me in your website.

I liked your UI Rohit. Its Clean and Simple. Keepup the Good Work! Btwn can you drop here your Facebook profile please?

Reply
tracy - April 19, 2013

This one really helped me thanks a lot

Reply
Shayan - May 27, 2013

Tnx a lot, solved my problem

Reply
sherief mohammed - December 15, 2013

well i did the exact thing that u posted but the problem is i didn’t find the desktop.ini file
what should i do?

Reply
    Rohit Langde - December 15, 2013

    It is hidden. Have you enabled “Show hidden files and Folders” from Folder options?

    Reply
tatsuya - March 19, 2014

done all ..after reboot ..still come out ..so not solved ..
then second try ..wth ..deskop.ini not found ..zz

Reply

Leave a Reply: