如何关闭隐藏共享

发布网友 发布时间:2022-04-20 09:19

我来回答

4个回答

热心网友 时间:2023-09-28 01:23

1.单击“开始→运行”,在“运行对话框”中键入“regedit”,弹出注册表编辑程序,依次展开“HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsa”,找到“RestrictAnonymous” 项,将其值设置为“1”,这样就*了“IPC$”连接。

2.然后在注册表编辑器中依次展开“HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/LanmanServer/Parameter/”,找到“AutoShareServer”键,将键值改为“00000000”;接着找到“AutoShareWks”键,也将键值改为“00000000”。如果不存在这两个键,可以手工创建。创建DWORD两个键值。这样就关闭了C$、D$、ADMIN$等隐藏共享,最后重启系统。

热心网友 时间:2023-09-28 01:23

控制面版——管理工具——计算机管理——共享文件夹——共享
后面加了$的就是隐藏共享

还有,打开我的电脑——工具——文件夹选项——查看——取消使用简单文件共享。然后看每个盘的属性也可以看到!

热心网友 时间:2023-09-28 01:24

net share c$ /del
net share d$ /del
net share e$ /del
net share f$ /del
net share ipc$ /del
net share admin$ /del

保存为.bat文件后缀。 双击后执行,即可关闭盘符共享。

热心网友 时间:2023-09-28 01:24

# OpenCA Mods
# CA Aliases
Alias /ca/ /usr/local/openca/httpd/htdocs/ca/
Alias /ca-node/ /usr/local/openca/httpd/htdocs/ca-node/
ScriptAlias /cgi-bin/ca/ /usr/local/openca/httpd/cgi-bin/ca/
ScriptAlias /cgi-bin/ca-node/ /usr/local/openca/httpd/cgi-bin/ca-node/
# OpenCA Mods
# RA Aliases
Alias /ra/ /usr/local/openra/httpd/htdocs/ra/
Alias /pub/ /usr/local/openra/httpd/htdocs/pub/
Alias /ra-node/ /usr/local/openra/httpd/htdocs/ra-node/
ScriptAlias /cgi-bin/ra/ /usr/local/openra/httpd/cgi-bin/ra/
ScriptAlias /cgi-bin/pub/ /usr/local/openra/httpd/cgi-bin/pub/
ScriptAlias /cgi-bin/ra-node/ /usr/local/openra/httpd/cgi-bin/ra-node/
# OpenCA Mods
<Directory "/usr/local/openca/httpd/cgi-bin/">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/local/openra/httpd/cgi-bin/">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/local/openca/httpd/htdocs/">
AllowOverride None
Options FollowSymLinks Indexes
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/local/openra/httpd/htdocs/">
AllowOverride None
Options FollowSymLinks Indexes
Order allow,deny
Allow from all
</Directory>
# OpenCA Mods
# adding dir to symlinks following for cert retrieval
# not totally clear WHY openca puts a symlink here, but it did.
<Directory "/usr/local/openra/httpd/cgi-bin/pub">
AllowOverride None
Options FollowSymLinks Indexes
Order allow,deny
Allow from all
</Directory>

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com