If you don't want Windows 7 to automatically update the time settings by contacting Microsoft's server:
To disable Homegroup Sharing:
- Click on Start > Run > Type "services.msc"
- In the Services window, look for the following entries in the the right pane:
- Windows Time"
- Set their Startup type as "Disabled"