Skip to content

Commit

Permalink
bugfix: Increasing WinRM memory limit. #31 fix port to Win7 x64
Browse files Browse the repository at this point in the history
  • Loading branch information
obilodeau committed Feb 28, 2017
1 parent ef3fe5d commit c93f2d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions malboxes/installconfig/windows7_64/enablewinrm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ winrm quickconfig -q -transport:http
winrm set winrm/config/client '@{AllowUnencrypted="true"}'
winrm set winrm/config/service '@{AllowUnencrypted="true"}'
winrm set winrm/config/service/auth '@{Basic="true"}'
# .Net 4.0 installer (a choco dep) fails w/o this amount of memory (#31)
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="800"}'
net stop winrm
netsh advfirewall firewall set rule group="remote administration" new enable=yes
netsh firewall add portopening TCP 5985 "Port 5985"
Expand Down

0 comments on commit c93f2d6

Please sign in to comment.