Solved

Remote Administration issue.

Posted on 2011-03-11
17
679 Views
Last Modified: 2012-05-11
Dear all,

I need help to solve issue with Server. From remote machines I cannot execute nothing on this server.

I have this setting on the server:
- Remote Managment
 Remote Managment
- Set-ExecutionPolicy Unrestricted
 Execution Policy
When I run the command for example:
winrs -r:Servername ipconfig/all

I recieve this error:
 Error
0
Comment
Question by:Gonzalo Becerra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 7
17 Comments
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 35109589
Did you run "winrm quickconfig" on the server? Is the server 2008 or 2008 R2. 2008 needs the winrm 2.0 update.
0
 
LVL 1

Author Comment

by:Gonzalo Becerra
ID: 35109787
Yep I runned winrm quickconfig and see two messages ok.

I have Windows 2003 R2 Enterprise.
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 35111470
You installed Windows Management Framework Core package (Windows PowerShell 2.0 and WinRM 2.0)? Just wondering because I didn't bother with my older boxes.
http://support.microsoft.com/kb/968930
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 1

Author Comment

by:Gonzalo Becerra
ID: 35111543
Yep but this update is for Windows 2003 and we have server with Windows 2008 R2.
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 35111572
I think that the 2003 version is what you want. 2003 R2 is really just an add on pack to Windows 2003, so the only difference is for services that 2003 R2 updates, such as adding DFS-R. Now, Windows 2008 R2 is not at all the same as 2008.
0
 
LVL 1

Author Comment

by:Gonzalo Becerra
ID: 35111610
Yep, I have Windows 2008 R2 now and when I run a command remotly always I recieved the same error.
I cannot execute nothing remotly to this server. I don't know why.
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 35111686
Is your firewall active?
0
 
LVL 1

Author Comment

by:Gonzalo Becerra
ID: 35111719
No, I don't have firewall active. I have other Server with Windows 2008 R2 in the same network and work fine. I have the problem to run remotly only with this server.
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 35111740
It looks like your first screen shot is taken from Windows 2008 or 2008 R2. There is no server manager in Windows 2003.
0
 
LVL 1

Author Comment

by:Gonzalo Becerra
ID: 35111789
Yep. The All images except the last one are taken from Local server with problem (Windows 2008 R2 / ServerName: Servername1).

The last image are taken from other server we execute the command pointing to Servername1 to verify the error.
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 35111883
Wait, which server are you trying to manage, and from where? I thought that you are trying to manage a Windows 2003 R2 server from Windows Vista, 7, 2008, 2008 R2. Commands, such as "winrm quickconfig " need to be run on the box being managed. Your first screenshot shows you configuring the Windows 2008 R2 being configured to be remotely managed.

Are both machines members of the domain? Are you runnint winrs as a user that is an administrator on Servername1?
0
 
LVL 1

Author Comment

by:Gonzalo Becerra
ID: 35111923
No,

I have two servers with Windows 2008 R2.

Servername2 (Always work remotly)
Servername1 (not work remotly)

If I connect fromServername1 to Servername2 and execute any remotly work all fine.

If I connect from Servername2 to Servername1 and try execute any remotly I recieve the error.
0
 
LVL 1

Author Comment

by:Gonzalo Becerra
ID: 35111931
both Servers are in the Same Domain (DomainName)
0
 
LVL 1

Author Comment

by:Gonzalo Becerra
ID: 35115977
This is the Actual configuration of WINRM on Servername1

PS C:\ACO-SRVS\Scripts\Site Creation> winrm get winrm/config
Config
    MaxEnvelopeSizekb = 150
    MaxTimeoutms = 60000
    MaxBatchItems = 32000
    MaxProviderRequests = 4294967295
    Client
        NetworkDelayms = 5000
        URLPrefix = wsman
        AllowUnencrypted = false
        Auth
            Basic = true
            Digest = true
            Kerberos = true
            Negotiate = true
            Certificate = true
            CredSSP = false
        DefaultPorts
            HTTP = 5985
            HTTPS = 5986
        TrustedHosts = Servername1
    Service
        RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)S:P(AU;FA;GA;;;WD)(AU;SA;GWGX;;;WD)
        MaxConcurrentOperations = 4294967295
        MaxConcurrentOperationsPerUser = 15
        EnumerationTimeoutms = 60000
        MaxConnections = 25
        MaxPacketRetrievalTimeSeconds = 120
        AllowUnencrypted = false
        Auth
            Basic = false
            Kerberos = true
            Negotiate = true
            Certificate = false
            CredSSP = false
            CbtHardeningLevel = Relaxed
        DefaultPorts
            HTTP = 5985
            HTTPS = 5986
        IPv4Filter = *
        IPv6Filter = *
        EnableCompatibilityHttpListener = false
        EnableCompatibilityHttpsListener = false
        CertificateThumbprint
    Winrs
        AllowRemoteShellAccess = true
        IdleTimeout = 180000
        MaxConcurrentUsers = 5
        MaxShellRunTime = 2147483647
        MaxProcessesPerShell = 15
        MaxMemoryPerShellMB = 150
        MaxShellsPerUser = 5
0
 
LVL 1

Accepted Solution

by:
Gonzalo Becerra earned 0 total points
ID: 35137296
I opened a case in Microsoft to solve this issue:

- Problem: Duplicate SPN's

- Query to verify if we have SPN Duplicated:  ldifde -f dump_spn.txt -d "dc=DOMAIN,dc=com" -p subtree -r "(servicePrincipalName=HTTP/Servername*)" -l servicePrincipalName

- Solution: Verify the log dump_spn.txt and delete the duplicates SPN.
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 35140637
Wow, I never would have come even close to finguring that out. Glad Microsoft was able to help you get that resolved.
0
 
LVL 1

Author Closing Comment

by:Gonzalo Becerra
ID: 35174498
I opened a case in Microsoft to solve this issue.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

738 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