• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Disable Simple File Sharing via registry key or GPO

reicherb

Platinum Member
Is there a registry key that can be used to disable simple file sharing for ALL users on a WinXP PC? Or maybe it can be done with a Group Policy?

I need to disable it on many PCs and don't want to make a visit to each one.

Thanks.
 
Of course there is a way. How about I give you 2? 🙂

1 - Use a script and add it early in the executed batch files of your boot disk. I have scripted NoSFS.bat to disable Simple File Sharing on Windows XP Professional.

The syntax for using NoSFS.bat is:

NoSFS ComputerName1 [ComputerName2 ... ComputerNameX]

where ComputerNameX is a Windows XP Professional computer name in your network.

NoSFS.bat contains:

@echo off
If {%1}=={} @echo Syntax: NoSFS ComputerName1 [ComputerName2 ... ComputerNamen]&goto :EOF
setlocal
:Next
if {%1}=={} endlocal&goto :EOF
set computer=%1
shift
set computer=%computer:"=%
set key="\\%computer%\HKLM\SYSTEM\CurrentControlSet\Control\Lsa"
if /i "%computername%" EQU "%computer%" set key="HKLM\SYSTEM\CurrentControlSet\Control\Lsa"
@echo reg add %key% /v forceguest /t REG_DWORD /d 00000000 /f
reg add %key% /v forceguest /t REG_DWORD /d 00000000 /f
@echo.
goto :Next


2 - Or directly access this key:
\\%computer%\HKLM\SYSTEM\CurrentControlSet\Control\Lsa & set DWORD=00000000


I take it you know how to create your own boot disks. Solution 1 works more safely than2.

Good luck.
 
I found one object in Group Policy that might do it. In Computer Configuration/Windows Settings/Local Policies/User Rights Assignment there is "Create Permenant Shared Objects". I haven't tested it as we NEED people to be able to create/use shares. But you might try that.
 
Back
Top