From 28e859485887e9db9bdeef9321108e2ee989d879 Mon Sep 17 00:00:00 2001 From: Guillem Hernandez Sola Date: Thu, 20 Nov 2025 13:11:37 +0100 Subject: [PATCH] Try new Basic Auth 3 --- misc/prepare-windows-agent | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/misc/prepare-windows-agent b/misc/prepare-windows-agent index ace9ec4..5b3e396 100644 --- a/misc/prepare-windows-agent +++ b/misc/prepare-windows-agent @@ -1,11 +1,6 @@ Ansible WindowsResumen: 1) Poner el Windows de Red Publica a Privada 2) winrm quickconfig -force -3) winrm set winrm/config/service '@{AllowUnencrypted="true"}' -4) Set-Item -Path WSMan:\localhost\Service\Auth\Basic -Value $true -5) Set-Item -Path WSMan:\localhost\Service\AllowUnencrypted -Value $true -6) Set-Item -Path WSMan:\localhost\Service\Auth\Basic -Value $true -7) New-NetFirewallRule -Name "WinRM HTTP" -DisplayName "WinRM HTTP" -Enabled True -Direction Inbound -Protocol TCP -LocalPort 5985 -Action Allow - - - +3) Set-Item -Path WSMan:\localhost\Service\Auth\Basic -Value $true +4) Set-Item -Path WSMan:\localhost\Service\AllowUnencrypted -Value $true +5) New-NetFirewallRule -Name "WinRM HTTP" -DisplayName "WinRM HTTP" -Enabled True -Direction Inbound -Protocol TCP -LocalPort 5985 -Action Allow \ No newline at end of file