Turn off simple file sharing using command line

G

Guest

How do I turn of simple file sharing using the command line? I'm creating a
batch file and I want to turn off simple file sharing on all my workstatioins
using a batch file. Any advice, direction or suggestion would be greatly
appreciated.
 
R

Ramesh, MS-MVP

Registry Key and Values
When security settings are set in Windows XP, the following registry key is
used:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
The values are: .ForceGuest=1: Use this value to force guests on
..ForceGuest=0: Use this value to force guests off

How to Set Security in Windows XP Professional That Is Installed in a
Workgroup:
http://support.microsoft.com/?kbid=290403

Distributing Registry Changes
http://support.microsoft.com/default.aspx?scid=kb;en-us;310516&sd=tech#XSLTH3235121122120121120120


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


How do I turn of simple file sharing using the command line? I'm creating a
batch file and I want to turn off simple file sharing on all my
workstatioins
using a batch file. Any advice, direction or suggestion would be greatly
appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top