# WinRM on a computer that is not part of an AD domain

<p class="callout info">This guide is an aid to perform a basic configuration of WinRM, *but you will need to adjust the configuration for your environment if you require any particular parameter.*</p>

- You must ensure that the network you are connecting to is private, in a PowerShell® terminal window:

```powershell
Get-NetConnectionProfile
Set-NetConnectionProfile -Name "MYWIFINETWORK" -NetworkCategory Private
```

- Activation of the administrator user and assignment of a password:

```powershell
net user administrator /active:yes
net user administrator *
```

- WinRM configuration and allow connection from specific or all hosts:

```powershell
winrm quickconfig
Set-Item WSMan:\localhost\Client\TrustedHosts -Value *
```

- Restart the service:

```powershell
Restart-Service WinRM
```