Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
baperkins

How to Disable Simple File Sharing Scripted

Recommended Posts

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.

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

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

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×