發問發問
 

已答覆Disable administrator share

解答

  • 2009年7月6日 上午 09:08Arthur XieMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    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
  • 2009年7月4日 下午 09:54Shady Kfoury 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    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.

所有回覆

  • 2009年7月2日 上午 11:06VistaGuyRay 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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
  • 2009年7月2日 下午 01:43Mohammad Dastpak 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    yes i know . but i want disable this from my computer . like xp or vista .
  • 2009年7月2日 下午 02:07VistaGuyRay 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I understand, but what did you do to disable the Adminsitrative shares?


    Ray
  • 2009年7月2日 下午 02:59Greyaxe 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Disable the workstation and server services.
  • 2009年7月2日 下午 07:52Mohammad Dastpak 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    because if this enable another user can remote my computer with software . and when i don't need this why i disable this ?

  • 2009年7月3日 上午 01:04Shady Kfoury 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     提議的解答

    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: 0

    Note: 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: 0

    Note: 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.

  • 2009年7月4日 上午 09:16Mohammad Dastpak 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    tnx dear . but i work with windows 7 . and this don't work for windows 7.
  • 2009年7月4日 下午 09:54Shady Kfoury 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    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.
  • 2009年7月6日 上午 09:08Arthur XieMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    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
  • 2009年7月15日 下午 02:43Mohammad Dastpak 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Tnx . it's work
  • 2009年7月22日 下午 06:55SecurityR 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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
  • 2009年7月22日 下午 07:15Mohammad Dastpak 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    are you sure ??? i work with 7 . and it's work perfect . my administrator share disabled . please try agein .