Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix windows7 network profile #43

Merged
merged 5 commits into from
Feb 28, 2017
Merged

Conversation

obilodeau
Copy link
Member

  • New PowerShell script to set the NetworkLocation on installation. Every interface will be set to "private" which enables WinRM to run (otherwise WinRM config fails). Run as a FirstLogin script right before enabling WinRM. Fixes WinRM timeout caused by public NetworkLocation which disables WinRM  #33.
  • Doc: Added some helpful hints to debug problems with Autounattend.xml FirstLogin scripts
  • Doc: Added a note that --debug leave VMs running

Since Get-NetConnectionProfile and Set-NetConnectionProfile doesn't
exist on Windows 7
Another attempt at #33. This time we set all network location regardless
of the name and I made the script global since I think that it might be
required on other OS also (and the code should work on more recent
OSes).

Borrowed from the packer-windows project.
Not sure if it helped or not but it works now.
@obilodeau obilodeau added the bug label Feb 27, 2017
@obilodeau obilodeau mentioned this pull request Feb 27, 2017
@obilodeau
Copy link
Member Author

FYI: I'll port this fix to 64 bit after the merge (I branched before support was added...)

@Svieg
Copy link
Collaborator

Svieg commented Feb 28, 2017

Looks good!

@Svieg Svieg merged commit 879a870 into master Feb 28, 2017
@obilodeau obilodeau deleted the bugfix-windows7-network-profile branch July 11, 2017 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants