?
Solved

How to disable Simple File Sharing remote on machines in a WOKRKGROUP

Posted on 2008-06-18
8
Medium Priority
?
3,765 Views
Last Modified: 2008-07-03
How to disable Simple File Sharing remotely on machines in a WOKRKGROUP, we can't run remote tools like NETSH using PSEXEC because our XPs will not be on a domain (special trade show setup) and be default XPs have SFS turned on, so is there a way to disable it remotely somehow? or it's a "Catch 22" situation?

Thanks
0
Comment
Question by:piotrmikula108
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 16

Expert Comment

by:Brian Pringle
ID: 21818403
You can still use psexec.  Instead of the username being in the domain\username format, use computername\username.
0
 
LVL 1

Author Comment

by:piotrmikula108
ID: 21825248
I did try that, and as long a as the simple file sharing is enabled can't logon
0
 
LVL 16

Accepted Solution

by:
Brian Pringle earned 2000 total points
ID: 21825344
If you can't even sign on remotely with psexec, then you probably can't do anything else remotely, either.  You are going to have to touch each computer to manually remove the simple file sharing.

By the way, is it Windows XP Home Edition or Professional Edition?

Home Edition will not allow you to remotely administer/run applications.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:piotrmikula108
ID: 21825380
XP Pro, hmmm...got 50 PCs to do it on :-(
0
 
LVL 16

Expert Comment

by:Brian Pringle
ID: 21825605
0
 
LVL 1

Author Comment

by:piotrmikula108
ID: 21825883
Thanks for looking this up for me!

Please see my customized script and let me if I did it right
@echo off
If {%1}=={} @echo Syntax: NoSFS 10.0.6.94, 10.0.6.95, 10.0.6.96 &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

Open in new window

0
 
LVL 16

Expert Comment

by:Brian Pringle
ID: 21826291
I don't do a lot of scripting, but it looks fine.  I would say to try it on one or two computers to see if it works.  

Sorry.... I still rely heavily on command line batch files, so I don't usually need to resort to VBScript.
0
 
LVL 1

Author Comment

by:piotrmikula108
ID: 21832486
I found a program Multi-Remote-Registry-Changer (or it can be done with Windows command line tool "REG") that can disable the SFS remotely as long as the Firewall is disabled or when it's enabled the File and Printer Sharing exception is allowed

then you need to add this string to your registry

HKLM\system\currentcontrolset\control\Lsa /v ForceGuest /t Reg-Binary /d 0

and it will force no Guest mode on that machine which means the SFS will be disabled
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question