How to remove administrative shares in Windows Server 2008 or 2012
2017-09-25 16:46
513 查看
Click Start, and then click
Run.
In the Open box, type
regedit, and then click OK.
Locate, and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer
Note The registry subkey AutoShareServer must be set as type REG_DWORD. When this value is set to 0 (zero), Windows does not automatically create administrative shares. Be aware that this does not apply to the IPC$ share or shares that you create manually.
On the Edit menu, click
Modify. In the Value data box, type
0, and then click OK.
Exit Registry Editor.
Stop and then start the Server service. To do this, follow these steps:
Click Start, and then click
Run.
In the Open box, type
cmd, and then click OK.
At the command prompt, type the following lines. Press Enter after each line:
net stop server
net start server
Type exit to close the Command Prompt window.
Run.
In the Open box, type
regedit, and then click OK.
Locate, and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer
Note The registry subkey AutoShareServer must be set as type REG_DWORD. When this value is set to 0 (zero), Windows does not automatically create administrative shares. Be aware that this does not apply to the IPC$ share or shares that you create manually.
On the Edit menu, click
Modify. In the Value data box, type
0, and then click OK.
Exit Registry Editor.
Stop and then start the Server service. To do this, follow these steps:
Click Start, and then click
Run.
In the Open box, type
cmd, and then click OK.
At the command prompt, type the following lines. Press Enter after each line:
net stop server
net start server
Type exit to close the Command Prompt window.
相关文章推荐
- [reproduce]How to Create Domain in Windows Server 2012.
- Restrict each user to a single session in window server 2008 R2 or 2012
- How to enable Hibernate option in windows 2008 R2 server?
- [zz]How to disable the password complexity in Windows Server 2008?
- How to debug Web Services or .Net Remoting Components hosted in IIS in Windows 2003 Server
- How to enable javascript in windows server 2008 R2 enterprise
- How to enable Hibernate in Windows Server 2012
- How to install an SSH Server in Windows Server 2008
- How to failover automatically in windows server 2008 failover cluster
- How to install an SSH Server in Windows Server 2008
- How to use ntrights.exe tool to assign user right in windows server env
- How to disable Internet Explorer Enhanced Security Configuration on a Windows 2008 Server? 如何禁用IE增强安全配置?
- how to sync windows time from a ntp time server in command
- How to Enable or Disable Hibernate in Windows 7
- How To Remove Or Delete PPA In Ubuntu
- how to find sharepoint app pool in win server2008?
- How do I configure vncserver to start GNOME or KDE by default in Red Hat Enterprise Linux ?
- ZZ: How to remove 'Open in Windows Explorer' from the 'Actions Menu'
- windows下python如何安装模块或包? How to install package or module in windows OS when using PYTHON?