Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-06-18
8
Medium Priority
?
3,791 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
Independent Software Vendors: 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

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!

Question has a verified solution.

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

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
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…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

636 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