Skip to primary content
Skip to secondary content

Stephan Wibier

My digital workspace – Sharing is Caring!

Stephan Wibier

Main menu

  • My blog on Blogspot
  • Nutanix Forum – Geek out place
  • Nutanix.com

Tag Archives: Notepad

Why does desktop.ini file open in Notepad when I login?

Posted on 10/01/2019 by Stephan Wibier
Reply

Normally there is a desktop.ini file on the desktop. This file is hidden!
You can see it when you turn on ‘Hidden items’ and turned of ‘Hide protected operating system files (Recommended)’.

2019-01-10 13_50_53

But when you do this, and then DELETE this desktop.ini file, hmmm well let’s say DON’T.

Because now when you login a desktop.ini file opens in Notepad. And it will keep opening again and again and again. Until you fix this!

2019-01-10 13_50_20

FIX THIS:

Fix is easy, just make sure the desktop.ini file is in the right directories, AND with the right file properties!

Here you can see the right file properties (being Hidden and System!)

2019-01-10 13_56_43

So how do we create and set the right properties for this file?

It lives in several places, but my experience is that the file in the %appdata% folder of the User is missing or missing the right properties.

So start up a Elevated Command Prompt and start typing:

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

And/Or

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

If that doesn’t work then there is the one in the %ProgramData% folder!

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

But my best guess is the first one!

Happy login 🙂

Posted in Windows 10 | Tagged desktop.ini, Notepad, start at login | Leave a reply

Archives

  • April 2025
  • March 2025
  • February 2025
  • October 2023
  • May 2023
  • December 2022
  • November 2021
  • August 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • June 2017
  • March 2016
  • February 2016
  • December 2015
  • February 2015
  • August 2014
  • April 2014
  • March 2014
  • January 2014
  • December 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • August 2012
  • July 2012
  • April 2011
  • March 2011

Meta

  • Log in
Stephan Wibier Proudly powered by WordPress
 

Loading Comments...