大网数据广告活动
启动与系统组件

Renaming a network folder fails

· 52CE 我爱测

Resolves an issue where Renaming a network folder in Windows 7 Explorer fails.

This article provides a solution to an issue where Renaming a network folder in Windows 7 Explorer fails.

Applies to:   Windows 7 Service Pack 1
Original KB number:   2025703

Symptoms

Steps to reproduce the issue:

  1. Map a drive to a network share that contains several subfolders that contains images files or PDFs

  2. Open an Explorer window and navigate to the parent folder.

  3. Attempt to rename each folder successively, while drilling into the subfolder contents.

  4. Continue step 3 until an error dialog containing the following text appears indicating that the subfolder cannot be renamed:
    "The action can't be completed because the folder or a file in it is open in another program. Close the file or folder and try again."

Cause

The folder rename operation fails because thumbcache.dll still has an open handle to the local thumbs.db file and does not currently implement a mechanism to release the handle to the file in a more dynamic and timely fashion.

Resolution

To work around the issue, enable User Group Policy setting for "Turn off the caching of thumbnails in hidden thumbs.db files":

Policy Path      User Configuration\Administrative Templates\Windows Components\Windows Explorer
Policy Setting  "Turn off the caching of thumbnails in hidden thumbs.db files"
Policy Value      Enabled

Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

You can directly edit the registry with the following setting:

Registry path HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer
Setting Name "DisableThumbsDBOnNetworkFolders"
Type      REG_DWORD
Value     1

Another workaround is to wait approximately 1-5 minutes then retry the rename operation.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。