Tuesday, March 14, 2023

Merubah network category pada windows 10 menjadi domain, private atau public

 Cari network yang ingin dirubah di :
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles

Cari profilename yang ingin dirubah, Lalu rubah nilai category berdasar nilai berikut:


Network LocationData Value
Public0 (zero)
Private1
Domain2

caranya itu, tapi nggak kelihatan efeknya

 10

  1. Open PowerShell as Administrator.
  2. Type or copy-paste the following command:
    Get-NetConnectionProfile
  3. In the command output, see the line "Name". It contains the name of your network which you need to use with the next command.
  4. To set the network location type to Public, type or copy paste the following command:
    Set-NetConnectionProfile -Name "Your Network Name" -NetworkCategory Public

    Replace the "Your Network Name" with your actual network name you got from the previous command.Set Network Type With PowerShell


No comments:

Post a Comment