Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to disable Windows Sharing -- for real

To move files between my Mac and PC I used Windows Sharing on my MacBook Pro. It works like a charm.

To enable I go to System Preferences >> Sharing, check the "Windows Sharing" box, press the "Start" button, and enable Windows Sharing for my OS X user account.

I can then just type my Mac's IP into Windows Explorer on my XP box and voila, full access to my Mac home directory (after typing in my username and password, of course).

When I'm done I disable WS by performing the activation steps in reverse, and OS X happily says "Windows Sharing Off." However, I find that even though it's off I can still access my Mac from XP. In fact, I'm not even prompted for my password again.

How do I really turn off Windows Sharing in 10.4.8? Neither my XP box nor my Mac get restarted often, so if my XP box (the weaker link) was compromised, I don't like knowing that my Mac could be reached so easily with full control.

Any help appreciated. Thanks.







Posted on Mar 6, 2007 8:05 PM

Reply
Question marked as Best reply

Posted on Mar 6, 2007 9:26 PM

Windows File Sharing is managed by Launch Services. Two small processes, smbd and nmbd are launched automatically when requests to mount a Share via SMB/CIFS is detected.

To make really sure that these services do not run, type the following commands in a Terminal window:

sudo launchctl stop org.samba.smbd
sudo launchctl unload /System/Library/LaunchDaemons/smbd.plist
sudo launchctl stop org.samba.nmbd
sudo launchctl unload /System/Library/LaunchDaemons/nmbd.plist
4 replies
Question marked as Best reply

Mar 6, 2007 9:26 PM in response to Derekasaurus Rex

Windows File Sharing is managed by Launch Services. Two small processes, smbd and nmbd are launched automatically when requests to mount a Share via SMB/CIFS is detected.

To make really sure that these services do not run, type the following commands in a Terminal window:

sudo launchctl stop org.samba.smbd
sudo launchctl unload /System/Library/LaunchDaemons/smbd.plist
sudo launchctl stop org.samba.nmbd
sudo launchctl unload /System/Library/LaunchDaemons/nmbd.plist

Mar 6, 2007 9:31 PM in response to Derekasaurus Rex

Strange, but I'd start of by verifying Permissions with Disk Utility, and if that didn't work I'd try Trashing...

/Library/Preferences/com.apple.sharing.firewall.plist

/Users/nnnnLibrary/Preferences/com.apple.internetconnect.plist

/Library/Preferences/SystemConfiguration/preferences.plist

Reboot and set everything up again.

And/Or, get Applejack...
http://www.versiontracker.com/dyn/moreinfo/macosx/19596

After installing, boot holding down CMD+s, then when the prompt shows, type in...

applejack AUTO

Then let it do all 5 of it's things.

How to disable Windows Sharing -- for real

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.