二、关闭共享 右击“网上邻居”选“属性”,在弹出的“网络和拨号连接”窗口中右击“本地连接”选“属性”,从“此连接使用下列选定的组件”中选中“Microsoft网络的文件和打印机共享”后,单击下面的“卸载”按钮并确认一下。
其他的暂时关闭方法:
1.批处理自启动法
打开记事本,输入以下内容(记得每行最后要回车):
net share ipc$ /delete
net share admin$ /delete
net share c$ /delete
net share d$ /delete
net share e$ /delete
……(你有几个硬盘分区就写几行这样的命令)
保存为NotShare.bat(注意后缀!),然后把这个批处理文件拖到“程序”→“启动”项,这样每次开机就会运行它,也就是通过net命令关闭共享。
如果哪一天你需要开启某个或某些共享,只要重新编辑这个批处理文件即可(把相应的那个命令行删掉)。
2. 到“计算机管理”窗口中某个共享项(比如H$)上右键单击,选择“停止共享” 并确认后就会关闭这个共享,它下面的共享图标就会消失,重复几次所有的项目都可以停止共享。
注意:但这种方法治标不治本,如果机器重启的话,这些共享又会恢复。此法比较适合于永不关闭的服务器,简单而且有效
三、关闭不必须用的服务 在控制面板中,找到管理工具,在其下面打开服务。将下列的项目开闭:
Alerter
Application Layer Gateway Service
Automatic Updates
ClipBook
Computer Browse
Cryptographic Services
DNS Client
Error Reporting Service
Event Log
Fast User Switching Compatibility
Help and Support
HTTP SSL
Human Interface Device Access
Indexing Service
IMAPI CD-Burning COM Service
IPSEC Services
Messenger
Net Logon
NetMeeting Remote Desktop Sharing
Network DDE
Network DDE DSDM
Network Location Awareness
Network Provisioning Service
NT LM Security Support Provider
Performance Logs and Alerts
Portable Media Serial Number Service
Remote Access Auto Connection Manager
Remote Desktop Help Session Manager
Remote Procedure Call (RPC) Locator
Remote Registry
Routing and Remote Access
Secondary Logon
Security Center
Server
Smart Card
Smart Card Helper
SSDP Discovery Service
System Restore Service
Task Scheduler
TCP/IP NetBIOS Helper
Telnet
Uninterruptible Power Supply
Universal Plug and Play Device Host
Volume Shadow Copy
WebClient
Wireless Zero Configuration
WMI Performance Adapter