Slow File Folder and Network Browsing in Windows XP

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

Slow network browsing in Windows XP

1) Shortcuts in 'My Network Places' make network browsing very slow.

If the 'My Network Places' folder contains a shortcut to a network share, then each refresh of the explorer window will attempt to read icon information from every file in the remote location, causing the system to slow to a crawl.

Removing all shortcuts from 'My Network Places' will return the system response to normal.

Every time you open a file via a UNC name, Windows XP will automatically add another shortcut to the 'My Network Places' folder - so the issue tends to get worse over time.

You can prevent the automatic addition of shortcuts by creating the DWORD and setting:

 HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRecentDocsNetHood = 1

Q841978 - Explorer.exe stops responding when you use network shortcuts (XP)

Similar issues affect the Start menu and Desktop - placing a shortcut to a network resource in either location can drastically slow down system response, particularly when the network resource is unavailable. Shortcuts to Domains or Machines don't suffer from these problems as they always have the same icon.

There are two methods of accessing the network that avoid this performance problem:

  • Create a drive map and use this to browse the network files
  • Create a shortcut to explorer.exe and pass the UNC name of the resource.
 explorer /e, \\Server\FileShare

The /e switch is used to control Windows Explorer Views in Windows XP and specifically causes explorer to start in the default view.

2) Explorer randomly locks files

There are reports that Windows Explorer can run very slow and/or stop responding if some of the profile permissions get messed up.

To fix this logout and login with a different (Administrator level) account and rename this folder:

 C:\Documents and Settings\<profilename>\Local Settings\Application Data\Microsoft\Windows

When you login again the folder will be re-created with the correct permissions.

3) Listing the contents of a shared folder is slow - Desktop.ini

Another issue that will slow down browsing is the desktop.ini feature. This issue affects Windows clients using mapped drives or UNC connections - the issue was supposedly fixed in XP sp2, but from Q326549 can still be seen in Vista and Windows 2003.

When listing a directory, Windows XP will search for and parse Desktop.ini files. This will noticably affect performance when a large number of subfolders are involved - it does this for the current folder and one level down the directory tree.

Desktop.ini can be used to provide a custom icon, thumbnail view, and can make normal file folders into 'Special Folders' (eg Fonts, History, Temporary Internet Files, "My Music", "My Pictures", and "My Documents").

Desktop.ini files are only visible in Windows Explorer if you first un-check "Hide protected operating system files" (under Tools, Options, View)

To see the file locks created by this process run the following command on the file server, while an XP client is (slowly) listing a large directory: NET FILE | Find "desktop.ini" This issue is discussed in Q840309 (included in XP sp2)

A quick solution to this performance problem is to remove the READ_ONLY attribute from the folder and/or delete the non-essential desktop.ini files.

Other browsing issues Also consider: AntiVirus software, DNS configuration, the NTFS volume (security descriptors & indexes) defrag and CHKDSK.

Browsing Network Neighbourhood is slow Workstations which don't need Peer-to-Peer File, Print, or named-pipe sharing can disable the server service to reduce browse master traffic. This will also disable use of the admin$ share.