<p>&#8216;Set Network Location&#8217; prompt is practically a Windows Firewall prompt so your firewall would be configured according to your location. For instance, if you select <strong>&#8216;Public&#8217;</strong> location, file and print sharing would be disabled for your security.</p>
<p><img src="http://wincert.net/wp-content/uploads/2012/01/network_locations.jpg" alt="" /></p>
<p>If you have the reason to disable the &#8216;Set Network Location&#8217; prompt in Windows 7 please do the following:</p>
<p>Open registry editor and navigate to the following key: <!--more--></p>
<p><strong>HKLM\SYSTEM\CurrentControlSet\Control\Network</strong></p>
<p>In the left pane right click on the Network key and click <strong>New &#8211;>; Key</strong></p>
<p><strong>NewNetworkWindowOff</strong></p>
<p><b><img src="http://wincert.net/wp-content/uploads/2012/01/newnetworkoff.jpg" alt="" /><br />
</b></p>
<p>Regardless of the value in this key, &#8216;Set Network Location&#8217; prompt should now be set to <strong>Off</strong>.</p>

Disable ‘Set Network Location’ prompt in Windows 7
