Windows error 0x80338012, -2144108526

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode51 (0x033)
NameFACILITY_WINRM[1][2]
DescriptionThe source of the error code is the Windows Resource Manager.[1][2]
Error Code32786 (0x8012)

Questions

13votes
6answers

Remote PS session fails on non-domain server

I'm trying to connect to a non-domain joined remote Win2008R2 server using PS from a Win8 host (same subnet, it's a local VM). Tried everything I could find, nothing works. SERVER: PS C:\Users\Administrator> winrm quickconfig PS C:\Users\Administrator> enable-psremoting CLIENT: PS C:\scripts> $cred = get-credential -username "administrator" -message "Enter password" PS [...] read more
powershell
6votes
2answers

How to run a Powershell DSC script locally

I'm trying to run a very simple Powershell DSC script locally. (I never plan on pulling or pushing configuration files at this stage) I get the following error message. The WS-Management service is running, but there are no firewall holes or ports reserved (server happens to be a webserver)... Is [...] read more
web-services
powershell
dsc
2votes
1answer

Setting up a very mixed Active Directory network to work with PowerShell Remote Administration

Summary: I want to be able to monitor the computers on my network, but don't need it to be automated. We're too small to purchase anything like MOM, but too big to do anything manually (~100 machines in two locations). I just keep running into issues, and was wondering if [...] read more
active-directory
powershell
winrm
1vote
3answers

How can I reinstall the WinRM service on WS2012?

Whatever winrm command I issue I get, > The client cannot connect to the destination specified in the request ... > Error number: -2144108526 0x80338012 I checked all the usual suspects. The service is running. All updates have been applied. I would like to uninstall the WinRM service and reinstall [...] read more
windows-server-2012
winrm
1vote
1answer

WinRM not returning client information - quickconfig not working

I am trying to change settings on WinRM however I keep getting an error. I have read many articles across the web about it but I cannot get any of the suggested fixes to work When I try to get the winRM quickconfig, which is the common suggested fix, to [...] read more
powershell
winrm
0votes
1answer

Error registering on premises node with Azure Automation DSC pull server

I just opened an Azure Automation account with a free subscription, in an attempt to experiment with DSC. I've been unable to register an on-premises node with the pull server, any help would be appreciated. > Set-DscLocalConfigurationManager -path C:\Users\eric\DSC\DscMetaConfigs > -Verbose the error I get is: > PS C:\WINDOWS\system32> Set-DscLocalConfigurationManager [...] read more
azure
dsc
0votes
1answer

Event log forwarding: source initiated not working for desktops

I have successfully set up 2 subscriptions for collector initiated and they are fowarding events. Now I am attempting to add a 3rd subscription to get the logs for all my desktops, so due to the number of them, I'm using source initiated to use groups. I'm assuming I can [...] read more
windows-server-2012
eventviewer
winrm
0votes
1answer

Can't add new azure vm to TrustedHosts

This may be long so please bear with me. The Goal: Use terraform to create an azure-vm that an azure-devops release pipeline can use Remote PowerShell on Target Machines step to deploy and start a windows service. The problem: After creating the VM using Terraform, RDP to the VM and [...] read more
azure-devops
terraform
powershell-remoting
0votes
0answers

How to execute powershell from c# as administrator on Windows 10

I'm trying to execute a powershell script from c# on Windows 10 and getting an Access Denied error. Here is my code so far: var powerShellCommand = $"Invoke-Command -ScriptBlock {{ pdqdeploy Deploy -Package \"{packageName}\" -Targets \"{machineName}\" }}"; var passwordSecureStringAdmin = new SecureString(); var passwordAdmin = "daadminpw"; for (int i = [...] read more
c#
powershell
windows-10
0votes
1answer

How do I create Virtual Machine with WinRM from an ARM Template?

I'm running into an issue when I attempt to run the 'Azure Resource Group Deploy' release task to create/update a resource group and the resources within it via an ARM Template. In particular, I need to have the Virtual Machine created by the ARM template accessible via WinRM; This needs [...] read more
azure-devops
azure-virtual-machine
arm-template
dsc
winrm
0votes
0answers

unable to execute winrm quickconfig

I am unable to get around the following Powershell remoting error in my Windows 10 Machine. Firstly I am attempting to execute the following. PS: >Start-DscConfiguration -Wait -Verbose -Force -Path $outPath VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConf igurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'. The client cannot [...] read more
powershell
powershell-remoting
dsc
0votes
1answer

test winrm connectivity on list of systems using powershell

I want to test whether or not winrm is running on a list of servers. winrm id -r:servername works for individual systems but I want to test recursively for a list from a csv or text file. With output to a file saying "working" or "not working" for each. How [...] read more
powershell-2.0
powershell-3.0
powershell-remoting
winrm
wsman
0votes
2answers

PowerShell / WinRM error while trying to kill a process remotely

I want to kill a process remotely in powershell using invoke-command -cn computername -script { stop-process name } I made sure the network at the destination computer wasn't set to public, and I managed to run enable-psremoting on the destination. Now trying to run Invoke-Command ... at the source but [...] read more
powershell

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0