Change the default profile for unidentified networks through the registry.

Hi, I've recently installed a copy of Windows 7 Home Premium. Recently I've attempted to share files over a computer to computer network without a router. I've run into problems with this however, because Windows will just recognize this as an unidentified network, set its profile to public and disable sharing. I'm aware that the default profile is changeable through the Local Security Policy editor, but being on Home, I'm unable to access that, so my question is this:

Is there a way to change the network profile settings for unidentified networks in any way besides the local security policy editor? (through the registry?)

Question Info

Last updated February 22, 2019 Views 16,827 Applies to:

Hi Konaa,

1. Click start type Regedit

2. Find hklm:\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}

3. Look for your nic adapter and create a dword named "*NdisDeviceType" and modify the value from 0 to 1 and disable/enable network adapters .

You also might try this :

1.Open registry editor, if you are prompted for an administrator password or for confirmation, type your password, or click Continue .

2.Locate and then click the following registry subkey:


In this registry path, click the (GUID) subkey that corresponds to the network adapter that is connected to the network.

3.On the Edit menu, point to New , and then click DWORD (32-bit) Value .

4.In the New Value #1 box, type DhcpConnEnableBcastFlagToggle , and then press ENTER.

5.Right-click DhcpConnEnableBcastFlagToggle , and then click Modify .

6.In the Value data box, type 1 , and then click OK .

7.Close Registry Editor.

Modifying REGISTRY settings incorrectly can cause serious problems that may prevent your computer from booting properly. Microsoft cannot guarantee that any problems resulting from the configuring of REGISTRY settings can be solved. Modifications of these settings are at your own risk.

How to back up and restore the registry in Windows XP:

Back up the registry:


Look for bonjour service by typing "services.msc"  ...START -> "search box" and Enter.

This service it's installed by Apple if you have iTunes or adobe aplications.


Thanks and Regards:
Shalini Surana - Microsoft Support.
Visit our  Microsoft Answers Feedback Forum and let us know what you think.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.