Page 2 of 2 FirstFirst 12
  1.    01 Aug 2015 #11
    Join Date : Jul 2015
    Posts : 615
    Windows 10 Enterprise x64 (build 10586)

    Next time Notepad opens, don't close it. Open Task Manager (ctrl+shift+esc), go to Details tab (if you can't see the tabs, click "More Details", right click the column names at the top (Name, PID, Status, User Name, etc.), click "Select columns", find and check "Command Line", click OK, find notepad.exe in Task Manager, hover the mouse cursor over the text under the command line column next to notepad.exe, and something like "C:\Windows\system32\Notepad.exe" with some other text after it should pop up. Does it say "C:\Users\Public\Desktop\desktop.ini"?
      My ComputerSystem Spec
  2.    01 Aug 2015 #12
    Join Date : Jul 2015
    Posts : 615
    Windows 10 Enterprise x64 (build 10586)

    If I enable hidden system file viewing, two files appear on my desktop, both named desktop.ini. One is located at "C:\users\<my username>\desktop" and the other "C:\users\Public\desktop". 1st opens in Notepad normally, but the latter causes Notepad to open with the same error as the one you are getting when you log in.
      My ComputerSystem Spec
  3.    01 Aug 2015 #13
    Join Date : Jul 2015
    Posts : 615
    Windows 10 Enterprise x64 (build 10586)

    For the record, the desktop.ini file stores settings for specific folders, like how zoomed in the icons are. The 1st desktop.ini on my desktop stores settings specific to my account, and the other one stores settings which are applied to new accounts made on my computer. Basically, when you create a new user, it copies the settings from the invisible Public account, including the 2nd desktop.ini, creating a clean slate.
      My ComputerSystem Spec
  4.    02 Aug 2015 #14
    Join Date : Aug 2015
    Posts : 4
    windows 10

    Quote Originally Posted by You View Post
    Next time Notepad opens, don't close it. Open Task Manager (ctrl+shift+esc), go to Details tab (if you can't see the tabs, click "More Details", right click the column names at the top (Name, PID, Status, User Name, etc.), click "Select columns", find and check "Command Line", click OK, find notepad.exe in Task Manager, hover the mouse cursor over the text under the command line column next to notepad.exe, and something like "C:\Windows\system32\Notepad.exe" with some other text after it should pop up. Does it say "C:\Users\Public\Desktop\desktop.ini"?
    Thanks! But the path way shown is different, My Name, App Data, Roaming, Microsoft, Windows, Start Up etc etc along those lines. The Desktop.ini file has NO permissions and I can do nothing with it!!!
      My ComputerSystem Spec
  5.    02 Aug 2015 #15
    Join Date : Aug 2015
    Posts : 4
    windows 10

    C:\Users\Phil\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\desktop.ini
      My ComputerSystem Spec
  6.    02 Aug 2015 #16
    Join Date : Aug 2015
    Posts : 4
    windows 10

    SORTED! Many thanks You!
    I managed to give the .ini file some permissions and duly deleted it.
    Notepad no more trying to open on start uo.
      My ComputerSystem Spec
  7.    02 Aug 2015 #17
    Join Date : Jul 2015
    Posts : 6
    windows 10 10240
    Thread Starter

    notepad opens


    The command line reads c:\Windows\system32\NOTEPAD.exe"c:\users\louberk29\AppData\roaming\microsoft\Windows\startmenu\Progr ams\startup
      My ComputerSystem Spec
  8.    02 Aug 2015 #18
    Join Date : Jul 2015
    Posts : 615
    Windows 10 Enterprise x64 (build 10586)

    Quote Originally Posted by louberk29 View Post
    The command line reads c:\Windows\system32\NOTEPAD.exe"c:\users\louberk29\AppData\roaming\microsoft\Windows\startmenu\Progr ams\startup
    Then delete the desktop.ini file in that folder like paddy69 did.
    1. Press Windows key+R on your keyboard to open the Run dialog.
    2. Type shell:startup into the Run dialog and press Enter.
    3. Click the View tab in File Explorer and click Options to open Folder Options.
    4. Go to the View tab in the Folder Option, uncheck Hide protected operating system files (Recommended), and click Yes on the warning that appears.
    5. Click OK.
    6. Take ownership of desktop.ini. [Guide] How to Take Ownership (Permission) of a File or Folder Manually in Windows? - AskVG
    7. Delete desktop.ini and redo steps 1-5, checking Hide protected operating system files (Recommended) this time.
      My ComputerSystem Spec
  9.    27 Dec 2016 #19
    Join Date : Dec 2016
    Posts : 1
    windows 10

    Quote Originally Posted by louberk29 View Post
    I havn't had time to work on this further, but if I find a cure I will post it.

    go to file explorer
    go to the c drive and then type in desktop.ini in the search box and tap enter
    it will show all the files that contains the desktop.ini
    look for the ones that contains startup or start menu and delete all.
    you have to scroll from up to down searching for all the files that contains start menu,
    and all must be thoroughly deleted.
    then restart or reboot your windows you'll see that it's fixed, the notepad will not appear again or start as windows start.
    if have further problem let me know
      My ComputerSystem Spec
  10.    01 Jul 2017 #20
    Join Date : Jul 2017
    Posts : 1
    Windows 10

    This worked perfectly for me - many thanks.
      My ComputerSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Thread Forum
Notepad needs to be developed.
Since windows xp, notepad hasn't really been recieving any type of change in whats in it, all we eve get is new fonts depending on what OS you are using, I hope MS at least develop it because its been the most left out app ever.
Software and Apps
Narrator Opens On Top Of Tool Bar
When I start Windows 10, the Narrator Box opens on top of the windows icon and the "Search Window" words at the bottom left side of the screen. If I open the Narrator Box and then put it back down, it always goes to it's proper position "within"...
General Support
Solved MS Word opens with an error message
I have a new Surface Pro 3 with MS Office 10 on it. This is a new machine (2 weeks old.) All Office programs launch properly except Word. When Word is launched (either from a desktop shortcut to the program or by clicking a Word doc) the program...
Software and Apps
Registration for Build 2015 opens Jan. 22
Source: Registration for Build 2015 opens Jan. 22 - The Official Microsoft Blog
Windows 10 News
cmd.exe opens full screen. Just one little problem.......
I was surprised to find running a task under a command prompt allowed the screen to open to full size. That's great. The only downside for me was that the part of the task actually running was always off the bottom of the screen. Yes, it still...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 00:33.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums