Questions tagged [winrm]
190 questions
4
votes
2 answers
Can Windows Admin Center connect to a remote server?
I was thinking that through one Windows Admin Center installation I'll be able to manage several remote Win servers. However, the add server dialog seems to be able to find only local/LAN servers. Is this somehow possible or do I need a separate WAC…

mivra
- 153
- 1
- 5
3
votes
2 answers
Remotely Manage Server Core 2016 Hyper-V Hosting Domain Controller
I ran into a little issue this morning and am wondering how I avoid the issue in the future. Fortunately, the issue resolved itself, but this could be a major problem in the future.
My domain environment is virtualized on Server 2016 Core Hyper-V…

Mike Capps
- 41
- 2
3
votes
1 answer
winrm access denied for new user
On windows server 2012 was created new user as administrator.
in powershell was started winrm(winrm quickconfig).
But after winrm configSDDL default result is WSMan fault: access denied.
What's wrong?

flow
- 33
- 1
- 3
3
votes
1 answer
WinRM fails with error 2150858770
Installing any feature with the Server Manager, it hangs on "Starting Installation".
When I install the feature with PowerShell, it works fine, only when I open up Server Manager to configure the feature after the installation I get a "failed to…

CitadelCore
- 31
- 1
- 1
- 5
3
votes
2 answers
WinRM cannot connect
I am trying to get two workgroup machines (both are Windows 2012 R2) to talk to each other using PowerShell via WinRM. Let's call them ServerA and ServerB. On both machines I ran the following commands:
Enable-PSRemoting -Force
Set-Item…

Dave
- 139
- 1
- 1
- 3
3
votes
1 answer
How do I stop service on remote server, that's not connected to a domain, using a non admin user via PowerShell
I've got the start of the script to achieve this:
$SecurePassword = ConvertTo-SecureString –String $Password –AsPlainText -Force
$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $UserName,…

Wayne Scott
- 41
- 8
3
votes
4 answers
Win32_LogicalDisk doesn't retrieve network drives from remote machines
I'd like to use WMI to retrieve all logical disks from a remote host. For some unknown reason, running get-wmiobject Win32_LogicalDisk -computername remoteHost fails to include network drives located on the remote Windows host. However, running…

w128
- 255
- 2
- 5
- 10
3
votes
2 answers
Windows Server 2008 R2 Source-Initiated Event Log Forwarding: No Source Servers Reporting
I have a Server 2008 R2 server acting as a collector for two other servers. One is 2008 R2 as well, the other is 2012 R2. Collector Initiated forwarding works just fine, and that's really the only type I've ever implemented. I decided to have a go…

Tohuw
- 498
- 2
- 9
- 24
3
votes
1 answer
Using WinRS to process a command on a remote machine
So I have machines:
Client machine: Windows 7 on domain A
Server machine: Windows 2008 R2 on domain B, after running winrm quickconfig
I'm using the following command as a test script:
winrs /r:Servername /u: /p: ping…

Sean Long
- 453
- 2
- 7
- 18
3
votes
1 answer
PowerShell remoting doesn't work if computer name contains dot
I have one system where I cannot connect to remote computer (or to itself remotely) using PowerShell when computer name contains dot.
For example, this works:
Enter-PSSession HostA -Credential user1
But this doesn't:
Enter-PSSession…

Cozzamara
- 143
- 2
- 6
3
votes
2 answers
PowerShell remoting with a one-way trust
My question is similar to Powershell Remoting: One way trust, however there are differences and the resolution (adding the server to the trusted list) does not work for me.
Scenario:
I have two domains. DOMAIN and DOMAINDMZ. DOMAIN has an incoming…

shufler
- 972
- 1
- 6
- 18
3
votes
1 answer
How do I browse and edit WinRM configuration settings?
I'd like to browse and edit WinRM configuration settings but struggle with winrm.exe.
Is there an alternative app, a command line switch, XML file, registry setting (etc) that I should investigate?

makerofthings7
- 8,911
- 34
- 121
- 197
3
votes
3 answers
One-To-Many Powershell Scripts
I'm trying to create a script to run as a scheduled task, which will run against multiple servers and retrieve some information.
To start with, I populate the list of servers by querying AD for all servers that match a certain set of criteria, using…

Matt
- 1,893
- 5
- 28
- 40
3
votes
2 answers
Powershell remote sessions and access to network resources
It seems I cannot access network resources in a remote Powershell session. This is using Powershell v2. Both the local and remote computers are on the same domain.
As an example, if I am on MachineA and connect to MachineB via Enter-PSSession…

Daniel Pratt
- 133
- 1
- 4
3
votes
2 answers
What restrictions does WinRM/WinRS place on the processes that it runs?
I'm using winrs to run a test client against some server software that I'm developing. I'm using the client to generate load on the server under test for profiling. Both the machine that I'm running the server software and winrs on and the machine…

Len Holgate
- 233
- 3
- 10