I Tried Whether a Network Drive Can Be Specified for Claude Desktop's "Allow Workspace Folder" Setting

I Tried Whether a Network Drive Can Be Specified for Claude Desktop's "Allow Workspace Folder" Setting

Yes, it works. Map the shared folder as a network drive and specify a folder within it. Network paths (UNC paths) such as \\server\share are not accepted, nor are whole drives like Z:\ or home folders.
2026.12.01

This page has been translated by machine translation. View original

I'm emi, and I love coffee.

On Claude's Enterprise plan, you can use "Allow workspace folders" in the admin console to restrict the folders that members of your organization can open in Claude Desktop. I wanted to know whether a network drive can be specified in this allowlist, so I created a shared folder on my own PC and tried it.

Conclusion

It worked.

  • If you assign a shared folder as a network drive and specify a folder inside it, it can be used
  • Network paths (UNC paths) such as \server\share are not accepted
  • Entire drives such as Z:\ and home folders are not accepted
Value entered in the allowlist Result
Z:\emikifuga It could be added, and I was able to open the folder from Claude Desktop and create a file
\\<hostname>\emikihoge_20261201 The message "Network paths such as \\server\share cannot be specified." was displayed, and it could not be added
Z:\ The message "Please specify an individual folder, not an entire drive or a home folder." was displayed, and it could not be added

The "Network drives on Windows" section of Desktop and filesystem access also says the same thing.

Environment

  • Windows 11
  • Claude Desktop (Enterprise plan)
    • Claude 6.28899.6 (2f5fc5) 2026-11-20T22:01:14.000Z
  • Test folder C:\emikihoge_20261201
  • PC name <hostname>

I didn't have a file server at hand, so I shared a folder on my own PC and assigned it as a network drive from the same PC to test it.

Where to find the setting in the admin console

From [Organization settings - [Features] - [Claude Desktop] - [Allow workspace folders] - [Allow only listed folders] - Edit folders], you can specify the folders to allow for each of Mac, Linux, and Windows.

Verification steps

1. Create a shared folder

Create a folder named C:\emikihoge_20261201 and make it a shared folder.
Share C:\emikihoge_20261201 under the name emikihoge_20261201 and give your own account full access.
Run the following command with administrator privileges.

New-SmbShare -Name "emikihoge_20261201" -Path "C:\emikihoge_20261201" -FullAccess "$env:USERDOMAIN\$env:USERNAME"

▼Execution result

PS C:\WINDOWS\system32> New-SmbShare -Name "emikihoge_20261201" -Path "C:\emikihoge_20261201" -FullAccess "$env:USERDOMAIN\$env:USERNAME"

Name               ScopeName Path                  Description
----               --------- ----                  -----------
emikihoge_20261201 *         C:\emikihoge_20261201

PS C:\WINDOWS\system32>

When you open \\<hostname> in File Explorer, the shared folder is displayed.

2. Assign it as a network drive

Next, assign the shared folder to the Z: drive.
If you add /persistent:yes, the assignment remains even after the PC is restarted.

Run the following command as a regular user, not with administrator privileges.

net use Z: \\<hostname>\emikihoge_20261201 /persistent:yes

▼Execution result

PS C:\Users\<username>> net use Z: \\<hostname>\emikihoge_20261201 /persistent:yes
コマンドは正常に終了しました。

PS C:\Users\<username>>

In Windows, network drive assignments are managed separately for programs run as administrator and programs run with normal privileges. If you assign a network drive in an administrator PowerShell, it is visible only to programs running as administrator.

When the command completes as a regular user, Z: appears under "Network locations" in File Explorer.

3. Try entering a UNC path in the allowlist

In "Edit allowed folders" in the admin console, I entered \\<hostname>\emikihoge_20261201 in the Windows field. The message "Network paths such as \\server\share cannot be specified." was displayed, and it could not be added.

4. Try entering Z:\ in the allowlist

Next, when I entered Z:\, this time the message "Please specify an individual folder, not an entire drive or a home folder." was displayed. It seems that not just any drive letter is accepted; the root of a drive cannot be specified.

5. Add a folder inside Z: to the allowlist

I created an emikifuga folder inside Z: and entered Z:\emikifuga. This time it was added without an error, and I was able to save it with the "Read and write" setting.

6. Restart Claude Desktop

To apply the settings, select "Quit" from the Claude icon in the system tray and start Claude Desktop again.

7. Open the folder from Claude Desktop

On Claude Desktop's new-chat screen, I selected "Add folder" from "Project or folder".

First, when I tried to add a folder that was not one of the folders set in "Allow workspace folders", a dialog appeared saying "Your administrator has restricted the folders that can be used here. 1 folder was skipped." The dialog showed Z:\emikifuga as the allowed location.

Close the dialog with OK and select the folder again.
Incidentally, at this point the folder set in "Allow workspace folders" opens automatically first.

You are asked whether to allow Claude to modify files in emikifuga, so select "Allow".

8. Have it create a file

With the folder open, I asked, "Create a file named hello.txt and write the creation date and time into the text file." Partway through, I was asked "Allow Claude to access this folder?" for access to Z:\emikifuga, so I selected "Allow".

hello.txt was created in Z:\emikifuga, and its contents were "Creation date and time: 2026-12-01 22:09:40 JST". When I opened it in File Explorer, the file had the same contents. I confirmed that Claude can write to a folder on the network drive.

Cleanup

If it's no longer needed, remove the folder you set from "Allow workspace folders" in the organization admin console.

Once verification is finished, remove the drive assignment and the share. In both cases only the settings are removed; the contents of the folder remain.

Remove the drive assignment in a regular PowerShell.

net use Z: /delete

▼Execution result

PS C:\Users\<username>> net use Z: /delete
Z: が削除されました。

PS C:\Users\<username>>

Remove the share in an administrator PowerShell.

Remove-SmbShare -Name "emikihoge_20261201"

▼Execution result

PS C:\WINDOWS\system32> Remove-SmbShare -Name "emikihoge_20261201"

確認
この操作を実行しますか?
ターゲット 'Remove-Share' で操作 '*,emikihoge_20261201' を実行しています。
[Y] はい(Y)  [A] すべて続行(A)  [N] いいえ(N)  [L] すべて無視(L)  [S] 中断(S)  [?] ヘルプ (既定値は "Y"): Y
PS C:\WINDOWS\system32>

Run Get-SmbShare, and if only ADMIN$, C$, and IPC$ remain, no shares are left. These three are shares that Windows has from the start, so be careful not to delete them.

▼Execution result

PS C:\WINDOWS\system32> Get-SmbShare

Name   ScopeName Path       Description
----   --------- ----       -----------
ADMIN$ *         C:\WINDOWS Remote Admin
C$     *         C:\        Default share
IPC$   *                    Remote IPC

PS C:\WINDOWS\system32>

Closing

Someone asked in our internal Slack, "Can you specify a Windows network drive in the workspace folder allowlist? If anyone has tried it, please let me know," so I figured that as a Windows user I should try it myself.
I hope this is helpful to someone.

References


Claudeならクラスメソッドにお任せください

クラスメソッドは、Anthropic社とリセラー契約を締結しています。各種製品ガイドから、業種別の活用法、フェーズごとのお悩み解決などサービス支援ページにまとめております。まずはご覧いただき、お気軽にご相談ください。

サービス詳細を見る

Share this article

AI白書