大网数据广告活动
服务器运维问答

Network share to all computers in the domain is public

· 52CE 我爱测

I'm managing a domain network, Recently I found out that when ever any user is accessing a computer through network share, example: \computer\c$ He can view everything with not need of credentials. I'm looking to enable the need …

问题原文

原帖链接 · Shlomi · CC BY-SA 3.0

I'm managing a domain network, Recently I found out that when ever any user is accessing a computer through network share, example:

\computer\c$

He can view everything with not need of credentials. I'm looking to enable the need of credentials to access not public shares in computers..

已采纳解答

原帖链接 · Esa Jokinen · CC BY-SA 3.0

This share, \\COMPUTER\c$, is one of the Administrative shares created automatically by the system. These shares cannot be accessed by users without administrative privileges, so there should not be the problem you described. (Have you actually tested this on a normal user?)

Administrative shares can't be permanently removed, but they can be disabled:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
"AutoShareWks"=dword:00000000

However, you probably shouldn't do that, because it may cause problems.

Also, your users won't have permissions to everything through any share without also having NTFS permissions. Even Domain Administrators can't access user's home folder through an administrative share because by default there is no NTFS permissions for that.

Share and NTFS Permissions on a File Server

Access to a folder on a file server can be determined through two sets of permission entries: the share permissions set on a folder and the NTFS permissions set on the folder (which can also be set on files). Share permissions are often used for managing computers with FAT32 file systems, or other computers that do not use the NTFS file system.

Share permissions and NTFS permissions are independent in the sense that neither changes the other. The final access permissions on a shared folder are determined by taking into consideration both the share permission and the NTFS permission entries. The more restrictive permissions are then applied.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-04-03)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

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

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