大网数据广告活动
远程桌面与会话

Copying files exceeding 2 GB fails

· 52CE 我爱测

When you try to copy a file larger than 2 GB by using Remote Desktop Protocol (RDP) client 6.0 or later, the file fails to copy. And you don't see an error message.

This article works around an issue where copying files larger than 2 GB over a Remote Desktop Services or Terminal Services session by using Clipboard redirection fails.

Original KB number:   2258090

Symptoms

When you try to copy a file larger than 2 GB over a Remote Desktop Services or a Terminal Services session through Clipboard redirection (copy and paste) by using RDP client 6.0 or a later version, the file isn't copied. And you don't receive an error message.

Cause

It's a known issue. Copying files larger than 2 GB by using this method isn't supported.

Resolution

To resolve this issue, use one of the following methods:

  • Use Drive Redirection through Remote Desktop Services or a Terminal Services session if you want to transfer files larger than 2 GB.

  • Use command-line alternatives to copy files larger than 2 GB over a Remote Desktop Services or Terminal Services session. For example, use the following command:

    xcopy \\tsclient\c\myfiles\LargeFile d:\temp  
    

More information

  • Copy and paste files

    You can use the Copy and Paste feature in the following scenarios:

    • Copy and paste files between the remote session and the local computer.
    • copy and paste files between the local computer and the remote session.

    However, it's limited to files that are smaller than 2 GB.

  • Transfer of files by using Drive Redirection

    The drives on the local computer can be redirected in the session so that files can easily be transferred between the local host and the remote computer. The drives that you can use in this manner include the following drivers:

    • local hard disks

    • floppy disk drives

    • mapped network drives

      On the Local Resources tab of Remote Desktop Connection, users can specify which kinds of devices and resources that they want to redirect to the remote computer.

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 Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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