Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


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.