Windows: Desktop.ini File Opens on Startup

The desktop.ini file appears when you first startup your Windows Vista computer.

The desktop.ini file will appear usually with the following:


To solve this problem, perform the following steps:

1. Click Start>All Programs>Accessories, right-click Command Prompt, and click Run as administrator.

2. Type:

attrib +s +h “%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\desktop.ini”

and press ENTER

3. Now follow the step 1 again and then type:

attrib +s +h “%programdata%\Microsoft\Windows\Start Menu\Programs\Startup\desktop.ini”

and press ENTER

Now the desktop.ini file shouldn’t appear at startup anymore.


  1. Lance says

    Doesn’t work. Gives the error”Parameter format not correct”, so you have some mistake in the command. I used copy – paste, so no mistake on my part.

  2. chanthou says

    Dear everybody who looking for various information on the net. Plz, if you see post please help me for solutions.
    In my company have alot of clients as well as datas, to backup,please any comment me to find any ways to make easy to backup datas.

    Kindly Thanks,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>