Under the profile you wish to change, scroll to the HomeGroup Connections section and click Use User Accounts and Passwords to Connect to Other Computers or Allow Windows to Manage HomeGroup Connections (default). Click Save Changes.
Windows 7 saves your changes to the HomeGroup connections settings.