winrm basic config
rem config_winrm.bat
rem This script assumes WinRM 2.0 has been installed on XP. WinRM 2.0
rem should already be installed on Windows > XP
rem The quickconfig command used to fail if the firewall was disabled.
rem Hopefully they fixed that problem. It didn't present the last time
rem I ran quickconfig with the disabled firewall
rem For more information on WinRM, please visit Microsoft's WinRM site:
rem http://msdn.microsoft.com/en-us/library/aa384426(v=VS.85).aspx
winrm quickconfig
winrm set winrm/config/client/auth @{Basic="true"}
winrm set winrm/config/service/auth @{Basic="true"}
winrm set winrm/config/service @{AllowUnencrypted="true"}
rem The following should show a service listening
netstat -an | findstr "5985"