Sign in to follow this  
Followers 0
baperkins

How to Disable Simple File Sharing Scripted

6 posts in this topic

Hi all,

I am looking for a way to disable "Simple File Sharing" either through a script or registry hach after my unattended install happens as i have another script that uses Xcalcs.exe to set permissions on a certian file but the "Simple File Sharing" i found has to be disabled first to set the permissions. Any help will be greatly appreciated.

Thank you.

0

Share this post


Link to post
Share on other sites

Try this.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"forceguest"=dword:00000000

0

Share this post


Link to post
Share on other sites

Yes this is for XP. The problem is that by default Simple File Sharing is turned on. I need to turn it off in a script before i make my NTFS permission changes to the said file. I know i can do it manually in Tools>>Folder Options but i need to automate it.

Thx

0

Share this post


Link to post
Share on other sites

Worked like a charm :) Thank you sooooo much.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]

"forceguest"=dword:00000000

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.