How To Stop Windows Viruses From Infecting Mac Files in VMware
The way to resolve is to turn off VMWare Fusion's sharing attribute,then build a shared folder in the virtual Windows machine, with which you can access with OSX Finder. In this way, any virus will not "notice" files on the OS-X host, but it still switches files back and forth. The following commands are for a virtualized windows XP Home. In XP Pro sharing preferences are slightly different, but you can easily figure it out. Once these commands are followed, you can still drag files between the virtual machine and the OS X desktop:
- Shut down the virtual Windows via Start -> Turn Off Computer.
- On VMWare Fusion Click on Settings for the virtual machine, select on Shared Folders on left, then remove all checks against Enabled and Enabled at Power On.
- Restart the virtual machine.
- When booted,choose folder that you want to share and right-click (such as My Pictures) then click on Properties.
- Click on Sharing tab and click on hyperlinked text that says "If you understand the security risks but want to share files..."
- In the dialog that appears, click Just Enable File Sharing, and click OK.
- Click Share This Folder On the Network, and then click Allow Network Users to Change my Files. Click OK.
- Now you will need IP address of the virtualized Windows computer. Most likely it will be 192.168.61.129, but you can check by clicking Start -> Run, typing cmd, and typing ipconfig at the prompt. check for the line that reads IP Address.
- On the OS X host computer, open a Finder window and click Go -> Connect to Server.
- On the Server Address line, type smb://192.168.61.129 (possibly replacing the IP address with the one you discovered earlier). Click Connect.
- A dialog should appear letting you log into the Windows share. You might have to type your Windows user-name and password. If there is no password, leave the password field blank.