Skip to content

Windows 10 issue with ipconfig & ping #88

@liberodark

Description

@liberodark

Hello,

I have strange behavior on rundeck 4.6.1
When I run ipconfig or ping command via winrm in kerberos with shell powershell.
All Windows Servers 2016 / 2019 are OK
But Windows 10 turns me a Failed: NonZeroResultCode: [WinRMPython] Result code: 1
But have set on Windows 10 Set-ExecutionPolicy -ExecutionPolicy Unrestricted and other strange point all other commands work...

Have try on Windows 10 tasklist / nslookup / systeminfo / hostname etc... All is OK but ipconfig & ping fail only on Windows 10.
Version of W10 : 21H2 10.0.19044 Language fr-FR
Have fixed the issue on switch on en-US

Also have test directly on winrm session with Enter-PSSession -ComputerName my_server

ipconfig

ipconfig

Configuration IP de Windows


Carte Ethernet Ethernet0 :

   Suffixe DNS propre … la connexion. . . :
   Adresse IPv4. . . . . . . . . . . . . .: 10.10.155.20
   Masque de sous-r‚seau. . . .ÿ. . . . . : 255.255.255.0
   Passerelle par d‚faut. . . .ÿ. . . . . : 10.10.155.254

ping

ping 1.1.1.1

Envoi d'une requˆte 'Ping'  1.1.1.1 avec 32 octets de donn‚esÿ:
D‚lai d'attente de la demande d‚pass‚.
D‚lai d'attente de la demande d‚pass‚.
D‚lai d'attente de la demande d‚pass‚.
D‚lai d'attente de la demande d‚pass‚.

Statistiques Ping pour 1.1.1.1:
    Paquetsÿ: envoy‚s = 4, re‡us = 0, perdus = 4 (perte 100%),

And open issue on : diyan/pywinrm#357

Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions