Disable administrator share
- hi . i disable administrator share but when i restart or shutdown my computer again administrator share enable .
please help me .
Ответы
Hi,
We suggest customers do not disable Administrative Share. There will be several potential issues. Please read the following KB article.
Overview of problems that may occur when administrative shares are missing
Arthur Xie - MSFT- Помечено в качестве ответаArthur XieMSFT, Модератор10 июля 2009 г. 9:52
For Workstations (Vista/Windows7)
Click Start—>Run type regedit click ok
For vista users Enter your UAC credentials to continue.
Open the HKEY_LOCAL_MACHINE branch.
Open the SYSTEM branch.
Open the CurrentControlSet branch.
Open the Services branch.
Open the LanmanServer branch.
Select the Parameters branch.
Select Edit, New, DWORD (32-bit) Value. Vista & Windows 7 adds a new value to the Parameters key (If you have the key just check for correct value).
Type AutoShareWks and press Enter. (You can leave this setting with its default value of 0.)
Restart Windows to put the new setting into effect.
I hope this work out for you this time.
Good Luck.
Microsoft Certified: MCP, MCSA, MCSA Security, MCSE, MCSE Security.- Предложено в качестве ответаShady Kfoury 4 июля 2009 г. 22:09
- Помечено в качестве ответаMohammad Dastpak 15 июля 2009 г. 14:45
Все ответы
- How did you disable the administrative shares?
Did you notice these shares are not accessible over the network unless you configure Windows Firewall to allow file sharing?
Ray - yes i know . but i want disable this from my computer . like xp or vista .
- I understand, but what did you do to disable the Adminsitrative shares?
Ray - Disable the workstation and server services.
because if this enable another user can remote my computer with software . and when i don't need this why i disable this ?
There are a few workstation applications that need server service running, in particular, some SNA emulation packages.
i recommend you the following:In order to disable these shares permanently, a registry edit will be necessary.
Servers
For NT 4.0/W2K/Windows Server 2003s, the change is:
Hive: HKEY_LOCAL_MACHINE Key: SYSTEM\CurrentControlSet\Services\LanManServer\
Parameters Name: AutoShareServer
Data Type: REG_DWORD
Value: 0Note: A reboot is necessary for this to take effect.
Workstations
For NT 4.0 Workstation/W2K Pro/XP Pro, the change is:
Hive: HKEY_LOCAL_MACHINE Key: SYSTEM\CurrentControlSet\Services\LanManServer\
Parameters Name: AutoShareWks
Data Type: REG_DWORD
Value: 0Note: Again, a reboot is necessary for this to take effect. If you want the administrative shares to be re-created, you can change the value back to 1.
Note: Some applications depend on the presence of these shares. If things stop working you'll know to re-enable the shares.
Security note: Unfortunately this registry hack does NOT stop the IPC$ share and this is a share that is often used by hackers to enumerate systems before attack since it can yield a wealth of information about your system names, your user names, and more. If your ACL permissions are not correct or you haven't disabled anonymous user access or you haven't disabled the guest account then this port can lead to total system compromise within.
good luck.- Предложено в качестве ответаShady Kfoury 3 июля 2009 г. 2:06
- tnx dear . but i work with windows 7 . and this don't work for windows 7.
For Workstations (Vista/Windows7)
Click Start—>Run type regedit click ok
For vista users Enter your UAC credentials to continue.
Open the HKEY_LOCAL_MACHINE branch.
Open the SYSTEM branch.
Open the CurrentControlSet branch.
Open the Services branch.
Open the LanmanServer branch.
Select the Parameters branch.
Select Edit, New, DWORD (32-bit) Value. Vista & Windows 7 adds a new value to the Parameters key (If you have the key just check for correct value).
Type AutoShareWks and press Enter. (You can leave this setting with its default value of 0.)
Restart Windows to put the new setting into effect.
I hope this work out for you this time.
Good Luck.
Microsoft Certified: MCP, MCSA, MCSA Security, MCSE, MCSE Security.- Предложено в качестве ответаShady Kfoury 4 июля 2009 г. 22:09
- Помечено в качестве ответаMohammad Dastpak 15 июля 2009 г. 14:45
Hi,
We suggest customers do not disable Administrative Share. There will be several potential issues. Please read the following KB article.
Overview of problems that may occur when administrative shares are missing
Arthur Xie - MSFT- Помечено в качестве ответаArthur XieMSFT, Модератор10 июля 2009 г. 9:52
- Tnx . it's work
- Sorry, but this does not work for me....
It works fine on Vista but not Win 7. I still see a bunch of $ shared.
I have used the AutoShareWks and AutoShareServer on Vista, 2000 in the past many times, works fine, again, it still shows on Win 7.
Any ideas, let me know...
Cheers - are you sure ??? i work with 7 . and it's work perfect . my administrator share disabled . please try agein .
- This article details
if
your shares are missing and you didn't disable them
then
you might have a virus
If you disable them yourself, I think a lot of the listed consequences don't apply, as several would be the result of viruses/trojans, not a result of turning off the shares.
Also, a lot of the listed consequences are for disabled shares on a domain controller. These seem more credible, but I wouldn't worry about turning off the shares on your workstation.