How to set up a network profile on each network card separately?


  • Hello.

    I manage servers with Microsoft Windows Server 2008 R2. Each server has three NICs.

    First NIC is connected to LAN - domain profile - it is OK. Second and third NIC is connected to data storage via iSCSI (different ip addresses from domain ip addresses) and this networks have also domain profile - BAD :-( I want for iSCSI ports to have public network profile. I want to separate them from domain network. How to do it?

    See attached images. First picture is OK, second picture is current status :-( 

    Thank you alot for advice! 

    Wednesday, April 12, 2017 1:47 PM

All replies

  • You might try;


    to find the InterfaceIndex number, then;

    Set-NetConnectionProfile -InterfaceIndex <index number> -NetworkCategory Public



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Wednesday, April 12, 2017 2:23 PM
  • To Dave Patrick :

    Yes, this is easy solution, but works for Windows Server 2012 (Win 8) and higher.

    Those commands is absent in Powershell for Windows Server 2008 R2 (Win 7)    :-((

    • Edited by gePard75 Thursday, April 13, 2017 10:30 AM
    Thursday, April 13, 2017 10:08 AM
  • Hi,

    Have you tried Nedim's solution?I have tested,it could work.

    Best Regards
    Please remember to mark the replies as an answers if they help. If you have feedback for TechNet Subscriber Support, contact

    Wednesday, April 19, 2017 7:58 AM