Intel,Altiris Group

Disable Windows XP Simple File Sharing 

Jan 15, 2009 05:39 PM

I have scripted NoSFS.bat to disable Simple File Sharing on Windows XP Professional. Used when deploying the Altiris Agent.

The syntax for using NoSFS.bat is:

NoSFS ComputerName1 [ComputerName2 ... ComputerNamen]
where ComputerNameX is a Windows XP Professional computer name in your network.

Script:

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

License:AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support:User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.

Statistics
0 Favorited
0 Views
2 Files
0 Shares
0 Downloads
Attachment(s)
jpg file
9071.jpg   2 KB   1 version
Uploaded - Feb 25, 2020
zip file
NoSFS.zip   368 B   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Apr 07, 2009 10:45 PM

you can use GPO, here's an excel list for other settings

http://www.microsoft.com/downloads/details.aspx?familyid=7821C32F-DA15-438D-8E48-45915CD2BC14&displaylang=en

Apr 07, 2009 10:44 PM

If simple file sharing is enabled, everyone in your workgroup has access to your shared folders. If simple file sharing is disabled, members of your workgroup cannot access your shared folders until you choose to share particular folders or drives with those users or groups that you select.

If simple file sharing is enabled, the simple file sharing user interface is displayed instead of the Security and Sharing tabs. By default, this new user interface is implemented in both Windows XP Home Edition and Windows XP Professional if you are working in a workgroup. If you disable simple file sharing, the classic Security and Sharing tabs appear, and you can specify which users and groups have access to shared folders on your computer.

Apr 04, 2009 02:27 PM

Handy script but is there any particular reason behind disabling Simple File Sharing on Windows XP Professional?
Just curious...

Related Entries and Links

No Related Resource entered.