Questions tagged [winrm]
The winrm tag has no usage guidance.
15
questions
0
votes
0
answers
32
views
PowerShell remoting only working on certain networks?
So I am trying to do a project at my work where I automate some process and for that I need to PowerShell remote onto computers using their computer name/host-name. To do this I am using "enter-...
0
votes
0
answers
391
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 ...
0
votes
0
answers
273
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 ...
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 ...
2
votes
1
answer
8k
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.
...
1
vote
0
answers
515
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 ...
2
votes
1
answer
689
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 ...
2
votes
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/...
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 ...
1
vote
0
answers
503
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 ...
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 ...
2
votes
1
answer
8k
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 ...
1
vote
1
answer
8k
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 ...
0
votes
0
answers
288
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 ...
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 ...