Windows Admin Center
1. Open 'Services'
Remote Desktop - Windows Remote Management (WS-Management) » Automatic » Start
2. List current TrustedHosts:
Get-Item WSMan:\localhost\Client\TrustedHosts
3. Add multiple computers to TrustedHosts:
Set-Item WSMan:\localhost\Client\TrustedHosts -Value 'DESKTOP-MACPRO, DESKTOP-MECHIKALI'
OR
Set-Item WSMan:\localhost\Client\TrustedHosts -Value '*'
3. Finally writing the variable content as new TrustedHost list:
$TrustedHosts=(get-item WSMan:\localhost\Client\TrustedHosts).value
4. Tell system to use contents of variable $TrustedHosts as TrustedHosts list:
Set-Item WSMan:\localhost\Client\TrustedHosts -Value $TrustedHosts
5. Registry entry:
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1
6. Add Firewall rule:
Set-NetFirewallRule -Name WINRM-HTTP-In-TCP -RemoteAddress Any
*** NOTE ***
If client computer is not visible after above setup, try to do followings:
1. Network - Private
2. Control Pane » Sysemt and Security » Windows Defender Firewall » Allow an app or feature through Windows Defender Firewall
- Remote Service Management
- Windows Remote Management
Post a Comment
0 Comments