-
Notifications
You must be signed in to change notification settings - Fork 173
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
Add required setting to run win_updates using ssm instead of ssh #521
Comments
What setting in particular here needs to be set? I'm unsure what exactly we need to be documented. |
That if you are using the win_updates module with SSM connection (AWS with Windows hosts) you should follow this https://learn.microsoft.com/en-us/sharepoint/troubleshoot/administration/800703fa-illegal-operation-error#method-2 if you encounter this Honestly, I would like to give answers to why this error happens but I cannot give an accurate response, I just can say that this error happened to me only when the setting "Do not forcefully unload the user registry at user logoff" was disabled, tested multiple times on different windows hosts |
We are getting this as well. Trying various things but haven't figured out what's up. Setting that group policy is not recommended as it can mess up roaming profiles. I am going to try to turn on all the PowerShell debugging to see what is happening. |
The error in AWX is as such: I ran the offending command in AWS Session Manager: PS C:\Windows\system32> (New-Object -ComObject Microsoft.Update.SystemInfo).RebootRequired
|
SUMMARY
I'm trying to use the win_updates module with ssm connection plugin, it was working but out of the wild it started showing this error:
After quite some time trying to look up the problem, I run across this https://learn.microsoft.com/en-us/sharepoint/troubleshoot/administration/800703fa-illegal-operation-error which basically shows how to enable the setting that makes this module work on hosts that run via SSM instead of SSH. Linking this documentation under the module page might save some headaches.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
The text was updated successfully, but these errors were encountered: