WinRb / winrm-elevated

Runs PowerShell commands as elevated over Windows Remote Management (WinRM) via a scheduled task
Apache License 2.0
27 stars 17 forks source link

Question/Bug winrm-elevated on a French Windows 2008 server #22

Closed tarraschk closed 4 years ago

tarraschk commented 6 years ago

Hello @mwrock

we use a regular base winrm-elevated with success, however we encountered an issue on a French Windows 2008 server recently.

During the execution of our scripts with the winrm-elevated gem, we have met the following error:

Au caract��re C:\windows\temp\winrm-elevated-shell-0885420b-ab90-49dd-b7e2-2474f
5060365.ps1:12 : 20
+ $logon_type_xml = "Password"
+                    ~
L'op���rateur ����Password"
+                    ~
L'op���rateur ����Password"
+                    ~
L'op���rateur ����Password"
+                    ~
L'op���rateur ����

If I had to translate it, it would be:

At char�� C:\windows\temp\winrm-elevated-shell-0885420b-ab90-49dd-b7e2-2474f
5060365.ps1:12 : 20
+ $logon_type_xml = "Password"
+                    ~
The operator��� ����Password"
+                    ~
The operator��� ����Password"
+                    ~
The operator��� ����Password"
+                    ~
The operator ����

We have been able to reproduce the bug on the same machine several times, but we have not yet found any way to fix this.

Do you have any idea/insight on what might have happened?

Best,

tarraschk commented 6 years ago

up

tarraschk commented 4 years ago

Windows Server 2008 is not supported by Microsoft anymore, so let's close this issue :)