Solved

Kerberos authentication error accessing local exchange 2010 server

Posted on 2016-09-23
2
82 Views
Last Modified: 2016-09-23
Getting the attached.  
I noticed this after a reboot of one of my not so important exchange servers.  
Running powershell i get:

         Welcome to the Exchange Management Shell!

Full list of cmdlets: Get-Command
Only Exchange cmdlets: Get-ExCommand
Cmdlets that match a specific string: Help *<string>*
Get general help: Help
Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
Show quick reference guide: QuickRef
Exchange team blog: Get-ExBlog
Show full output for a command: <command> | Format-List

Tip of the day #21:

Sometimes it's useful to convert the output of a cmdlet to a string to interoperate with native cmdlets. For example, type:

 Get-Mailbox | Out-String | Findstr "Administrator"

VERBOSE: Connecting to exchange.domain.local
New-PSSession : [exchange.domain.local] Connecting to remote server exchange.domain.local failed with the following error message : Logon failure:
unknown user name or bad password. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : LogonFailure,PSSessionOpenFailed
VERBOSE: Connecting to exchange.domain.local
New-PSSession : [exchange.domain.local] Connecting to remote server exchange.domain.local failed with the following error message : Logon failure:
unknown user name or bad password. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : LogonFailure,PSSessionOpenFailed
WARNING: No Exchange servers are available in the Active Directory site London. Connecting to an Exchange server in another
Active Directory site.
VERBOSE: Connecting to exchange.domain.local
New-PSSession : [exchange.domain.local] Connecting to remote server exchange.domain.local failed with the following error message : Logon failure:
unknown user name or bad password. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : LogonFailure,PSSessionOpenFailed
VERBOSE: Connecting to exchange-DR.domain.local
VERBOSE: Connected to exchange-DR.domain.local.
[PS] C:\Windows\system32>(Get-User <administrator>).RemotePowershellEnabled
At line:1 char:11
+ (Get-User <administrator>).RemotePowershellEnabled
+           ~
The '<' operator is reserved for future use.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : RedirectionNotSupported

[PS] C:\Windows\system32>Get-User <administrator>).RemotePowershellEnabled
At line:1 char:10
+ Get-User <administrator>).RemotePowershellEnabled
+          ~
The '<' operator is reserved for future use.
At line:1 char:25
+ Get-User <administrator>).RemotePowershellEnabled
+                         ~
Unexpected token ')' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : RedirectionNotSupported

[PS] C:\Windows\system32>Get-User <administrator>).RemotePowershellEnabled

If i try and connect to the server from another exchange server via EMC it works fine.  ive followed this: https://blogs.technet.microsoft.com/exchange/2010/12/07/resolving-winrm-errors-and-exchange-2010-management-tools-startup-failures/ but not helping..
EMC-Kerberos-1.jpg
EMC-Kerberos-2.jpg
0
Comment
Question by:CHI-LTD
  • 2
2 Comments
 
LVL 1

Author Comment

by:CHI-LTD
ID: 41812432
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS C:\Users\administrator.domain> cd .\Desktop
PS C:\Users\administrator.domain\Desktop> .\EMTshooter.ps1

Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. Do you want to run C:\Users\administrator.domain\Desktop\EMTshooter.ps1?
D Do not run  R Run once  S Suspend  ? Help (default is "D"): r

Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. Do you want to run C:\Users\administrator.domain\Desktop\EMTConnectFunctions.ps1?
D Do not run  R Run once  S Suspend  ? Help (default is "D"): r

Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. Do you want to run C:\Users\administrator.domain\Desktop\EMTErrorHandler.ps1?
D Do not run  R Run once  S Suspend  ? Help (default is "D"): r

Welcome to the Exchange Management Troubleshooter!

We recommend that you run the troubleshooter after making changes to
IIS to ensure that connectivity to Exchange Powershell is unaffected.

Checking IIS Service...

Checking the Exchange Install Path variable...

Checking the Powershell Virtual Directory...

Checking the Powershell vdir SSL setting...

Checking the Powershell vdir path setting...

Checking HTTP Port 80...

Checking HTTP Port 80 Host Name...

Testing for errors...

VERBOSE: Connecting to exchange.domain.local


new-pssession : exchange.domain.local Connecting to remote server exchange.domain.local failed with the following error message : Logon failure: unknown user name or bad password. For more information, see the about_Remote_Troubleshooting Help topic.
At C:\Users\administrator.domain\Desktop\EMTConnectFunctions.ps1:177 char:15
+             $session = new-pssession -connectionURI "http://$fqdn/powershell?serializatio ...
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) New-PSSession, PSRemotingTransportException
    + FullyQualifiedErrorId : LogonFailure,PSSessionOpenFailed
Exception setting "buffersize": "Cannot set the buffer size because the size specified is too large or too small.
Parameter name: value
Actual value was 120,3000."
At C:\Users\administrator.domain\Desktop\EMTConnectFunctions.ps1:191 char:4
+             $pswindow.buffersize = $newsize
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) , SetValueInvocationException
    + FullyQualifiedErrorId : ExceptionWhenSetting

The Exchange Management Troubleshooter successfully completed connecting to:

exchange.domain.local

Failed to connect to any Exchange Server in the current site.
Exception setting "buffersize": "Cannot set the buffer size because the size specified is too large or too small.
Parameter name: value
Actual value was 120,3000."
At C:\Users\administrator.domain\Desktop\EMTErrorHandler.ps1:229 char:2
+     $pswindow.buffersize = $newsize
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) , SetValueInvocationException
    + FullyQualifiedErrorId : ExceptionWhenSetting


Problem found:

Looking for error...

Unknown Error

After each error is resolved, close this window and re-run the tool to check for additional problems.

PS C:\Users\administrator.domain\Desktop>
0
 
LVL 1

Accepted Solution

by:
CHI-LTD earned 0 total points
ID: 41812552
Was credential manager crap causing this
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A safe way to clean winsxs folder from your windows server 2008 R2 editions
This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
This video discusses moving either the default database or any database to a new volume.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question