Questions tagged [winrm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
223 views

The config setting Basic cannot be changed because is controlled by policies

Im trying to enable basic authentication on Windows Server with command winrm set winrm/config/client/auth '@{Basic="true"}' I get an error saying The config setting Basic cannot be changed ...
eia92's user avatar
  • 63
0 votes
0 answers
255 views

Accessing WSL2 filesystem on localhost through WinRM

Is it possible to somehow access WSL2 filesystem (say \\wsl.localhost\Ubuntu\home\foo\bar) when WinRM remoting into localhost using certificate based authentication method? I am trying to do so from ...
blami's user avatar
  • 461
1 vote
0 answers
6k views

WinRM fails: The client cannot connect to the destination specified in the request

I have two servers (sourceserver1 and destinationserver1). They are not on the same network segment, but do have connectivity. Today, Invoke-Command stopped working when sourceserver1 tries to connect ...
StackExchangeGuy's user avatar
2 votes
1 answer
7k views

WinRM service fails to listen when configured via group policy

From Powershell, running Get-WSManInstance winrm/config/listener -Enumerate Produces standard output, including; source: GPO Transport: HTTP Port: 5985 ListeningOn: null The service is running. ...
aphid's user avatar
  • 221
1 vote
0 answers
467 views

Tab Autocomplete does not work in windows CMD when remoting into machine using WINRS - WINRM

When inside a basic windows cmd prompt doing something like cd <TAB> will start auto-completion; However, when I connect to a remote machine using winrs the <TAB> key simply inserts a tab ...
Cynapse's user avatar
  • 150
2 votes
1 answer
556 views

Win10 - how to restore deleted WinRM service?

I have deleted by mistake the WinRM service from a WIN 10 machine, How can I restore it ? Is there some installation \ sc.exe command I can run to recreated it or can it be done by adding windows ...
Epligam's user avatar
  • 341
1 vote
1 answer
1k views

How to configure WinRM on Windows Container to accept connections from winrs from the host

I am beginning user of Windows Containers, and am novice at Windows management, so I've been digging at this for a couple days with only not-quite-there success. My dockerfile; FROM mcr.microsoft.com/...
CAB's user avatar
  • 465
0 votes
1 answer
1k views

windows 10 winrm not accepting certificate authentication

I would like to connect remotely to a windows machine using certificates instead of username and passwords. The connections will be made mainly from Linux server using ansible or pywinrm modules. I ...
danidar's user avatar
1 vote
0 answers
433 views

Strange behavior of New-Item with PSSession. Port 445 blocked

I have a strange experience using New-Itemin powershell. My SMB port are all blocked on firewall, so my only alternative is using a PSSession. I successfully create a session and can invoke commands ...
RokX's user avatar
  • 111
2 votes
0 answers
3k views

Enter-PSSession WinRM cannot process the request

I have two computers in the domain. I can successfully execute command: Enter-PSSession "some computer name" -credentials $cred But for one reason, I need to execute this command without the ...
Maxim Karyonov's user avatar
2 votes
1 answer
7k views

How to get Windows Admin Center working with workgroup PC's

Trying to get Windows Admin Center working on my home network I ran into a few errors Trying to add the computer A computer with the name 'pc1' was not automatically discovered. You can still ...
fiat's user avatar
  • 2,081
1 vote
1 answer
7k views

WinRM (HTTPS) destination computer returned an 'access denied' error

I just enabled WinRM service in my Windows 10 machine (Home edition - no group policy) for HTTPS. I first created a self signing test certificate through powershell and started a WinRM listener (port ...
bashbin's user avatar
  • 111
0 votes
0 answers
279 views

How to remotely run an application in Windows

I'm trying to run an application using WinRS: winrs -r:172.19.159.50 -u:my-user -p:my-pass "C:/Program Files/folder/myapp.exe" But I get this error: Unhandled Exception: Process is terminated due ...
Natiya's user avatar
  • 259
1 vote
1 answer
3k views

WinRm: remove IPs from listeningOn

My machine is a Windows 10 Pro x64 @1804 (is not a server, so I posted here and not on ServerFault) My final goal is enable this machine to be remote controlled using ansible, but only by a specific ...
realtebo's user avatar
  • 590