I think I finally fixed my Homesharing drop out issues using Windows. Over the past few weeks, I have literally tried everything to get it to stop and nothing worked for more than a few hours at most. I haven't posted in this discussion in a while, but basically I would experience random Homesharing drop outs. I would start watching a movie and about 2-3 times during the movie it would just kick me back to the main screen of the ATV2. Often times, I would have to even restart iTunes to get everything to work.
I took this idea from another thread about two weeks ago, but I had to modify it a little bit to get it to work for me. I didn't realize the modifications until yesterday. First of all, I'm running Windows 7-64bit with the latest version of iTunes and ATV2 software connecting via WiFi (I had these issues on Vista as well though so it might work for that too).
Step by step procedure:
1) Click the Start menu and type "Firewall" in the search box, press enter
2) Click "Inbound Rules" on the left
3) Right click and Disable all the "Bonjour Service" rules... I have four of them
4) On the right side, click "New Rule"
5) Choose "Port" and click next
6) Choose "TCP" and Specific Local Port put in 3869, click next
7) Choose allow the connection click next
8) UNCHECK "Domain" and "Private", click next
9) Give it a name (I used BonjourTCP) and click finish
Now you need to do the same thing but for the UDP:
10) On the right side, click "New Rule"
11) Choose "Port" and click next
12) Choose "UDP" and Specific Local Port put in 5353, click next
13) Choose allow the connection click next
14) UNCHECK "Domain" and "Private", click next
15) Give it a name (I used BonjourUDP) and click finish
So now you should have two new Bonjour rules with the others disabled. Restart / start iTunes and hopefully all will be working.
I have been up and running with no issues for over 24 hours. My WiFi sync in iTunes is also working fine! I know soon as I post this something is going to get messed up (hopefully not). But, I was actually monitoring the firewall activity (I didn't even know this could be done before yesterday) and when I had the original setup, I could actually see the "drops" taking place on the Public profile. Once I enabled the new rules, the drops were gone! Also, for whatever reason, this only works for me when I uncheck the "Domain" and "Private" profiles as detailed above.
Hopefully this works for someone and I'm very interested to see how this works for others so please post back either way! Good Luck!!