Questions tagged [winrm]
190 questions
6
votes
1 answer
WinRM-Service is running but can't be reached
I have a virtual testing environment for developing scripts. As .NET isn't capable of all the possibilities PowerShell offers I use Remote PowerShell Runspaces.
My problem is now, that I can't reach the WinRM-Service on the FileShare-Memberserver,…

GrindelOh
- 165
- 1
- 1
- 7
6
votes
1 answer
Hyper-V Manager - Use HTTPS with WinRM
I've successfully configured WinRM on my Hyper-V server to use HTTPS. I am able to connect to it and execute commands from my client PC by using the same local username and password on both (they are in a Workgroup) e.g. winrs…

Monstieur
- 536
- 3
- 15
6
votes
1 answer
Remote PowerShell, WinRM Failures: WinRM cannot complete the operation
When running Enter-PSSession COMPUTERNAME with Enable-PSWSManCombinedTrace, I see the following relevant messages in the Windows Remote Management Operational log:
WSMan operation Get failed, error code 2150859046
WinRM cannot complete the…

Tohuw
- 498
- 2
- 9
- 24
5
votes
1 answer
Forward Kerberos Authentication on Ansible
I have an ansible control machine (host-A) that need to talk with host-C, an Windows machine that doesn't have local users (It's an Active Directory).
host-A doesn't have network access to host-C, but the communication it's possible using…

Bernardo Vale
- 151
- 5
5
votes
5 answers
How to give a user access to the Certificate Store on Windows Server 2012?
I've battling an issue for the last couple of days that I cannot seem to resolve. I'm not an administrator although I have some knowledge about some administrative tasks.
I have a PowerShell script that uses XapSignTool.exe to sign a .xap package.…

simich
- 171
- 1
- 6
5
votes
4 answers
Why can a Domain Admin run a powershell cmd locally, but connecting over WinRM with the same account, command returns an UnauthorizedAccessException?
I'm trying to administer a Windows 7 machine remotely. I've enabled WinRM and can use Enter-PsSession to connect to the remote machine.
However, I'm noticing a difference between running a particular command locally, vs running it remotely, even…

growse
- 8,020
- 13
- 74
- 115
5
votes
1 answer
How do I change Listener port in Powershell/winrm 2.0?
In quite a few places the command for changing the port winrm listens on look like this:
winrm set winrm/config/Listener?Address=*+Transport=HTTP @{Port="8888"}
However this does not work for me. The error I'm getting is:
Error: Invalid use of…

Andrew Savinykh
- 526
- 2
- 7
- 21
5
votes
2 answers
Problem remotely managing Exchange Server 2010
I can't connect to the instance of exchange server 2010 through EMC on the local machine running w2k8 r2. I've checked all the default website bindings, the kerberos auth and WSMan are set to native type in powershell and I still get this error…

Carlos
- 213
- 1
- 8
4
votes
1 answer
Where is WinRMRemoteWMIUsers__ local group in Windows Server 2016?
With Windows Server 2012 R2 I can use the group WinRMRemoteWMIUsers__ to enable remote PowerShell execution via -CimSession for non-admin users. However, the group is missing on my Windows Server 2016 machines and I do not see any replacement for it…

bahrep
- 687
- 1
- 9
- 27
4
votes
1 answer
Set-NetFirewallRule alternative in Windows Server 2008
I am trying to Enable Powershell Remoting on a Windows Server 2008, but from what I understand, the default firewall exception is that PSRemoting is only allowed if the computer (both client and server) resides in the same local subnet.
How to…

Jeff
- 61
- 1
- 4
4
votes
1 answer
Enabling WinRM HTTPS listener using quickconfig fails on Server 2012
I have created a SSL Server Authentication certificate with a CN matching the servers hostname. However, using winrm qc -transport:https fails with the following error
Cannot create a WinRM listener on HTTPS because this machine does not have an…

Jon Moore
- 156
- 1
- 6
4
votes
2 answers
How does Windows Event forwarding work with non domain computers? (certificates)
In reasearching this question I've looked at the following documents and none of them describe the options or flexibility of the event collector service.
Microsoft's Event Collector Service on Technet (too procedural, I'm just looking for how it…

makerofthings7
- 8,911
- 34
- 121
- 197
4
votes
1 answer
Launching Installer Via Powershell and WinRM and Nothing Happens
I'm currently working on a Powershell script to run some Microsoft Hotfix installers remotely on several Windows Server 2008 R2 servers that I manage. Basically, the script copies all the appropriate files up to the server, and then runs the…

Nick DeMayo
- 297
- 4
- 14
4
votes
3 answers
WinRM listener is not all ears
This is what happens when I try and connect to Powershell on my remote machine:
PS C:\Users\Jonathan> Test-WSMan -ComputerName 54.228.XX.XX
Test-WSMan : The WinRM client cannot complete the operation within the time specified. Check if the machine…

Jonathan
- 1,309
- 2
- 22
- 29
4
votes
2 answers
Allowing Domain Users to run winrm commands
Currently i have a AD/Kerberos Configured on one EC2 instance(Windows 2008 R2) and created couple of users. Each of the users has administrator privileges. When We login as a non-domain Administrator, i can successfully execute the winrm commands.…

Cheezo
- 223
- 2
- 4
- 8