The tag has no usage guidance.

learn more… | top users | synonyms (2)

0
votes
0answers
33 views

“Hyper-V encountered an error trying to access an object on computer '<remote hyper-v server' because the object was not found.”

Setting up a Windows 8.1 Enterprise VM with Hyper-V tools installed to manage our Hyper-V Servers. I have it working with one hypervisor already, but on this one I get the above error. I have followed ...
0
votes
0answers
19 views

WinRM Kerberos Authentication With Multiple Domain Controllers

I have configured a Rundeck instance on a Ubuntu host on AWS with the overthere-winrm plugin in order to execute scripts against Windows hosts. The instance is configured to access these hosts as an ...
0
votes
0answers
24 views

Server 2012 - Component stores is corrupt

I upgraded a Windows Server from 2008R2 to 2012 and now it has various services failing to start - eg winrm, iis. I know I should tell it to rebuild but the server doesn't actually use any of these ...
2
votes
0answers
54 views

WinServer 2012R2 - WinRM error -2147014789 0x8007277B

On my WinServer 2012R2 Foundation I have a notification in the server manager that the Remote Desktop Connection Broker service is stopped. When I try to start it manually I receive: Server manager ...
0
votes
1answer
68 views

Getting Access Denied from WinRM on Windows 2008 R2

How do I restore WinRM on a Windows 2008 R2 machine back to it's 'out-of-the-box' state? Or alternatively, how do I get WinRM to start talking to me again? I'm logged in as administrator via RDP. ...
0
votes
1answer
41 views

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 ...
0
votes
0answers
79 views

Access denied when running some remote PowerShell commands

I have configured WinRM (PowerShell Remoting) on four machines that I administer. On all machines but one I can run both of these commands remotely with no issue. On one cursed machine, Get-Command ...
0
votes
0answers
57 views

WinRM will NOT work, error code 2150858770

I'm just about stumped with WinRM up to this point. Whenever I try to install any feature with the Server Manager, it hangs on "Starting Installation". When I install the feature with PowerShell, it ...
-1
votes
1answer
61 views

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 ...
3
votes
0answers
35 views

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 ...
2
votes
0answers
157 views

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, ...
1
vote
0answers
396 views

Event log subscription returns error code (0x138C)

I have been battling getting Event log subscriptions to work on my server 2012 R2 domain controllers. I have created the collector-initiated-subscription using the GUI and selecting the defaults ...
0
votes
2answers
267 views

Powershell connection to exchange 2013 powershell works randomly?

I am currently working on a script that connects to our mailserver and purges a specific folder in a mailbox, I got everything working without a problem except the connecting to the server. When I ...
10
votes
3answers
211 views

How to remotely detect windows has completed patch configuration after reboot

We're planning to automate the creation of VMs for our build infrastructure so that we can: Scale the build resources based on demand, e.g. by adding more build agents when required and removing ...
0
votes
0answers
55 views

How do I perform a remote service stop and Postgresql backup using powershell?

I am having some difficulty with a Powershell script. The script runs nightly to perform a backup of a Postgresql db. I used WinRM to allow the server running the script to perform the service ...
3
votes
1answer
233 views

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....
1
vote
0answers
26 views

Impossible to send events from more than one non-domain windows server (2008, 2003) to WinRM collector (windows 2012)

We have problem with non-domain servers using certificates. We created certificates (through CA), installed one on collector (with good CN), second on first source server, third on second source ...
1
vote
1answer
2k views

how to force ansible to use http + kerberos (error WINRM CONNECTION ERROR: 401 Unauthorized.)

I am configuring ansible (CentOS 6.7) to connnect to windows machine using http, winRM and kerberos From the /etc/ansible/host file [training] machinename:5985 I have set host specific yaml file ...
1
vote
3answers
425 views

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 ...
0
votes
0answers
41 views

Reconnectiong to a loopback PSSession from another computer

On the server , open powershell and type New-PSSession -ComputerName localhost A new PSSession is created in the local computer, Get-PSSession returns the session information correctly. Now go to ...
1
vote
1answer
55 views

Powershell: PSScheduledJob for non-admin

Is there a way for non-admins to use the PSScheduledJob module? For example, I tried Register-ScheduledJob without admin privilege, but it returns "Access is Denied" error. We know that we can allow ...
0
votes
1answer
235 views

WinRM and HTTP services impossible to start

I have a new windows 2012 R2 server and here are softwares and roles installed : - nxFilter - TeamViewer Get-WindowsFeature command result : Success Restart Needed Exit Code Feature Result ---...
0
votes
0answers
203 views

Copy files to “default” location using UNC path

When I log in remotely using PowerShell, I'm placed in a default location: > Enter-PSSession SERVER [SERVER]: PS C:\Users\smithe\Documents> I'd like to copy a folder recursively to this ...
2
votes
1answer
232 views

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 ...
12
votes
1answer
1k views

Windows Remote Management Over Untrusted Domains

I am currently trying to enable Windows Remote Management (specifically, Powershell Remoting) between 2 untrusted domains, and having no luck. A brief description of my setup: domain1 - my ...
2
votes
1answer
814 views

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 ...
1
vote
0answers
75 views

