Skip to content

Instantly share code, notes, and snippets.

@mapbutcher
Created July 17, 2013 01:19
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save mapbutcher/6016861 to your computer and use it in GitHub Desktop.
Save mapbutcher/6016861 to your computer and use it in GitHub Desktop.
Enable WinRM with basic auth
set-executionpolicy -executionpolicy remotesigned
winrm quickconfig -q
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="512"}'
winrm set winrm/config '@{MaxTimeoutms="1800000"}'
winrm set winrm/config/service '@{AllowUnencrypted="true"}'
winrm set winrm/config/service/auth '@{Basic="true"}'
@nduytg
Copy link

nduytg commented Jun 5, 2018

Thanks a lot. This solves my problem^^

@SerjNIX
Copy link

SerjNIX commented Oct 30, 2020

Thank you so match!!! I solved my problem on windows server 2008.

@gopihc
Copy link

gopihc commented Oct 28, 2021

This worked..!!

@YoraiLevi
Copy link

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment