Windows 10: Notepad opens on boot

Page 2 of 2 FirstFirst 12

  1. Posts : 615
    Windows 10 Enterprise x64 (build 10586)
       01 Aug 2015 #11

    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. Posts : 615
    Windows 10 Enterprise x64 (build 10586)
       01 Aug 2015 #12

    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. Posts : 615
    Windows 10 Enterprise x64 (build 10586)
       01 Aug 2015 #13

    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

    You said: 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

    C:\Users\Phil\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\desktop.ini
      My ComputerSystem Spec

  6.    02 Aug 2015 #16

    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

    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. Posts : 615
    Windows 10 Enterprise x64 (build 10586)
       02 Aug 2015 #18

    louberk29 said: 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

    louberk29 said: 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.    2 Weeks Ago #20

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


 
Page 2 of 2 FirstFirst 12

Related Threads
Notepad needs to be developed. in Software and Apps
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.
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"...
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...
Source: Registration for Build 2015 opens Jan. 22 - The Official Microsoft Blog
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...
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 23:45.
Find Us