WinRM HTTPS Connection to Windows 8 Systems

I have a couple virtual Windows 8 clients that I will be using to run some tests against a server. I set up WinRM so I can easily pull the data back from all the clients for analysis but the data ...
1
vote
0answers
123 views

W2K12 Server Manager and WinRM SSL

does anyone know if it is possible to use Server Manager on remote servers using SSL? Due to enterprise policies we currently disable winrm listeners for http and enable https only. This works fine ...
1
vote
2answers
151 views

Powershell HTTPS not working

I am a bit confused on how to configure certificate for my local host. My scenario is like: We've two windows 2012 servers (not joined in a domain) and I need to execute a powershell script remotely ...
1
vote
1answer
988 views

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 ...
2
votes
0answers
1k views

Server 2012, Attempted to Install Certificate Services, now Win-RM is broken

I have two exchange servers, one running Exchange 2007 and one Exchange 2010. On the Exchange 2010 I attempted to install a AD-Certificate role but after installing the role I am unable to run the ...
2
votes
3answers
213 views

WinRM Publicly Available

I am looking for specific feedback on WinRM. There are ::still:: debates out there about whether or not making RDP publicly available without a VPN is a good idea--There are no debates on whether or ...
4
votes
1answer
10k views

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, ...
0
votes
2answers
664 views

Syntax Error while adding TrustedHosts

I have a machine that has Windows Server 2012 R2 installed on it. I just installed RSAT on my ThinkPad Tablet which runs Windows 8.1. I'm trying to add my server in the client's trusted host list with ...
1
vote
0answers
720 views

Chef Issue bootstrapping windows VM using winrm via https

Chef Server(RHEL 6.5): 11.16.4 Windows endpoint: Windows 2008 The bootstrapping works fine over http (with winrm config allowUnEncrypeted = true and basic auth = true). Now we are trying same thing ...
2
votes
0answers
322 views

Can not install Office 2010 via winrm

I am trying to install Microsoft Office 2010, I have created a MSP and config.xml file so I can do this from Powershell, using the following command: Start-Process "C:\temp\Office2010\x86\setup.exe" -...
1
vote
2answers
1k views

Enable RDP using WinRM or other alternatives to psexec

I am writing a program that takes a list of servers and enables/disables RDP. Currently I am utilizing psexec and up in till this morning, everything worked. I made no change in code/usernames/...
0
votes
1answer
425 views

What is the upper limit (maximum limit ) of WinRM MaxShellsPerUser

For executing the remote powershell commands i need to configure WsMan, In WsMan MaxShellsPerUser specifies the maximum number of concurrent shells that any user can remotely open on the same computer....
0
votes
0answers
687 views

Accessing Exchange server 2013 from window 7 using Remote PowerShell?

I am trying Remote PowerShell from Windows 7 to Exchange Server 2013. Following is the code snippet. public static void ConnectToPowerShell() { string password = "password"; ...
4
votes
1answer
3k views

Unable to configure WinRm https listener

I am trying to configure winrm https listener on a windows machine. Earlier i had followed WinRm https listener configuration The above solution worked for me. But now i have deleted the listener ...
2
votes
2answers
6k views

It cannot determine the content type of the HTTP response from the destination computer wsman

I am trying to connect to an Exchange server via a wsman connection using PowerShell. The client server in question is in a Workgroup, while the Exchange server is in its own domain. I use the ...
3
votes
2answers
2k views

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 ...
2
votes
1answer
120 views

Get the IPv6 routing table from a windows pc with WS-Management

I have to get the IPv6 routing table from a windows pc with WS-Management. I'm using wsman for the client on linux. I found the Win32_IP4RouteTable WMI class fot IPv4, but it looks like WMI doesn't ...
1
vote
0answers
49 views

Manage UAG Server via WinRM

Does anyone know of there is a way to configure a UAG server to work with WinRM? We have a small number of servers and the "Server Manager" application as well as PowerShell are the way we generally ...
6
votes
3answers
2k views

How to allow access to winrs for non-admin user?

I have Windows Server 2012 (and Server 2008, but it is next priority) to monitor it using txwinrm. txwinrm library internally is using WinRS protocol. I have to monitor it using least privileged user, ...
4
votes
2answers
5k views

Automatically reconfigure WinRM HTTPS listener with new certificate?

I am looking to enable WinRM HTTPS listeners on all of our servers for secure communication when using CredSSP between servers to get around the double-hop issue. Setting this up is fine, we have CN-...
1
vote
0answers
134 views

Remotely edit winrm conf file

Im trying to edit the winrm conf file on remote computer. I dont have the possibility to use GPO edit so i must find another way. I've tried to set the configurations that i need by using the "winrm ...
2
votes
1answer
448 views

Post Azure VM creation bootstrap process - Azure user-data mechanism during VM creation?

After creating an Azure Windows VM, how does bootstrapping (winrm or ssh) completed? I'm using knife azure and using either winrm or ssh, the VM is created but fails to bootstrap. Do I have to ...
2
votes
1answer
5k views

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:...
2
votes
2answers
1k views

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 ...