baperkins Posted March 17, 2004 Posted March 17, 2004 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.
ljones2 Posted March 17, 2004 Posted March 17, 2004 Try this.Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]"forceguest"=dword:00000000
baperkins Posted March 17, 2004 Author Posted March 17, 2004 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
baperkins Posted March 17, 2004 Author Posted March 17, 2004 Worked like a charm Thank you sooooo much.Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]"forceguest"=dword:00000000
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now