Scripting Question

Disable "Simple File sharing" globally

12/15/2011 3497 views
Hi guys,
Does anyone of you know how to turn off the Simple File sharing on Win7 via VBS or Batch or somthing like that?

Under XP there was a simple registry key to set:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Forceguest = 0

but that doesn't work with win7 anymore [:@]

I've been looking for days now but I can't find a solution..

I hope you can help me
0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

Use a lightweight snapshot tool (e.g. InstallWatch) to capture the change under the OS and script accordingly.
Answered 12/15/2011 by: VBScab
Red Belt

Check out this link


some firewall policy has to be modified .

Check in reg key HLKM\system\currentcontrolset\control\sharedaccess\enable contol

and HLKM\system\currentcontrolset\services\sharedaccess\firewall
Answered 12/15/2011 by: mahendraKumar
Senior Yellow Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