Monday, November 24, 2008

Desktop notepad appears at startup


Just recently, a notepad(Configuration settings) with file name Desktop and content [.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787
appears during start-up.

Since the last few times , my lappy was automatically opening this desktop.ini file at startup ..... I searched for a method to fix this problem.......

Method 1: Delete the Desktop.ini File

  1. Start Windows Explorer.
  2. On the Tools menu, click Folder Options, and then click the View tab.
  3. In the Advanced settings box, click to clear the Hide extensions for known file types check box and the Hide protected operating system files check box (if they are not already cleared), and then click OK.
  4. Delete any occurrences of the Desktop.ini file that contains the lines described earlier in the "Symptoms" section of this article. To do so:
    1. Locate each of the following folders, right-click the Desktop.ini file (if the file exists in that folder), and then click Open:
      • drive:\Documents and Settings\All Users\Start Menu\Programs\Startup
      • drive:\Documents and Settings\All Users\Start Menu\Programs
      • drive:\Documents and Settings\All Users\Start Menu
      where drive is the drive on which Windows is installed.
    2. Verify that the file contains the following lines:
      [.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787
      If the file contains these lines, right-click the file, click Delete, and then click Yes when you are prompted to confirm the deletion.
  5. Restart your computer and verify that the issue is resolved.

Method 2: Use the System Configuration Utility (Msconfig.exe) to Disable the Startup Item

  1. Click Start, and then click Run.
  2. In the Open box, type msconfig, and then click OK.
  3. Click the Startup tab.
  4. Click to clear the check box beside any desktop entries in the Startup Item column that are listed as Common Startup in the Location column, and are also located in any of the following locations (as indicated in the Command column):
    • drive:\Documents and Settings\All Users\Start Menu\Programs\Startup
    • drive:\Documents and Settings\All Users\Start Menu\Programs
    • drive:\Documents and Settings\All Users\Start Menu
  5. Click OK to quit the System Configuration Utility.
  6. Restart your computer and verify that the issue is resolved.

Courtesy : microsoft