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   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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

Please log in to comment
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

Please log in to comment