如果您经常允许其他人作为远程计算机访问您的计算机,并且您希望允许在远程会话中直接访问可移动存储(allow direct access to removable storage in remote sessions),这可能会帮助您启用它。在Windows(Windows) PC中启用或禁用对可移动存储设备的远程桌面访问(Remote Desktop Access)或RDP非常简单。(RDP)您可以在注册表编辑器(Registry Editor)或本地组策略编辑器(Local Group Policy Editor)的帮助下做到这一点。
许多人经常使用远程会话功能来帮助朋友或家人远离千里之外。有时,您可能需要访问远程计算机上的可移动存储设备,例如USB驱动器、外部硬盘驱动器等。同样,如果有人将您的计算机用作远程 PC,您可能希望允许该人访问连接的USB设备。默认情况下,Windows不允许远程用户访问任何可移动存储设备。但是,如果您想启用此访问权限,本教程将为您提供帮助。
注意(Note):您需要在远程计算机上启用此功能。
允许在(Allow)远程会话(Remote Sessions)中直接访问可移动存储
要允许使用注册表编辑器(Registry Editor)在远程会话中直接访问可移动存储,请执行以下步骤 -
- 按 Win+R 打开运行提示。
- 键入regedit并点击Enter按钮。
- 在 UAC 提示中单击是。(Yes)
- 导航到HKCU中的(HKCU)Windows键。
- 创建一个新密钥。
- 将其命名为RemovableStorageDevices。
- 创建一个新的 DWORD 值。
- 将其命名为AllowRemoteDASD。
- 双击(Double-click)AllowRemoteDASD并将值设置为1。
- 重启你的电脑。
要了解有关这些步骤的更多信息,您应该继续阅读。
在开始之前,您应该创建一个注册表文件备份(create a Registry file backup)并创建一个系统还原点。
首先,您需要在计算机上打开注册表编辑器。为此,您可以借助任务栏(Taskbar)搜索框。但是,如果您使用的是旧版本的Windows,则可以按Win+R,键入regedit,然后按Enter按钮。在UAC(UAC)提示中单击“是”(Yes)按钮后,它应该会立即在您的 PC 上打开注册表编辑器。(Registry Editor)之后,导航到以下路径-
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows
您应该在Windows键中看到一个名为RemovableStorageDevices的键。
但是,如果您没有看到它,则需要手动创建它。为此,右键单击Windows键并选择New > Key。
将其命名为RemovableStorageDevices。然后,选择这个新创建的键,右键单击它,选择New > DWORD (32-bit) Value。
它应该在您的右侧创建一个DWORD值。(DWORD)将其命名为AllowRemoteDASD。
现在,双击AllowRemoteDASD并将值设置为1。
设置值后,您应该重新启动计算机。
如果您想禁用远程用户的可移动存储访问,您有两种方法。
您将AllowRemoteDASD的值设置为0,或者您可以在导航到此路径后从注册表编辑器(Registry Editor)中删除RemovableStorageDevices键-
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows
就是这样!同样(Again),您应该重新启动计算机以完成更改。
允许使用(Allow)组策略编辑器(Group Policy Editor)直接访问远程会话中的可移动存储
要允许使用本地组策略编辑器(Local Group Policy Editor)在远程会话中直接访问可移动存储,请执行以下步骤 -
- 按 Win+R 打开运行提示。
- 输入gpedit.msc并点击Enter按钮。
- 导航到计算机配置(Computer Configuration)中的可移动存储访问(Removable Storage Access)。
- 双击All Removable Storage: Allow direct access in remote sessions。
- 选择启用(Enabled)。
- 单击确定(OK )按钮以保存更改。
- 重启你的电脑。
让我们详细检查这些步骤。
首先,您需要在计算机上打开本地组策略编辑器。为此,按Win+R打开运行提示,键入gpedit.msc,然后按Enter按钮。然后,导航到此路径-
Computer Configuration\Administrative Templates\System\Removable Storage Access
在这里您可以找到一个名为All Removable Storage: Allow direct access in remote sessions的设置。您需要双击它并选择启用(Enabled)选项。
之后,单击“确定(OK)”按钮保存更改。
重新启动您的计算机。
就是这样!
Allow direct access to Removable Storage in Remote Sessions
If you often allow others to access your computer as the remote computer and you want to allow direct access to removable storage in remote sessions, this might help you enable that. It is straightforward to enable or disable Remote Desktop Access or RDP to removable storage devices in Windows PC. You can do that with the help of Registry Editor or Local Group Policy Editor.
Many folks often use remote session functionality to help a friend or family member from being miles away. At times, you might need access to the removable storage such as a USB drive, external hard drive, etc. on a remote computer. Similarly, if someone is using your computer as a remote PC, you might want to allow that person to access the connected USB device. By default, Windows doesn’t allow remote users to access any removable storage device. However, if you want to enable this access, this tutorial will help you.
Note: You need to enable this functionality on the remote computer.
Allow direct access to Removable Storage in Remote Sessions
To allow direct access to removable storage in remote sessions using Registry Editor, follow these steps-
- Press Win+R to open the Run prompt.
- Type regedit and hit the Enter button.
- Click Yes in the UAC prompt.
- Navigate to the Windows key in HKCU.
- Create a new key.
- Name it as RemovableStorageDevices.
- Create a new DWORD value.
- Name it as AllowRemoteDASD.
- Double-click on AllowRemoteDASD and set the value to 1.
- Restart your computer.
To know more about these steps, you should keep reading.
Before getting started, you should create a Registry file backup and create a System Restore point.
At first, you need to open Registry Editor on your computer. For that, you can take the help of the Taskbar search box. However, if you are using an older version of Windows, you can press Win+R, type regedit, and hit the Enter button. After clicking the Yes button in the UAC prompt, it should open the Registry Editor on your PC instantly. After that, navigate to this following path-
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows
You should see a key called RemovableStorageDevices in the Windows key.
However, if you don’t see it, you need to create it manually. For that, right-click on the Windows key and select New > Key.
Name it as RemovableStorageDevices. Then, select this newly created key, right-click on it, select New > DWORD (32-bit) Value.
It should create a DWORD value on your right-hand side. Name it as AllowRemoteDASD.
Now, double-click on AllowRemoteDASD and set the value as 1.
After setting the value, you should restart your computer.
In case you want to disable the removable storage access for the remote users, you have two methods.
You set the value of AllowRemoteDASD as 0, or you can delete the RemovableStorageDevices key from Registry Editor after navigating to this path-
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows
That’s it! Again, you should restart your computer to make the change complete.
Allow direct access to removable storage in remote sessions using Group Policy Editor
To allow direct access to removable storage in remote sessions using Local Group Policy Editor, follow these steps-
- Press Win+R to open the Run prompt.
- Type gpedit.msc and hit the Enter button.
- Navigate to the Removable Storage Access in Computer Configuration.
- Double-click on All Removable Storage: Allow direct access in remote sessions.
- Select Enabled.
- Click the OK button to save the change.
- Restart your computer.
Let’s check out these steps in detail.
At first, you need to open Local Group Policy Editor on your computer. For that, press Win+R to open the Run prompt, type gpedit.msc, and hit the Enter button. Then, navigate to this path-
Computer Configuration\Administrative Templates\System\Removable Storage Access
Here you can find a setting called All Removable Storage: Allow direct access in remote sessions. You need to double-click on it and select the Enabled option.
After that, click the OK button to save the change.
Restart your computer.
That’s it!