Link to home
Start Free TrialLog in
Avatar of Gonzalo Becerra
Gonzalo BecerraFlag for Argentina

asked on

Remote Administration issue.

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
 User generated image
- Set-ExecutionPolicy Unrestricted
 User generated image
When I run the command for example:
winrs -r:Servername ipconfig/all

I recieve this error:
 User generated image
Avatar of kevinhsieh
kevinhsieh
Flag of United States of America image

Did you run "winrm quickconfig" on the server? Is the server 2008 or 2008 R2. 2008 needs the winrm 2.0 update.
Avatar of Gonzalo Becerra

ASKER

Yep I runned winrm quickconfig and see two messages ok.

I have Windows 2003 R2 Enterprise.
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
Yep but this update is for Windows 2003 and we have server with Windows 2008 R2.
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.
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.
Is your firewall active?
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.
It looks like your first screen shot is taken from Windows 2008 or 2008 R2. There is no server manager in Windows 2003.
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.
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?
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.
both Servers are in the Same Domain (DomainName)
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
ASKER CERTIFIED SOLUTION
Avatar of Gonzalo Becerra
Gonzalo Becerra
Flag of Argentina image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Wow, I never would have come even close to finguring that out. Glad Microsoft was able to help you get that resolved.
I opened a case in Microsoft to solve this issue.