-
Notifications
You must be signed in to change notification settings - Fork 434
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
With-windows-updates doesnt start WinRM service #314
Comments
Hi, I also observed a similar issue recently and do also not understand why enable-winrm.ps1 is only part of the "WITHOUT UPDATES" block. I had no time to investigate deeper, so only a thought: Have you increased the |
@blschatz @marcus3876 the See line #'s 36, 40, and 141 here. |
The problem I face everytime is that the script fails at the end because it cannot get $connections
|
When no update : everything is okay. |
Following seems to fix the build with update :
When I up the vmware vagrant box, I get uninstalled updates : |
I have ran it with 6h timeout and it ran well : it made me a vagrant box. |
I've successfully uncommented the "WITHOUT .. UPDATES" and commented the "WITH .. UPDATES" stanzas in the windows 10 Autounattend.xml, and had packer successfully connect and orchestrate running scripts via winrm.
I've now reverted this to do updates, but winrm won't connect after the updates are installed. Looking at the provided Autounattend.xml, there's no stanza in the "WITH .. UPDATES" stanzas to re-enable winrm. Is it enabled in another way, or is this an omission?
I've tried copying the enable-winrm.ps1 SynconronousCommand stanza to after the win-updates.ps1 stanza, but it doesn't appear to get run. (Updates installed without issue).
Any suggestions the best way to achieve this?
Thanks!
The text was updated successfully, but these errors were encountered: