none
如何透過Server的機制去關閉檢一檔案共用的功能 RRS feed

  • 問題

  • Dear All,

     

    我找了一下群組原則中好像沒有此功能

    所以想請問一下有什麼方法是可以透過Server的機制去關閉winxp簡易檔案共用的功能

     

    謝謝

     

    2008年3月18日 下午 11:24

解答

  • If my memory serves me correctly, there is no such group policy that controls the "simple file sharing" functionality.  Moreover, domain joined Windows XP client should automatically disable the simple share by default. 

     

    So for standalone (workgroup) Windows XP clients, you could use either of the following methods:

    1. Disable simple file sharing by:
        a. Open my computer
        b. Click tools and folder options
        c. Click on the view tab
        d. and Uncheck "use simple file sharing"

    2. Disable simple file sharing by:
        a. Run "regedit" 

        b. Locate "HKLM\System\CCS\Control\Lsa\forceguest"

        c. Modify the "forceguest" entry value to 0 to disable "simple file sharing" (vice versa, 1 to enable it)

     

    HTH

    Marty

    2008年3月19日 上午 12:38

所有回覆

  • If my memory serves me correctly, there is no such group policy that controls the "simple file sharing" functionality.  Moreover, domain joined Windows XP client should automatically disable the simple share by default. 

     

    So for standalone (workgroup) Windows XP clients, you could use either of the following methods:

    1. Disable simple file sharing by:
        a. Open my computer
        b. Click tools and folder options
        c. Click on the view tab
        d. and Uncheck "use simple file sharing"

    2. Disable simple file sharing by:
        a. Run "regedit" 

        b. Locate "HKLM\System\CCS\Control\Lsa\forceguest"

        c. Modify the "forceguest" entry value to 0 to disable "simple file sharing" (vice versa, 1 to enable it)

     

    HTH

    Marty

    2008年3月19日 上午 12:38
  •  Marty Chen 寫信:

    If my memory serves me correctly, there is no such group policy that controls the "simple file sharing" functionality.  Moreover, domain joined Windows XP client should automatically disable the simple share by default. 

     

    So for standalone (workgroup) Windows XP clients, you could use either of the following methods:

    1. Disable simple file sharing by:
        a. Open my computer
        b. Click tools and folder options
        c. Click on the view tab
        d. and Uncheck "use simple file sharing"

    2. Disable simple file sharing by:
        a. Run "regedit" 

        b. Locate "HKLM\System\CCS\Control\Lsa\forceguest"

        c. Modify the "forceguest" entry value to 0 to disable "simple file sharing" (vice versa, 1 to enable it)

     

    HTH

    Marty

     

    不好意思我想請問一下

    如果我將改好的登入檔匯出後

    那我可以用群組原則的方式讓user登入後去套用這設定嗎?

    有文件可以參考說如何讓user登入去套用我設定的登入檔

    謝謝您

    2008年3月19日 上午 06:27
  • 如果是 Domain 環境,預設簡易分享是停用的。。。不過還是提供給你參考唄

     

    Go to GPO's Startup script and add the following entries: (red text goes to the "Name" field, blue text goes to "Parameters" field)

    reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\" /v "forceguest" /t reg_dword /d "0" /f

     

    C:\>reg /?

    REG Operation [Parameter List]

      Operation  [ QUERY   | ADD    | DELETE  | COPY    |
                   SAVE    | LOAD   | UNLOAD  | RESTORE |
                   COMPARE | EXPORT | IMPORT ]

    Return Code: (Except of REG COMPARE)

      0 - Successful
      1 - Failed

    For help on a specific operation type:

      REG Operation /?

    Examples:

      REG QUERY /?
      REG ADD /?
      REG DELETE /?
      REG COPY /?
      REG SAVE /?
      REG RESTORE /?
      REG LOAD /?
      REG UNLOAD /?
      REG COMPARE /?
      REG EXPORT /?
      REG IMPORT /?

     

    2008年3月19日 上午 06:43
  •  Marty Chen 寫信:

    如果是 Domain 環境,預設簡易分享是停用的。。。不過還是提供給你參考唄

     

    Go to GPO's Startup script and add the following entries: (red text goes to the "Name" field, blue text goes to "Parameters" field)

    reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\" /v "forceguest" /t reg_dword /d "0" /f

     

    C:\>reg /?

    REG Operation [Parameter List]

      Operation  [ QUERY   | ADD    | DELETE  | COPY    |
                   SAVE    | LOAD   | UNLOAD  | RESTORE |
                   COMPARE | EXPORT | IMPORT ]

    Return Code: (Except of REG COMPARE)

      0 - Successful
      1 - Failed

    For help on a specific operation type:

      REG Operation /?

    Examples:

      REG QUERY /?
      REG ADD /?
      REG DELETE /?
      REG COPY /?
      REG SAVE /?
      REG RESTORE /?
      REG LOAD /?
      REG UNLOAD /?
      REG COMPARE /?
      REG EXPORT /?
      REG IMPORT /?

     

     

    不好意思我剛剛測是將一台電腦加入domain後去看簡易共用的設定,他還是被打勾的,沒有被取消

    謝謝您提供資料

    我將照面的設定去做設定

    謝謝

    2008年3月19日 下午 03:27