WinRM remoting server with local Adminnistrator account not working?It cannot determine the content type of the HTTP response from the destination computer wsmanAccessing Exchange Server 2013 remotely from Windows 7 using PowerShellWindows Remote Management Over Untrusted DomainsHow do I stop service on remote server, that's not connected to a domain, using a non admin user via PowerShellWinRM cannot connectEnter-PSSession on localhost is failingWhy does Negotiate Authentication over WinRM break immediately after leaving a domain until the server reboots?WinRM failing when attempted from Win10, but not from WSE2016PowerShell Remote Session Client User permissions required?Remote Powershell not working but test-wsman does

Should I join an office cleaning event for free?

How is the relation "the smallest element is the same" reflexive?

I see my dog run

Why is this code 6.5x slower with optimizations enabled?

Is there really no realistic way for a skeleton monster to move around without magic?

How do I create uniquely male characters?

Japan - Any leeway for max visa duration due to unforeseen circumstances?

Why Is Death Allowed In the Matrix?

Calculus Optimization - Point on graph closest to given point

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

How old can references or sources in a thesis be?

What does "enim et" mean?

How can the DM most effectively choose 1 out of an odd number of players to be targeted by an attack or effect?

What is GPS' 19 year rollover and does it present a cybersecurity issue?

Why has Russell's definition of numbers using equivalence classes been finally abandoned? ( If it has actually been abandoned).

Why is the design of haulage companies so “special”?

Patience, young "Padovan"

Why is an old chain unsafe?

The use of multiple foreign keys on same column in SQL Server

How to make payment on the internet without leaving a money trail?

What is the command to reset a PC without deleting any files

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

Example of a relative pronoun

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?



WinRM remoting server with local Adminnistrator account not working?


It cannot determine the content type of the HTTP response from the destination computer wsmanAccessing Exchange Server 2013 remotely from Windows 7 using PowerShellWindows Remote Management Over Untrusted DomainsHow do I stop service on remote server, that's not connected to a domain, using a non admin user via PowerShellWinRM cannot connectEnter-PSSession on localhost is failingWhy does Negotiate Authentication over WinRM break immediately after leaving a domain until the server reboots?WinRM failing when attempted from Win10, but not from WSE2016PowerShell Remote Session Client User permissions required?Remote Powershell not working but test-wsman does






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have a server Windows 2012R2 in the domain. This server has no domain user access, only local admin user. I can RDC into this machine using admin account, but cannot have a PSSession, so Enter-PSSession or Invoke-Command or New-PSSession does not work.
I have set the Trustedhosts value to '*' already. Still does not work.



The example:



$cred = Get-Credential # username: Aministrator, password: secret123
Enter-PSSession -computername SVR1 -Credential $cred


Immediately I get error:



Enter-PSSession : Connecting to remote server SVR1 failed with the following error message : The user name or password is incorrect. For more information, see the about_Remote_Troubleshooting Help topic.


Why I cannot login to the server with local admin acount?



EDIT:



After the comment below, I have tried, SVR1ADMINISTRATOR as username, then I go a different error message:



Enter-PSSession : Connecting to remote server SVR1 failed with the following error message : WinRM cannot process the request. The following error with errorcode 0x80090311 occurred while using Kerberos authentication: We can't sign you in with this credential because your domain isn't available. Make sure your device is connected to your organization's network and try again. If you previously signed in on this device with another credential, you can sign in with that credential. 
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains. After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport. Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.









share|improve this question
























  • Have you tried "COMPUTERNAMEAdministrator" as the username?

    – Glenn Sullivan
    Apr 4 at 15:22











  • I have tried your suggestion, and different error came, I have added the error in the question as the error volume was big.

    – Dilshad Abduwali
    Apr 4 at 15:34

















0















I have a server Windows 2012R2 in the domain. This server has no domain user access, only local admin user. I can RDC into this machine using admin account, but cannot have a PSSession, so Enter-PSSession or Invoke-Command or New-PSSession does not work.
I have set the Trustedhosts value to '*' already. Still does not work.



The example:



$cred = Get-Credential # username: Aministrator, password: secret123
Enter-PSSession -computername SVR1 -Credential $cred


Immediately I get error:



Enter-PSSession : Connecting to remote server SVR1 failed with the following error message : The user name or password is incorrect. For more information, see the about_Remote_Troubleshooting Help topic.


Why I cannot login to the server with local admin acount?



EDIT:



After the comment below, I have tried, SVR1ADMINISTRATOR as username, then I go a different error message:



Enter-PSSession : Connecting to remote server SVR1 failed with the following error message : WinRM cannot process the request. The following error with errorcode 0x80090311 occurred while using Kerberos authentication: We can't sign you in with this credential because your domain isn't available. Make sure your device is connected to your organization's network and try again. If you previously signed in on this device with another credential, you can sign in with that credential. 
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains. After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport. Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.









share|improve this question
























  • Have you tried "COMPUTERNAMEAdministrator" as the username?

    – Glenn Sullivan
    Apr 4 at 15:22











  • I have tried your suggestion, and different error came, I have added the error in the question as the error volume was big.

    – Dilshad Abduwali
    Apr 4 at 15:34













0












0








0








I have a server Windows 2012R2 in the domain. This server has no domain user access, only local admin user. I can RDC into this machine using admin account, but cannot have a PSSession, so Enter-PSSession or Invoke-Command or New-PSSession does not work.
I have set the Trustedhosts value to '*' already. Still does not work.



The example:



$cred = Get-Credential # username: Aministrator, password: secret123
Enter-PSSession -computername SVR1 -Credential $cred


Immediately I get error:



Enter-PSSession : Connecting to remote server SVR1 failed with the following error message : The user name or password is incorrect. For more information, see the about_Remote_Troubleshooting Help topic.


Why I cannot login to the server with local admin acount?



EDIT:



After the comment below, I have tried, SVR1ADMINISTRATOR as username, then I go a different error message:



Enter-PSSession : Connecting to remote server SVR1 failed with the following error message : WinRM cannot process the request. The following error with errorcode 0x80090311 occurred while using Kerberos authentication: We can't sign you in with this credential because your domain isn't available. Make sure your device is connected to your organization's network and try again. If you previously signed in on this device with another credential, you can sign in with that credential. 
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains. After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport. Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.









share|improve this question
















I have a server Windows 2012R2 in the domain. This server has no domain user access, only local admin user. I can RDC into this machine using admin account, but cannot have a PSSession, so Enter-PSSession or Invoke-Command or New-PSSession does not work.
I have set the Trustedhosts value to '*' already. Still does not work.



The example:



$cred = Get-Credential # username: Aministrator, password: secret123
Enter-PSSession -computername SVR1 -Credential $cred


Immediately I get error:



Enter-PSSession : Connecting to remote server SVR1 failed with the following error message : The user name or password is incorrect. For more information, see the about_Remote_Troubleshooting Help topic.


Why I cannot login to the server with local admin acount?



EDIT:



After the comment below, I have tried, SVR1ADMINISTRATOR as username, then I go a different error message:



Enter-PSSession : Connecting to remote server SVR1 failed with the following error message : WinRM cannot process the request. The following error with errorcode 0x80090311 occurred while using Kerberos authentication: We can't sign you in with this credential because your domain isn't available. Make sure your device is connected to your organization's network and try again. If you previously signed in on this device with another credential, you can sign in with that credential. 
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains. After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport. Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.






windows-server-2012-r2 powershell remoting






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 4 at 15:33







Dilshad Abduwali

















asked Apr 4 at 15:12









Dilshad AbduwaliDilshad Abduwali

1184




1184












  • Have you tried "COMPUTERNAMEAdministrator" as the username?

    – Glenn Sullivan
    Apr 4 at 15:22











  • I have tried your suggestion, and different error came, I have added the error in the question as the error volume was big.

    – Dilshad Abduwali
    Apr 4 at 15:34

















  • Have you tried "COMPUTERNAMEAdministrator" as the username?

    – Glenn Sullivan
    Apr 4 at 15:22











  • I have tried your suggestion, and different error came, I have added the error in the question as the error volume was big.

    – Dilshad Abduwali
    Apr 4 at 15:34
















Have you tried "COMPUTERNAMEAdministrator" as the username?

– Glenn Sullivan
Apr 4 at 15:22





Have you tried "COMPUTERNAMEAdministrator" as the username?

– Glenn Sullivan
Apr 4 at 15:22













I have tried your suggestion, and different error came, I have added the error in the question as the error volume was big.

– Dilshad Abduwali
Apr 4 at 15:34





I have tried your suggestion, and different error came, I have added the error in the question as the error volume was big.

– Dilshad Abduwali
Apr 4 at 15:34










1 Answer
1






active

oldest

votes


















0














Here's a guide: https://4sysops.com/archives/enable-powershell-remoting-on-a-standalone-workgroup-computer/



And a summary of the main points:



  • Make sure the network type on the remote server is not "Public". Since it's not on a domain, you'll probably want to make sure it is "Private". Instead, you can make sure you added -SkipNetworkProfileCheck when you enabled psremoting.

  • On the client (where you're initiating from), enter the remote server's IP to the trusted hosts. E.g., winrm set winrm/config/client @TrustedHosts="10.0.2.33" at an elevated command prompt (make sure to change that IP to the one in your environment).





share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961525%2fwinrm-remoting-server-with-local-adminnistrator-account-not-working%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Here's a guide: https://4sysops.com/archives/enable-powershell-remoting-on-a-standalone-workgroup-computer/



    And a summary of the main points:



    • Make sure the network type on the remote server is not "Public". Since it's not on a domain, you'll probably want to make sure it is "Private". Instead, you can make sure you added -SkipNetworkProfileCheck when you enabled psremoting.

    • On the client (where you're initiating from), enter the remote server's IP to the trusted hosts. E.g., winrm set winrm/config/client @TrustedHosts="10.0.2.33" at an elevated command prompt (make sure to change that IP to the one in your environment).





    share|improve this answer



























      0














      Here's a guide: https://4sysops.com/archives/enable-powershell-remoting-on-a-standalone-workgroup-computer/



      And a summary of the main points:



      • Make sure the network type on the remote server is not "Public". Since it's not on a domain, you'll probably want to make sure it is "Private". Instead, you can make sure you added -SkipNetworkProfileCheck when you enabled psremoting.

      • On the client (where you're initiating from), enter the remote server's IP to the trusted hosts. E.g., winrm set winrm/config/client @TrustedHosts="10.0.2.33" at an elevated command prompt (make sure to change that IP to the one in your environment).





      share|improve this answer

























        0












        0








        0







        Here's a guide: https://4sysops.com/archives/enable-powershell-remoting-on-a-standalone-workgroup-computer/



        And a summary of the main points:



        • Make sure the network type on the remote server is not "Public". Since it's not on a domain, you'll probably want to make sure it is "Private". Instead, you can make sure you added -SkipNetworkProfileCheck when you enabled psremoting.

        • On the client (where you're initiating from), enter the remote server's IP to the trusted hosts. E.g., winrm set winrm/config/client @TrustedHosts="10.0.2.33" at an elevated command prompt (make sure to change that IP to the one in your environment).





        share|improve this answer













        Here's a guide: https://4sysops.com/archives/enable-powershell-remoting-on-a-standalone-workgroup-computer/



        And a summary of the main points:



        • Make sure the network type on the remote server is not "Public". Since it's not on a domain, you'll probably want to make sure it is "Private". Instead, you can make sure you added -SkipNetworkProfileCheck when you enabled psremoting.

        • On the client (where you're initiating from), enter the remote server's IP to the trusted hosts. E.g., winrm set winrm/config/client @TrustedHosts="10.0.2.33" at an elevated command prompt (make sure to change that IP to the one in your environment).






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 4 at 18:59









        Todd WilcoxTodd Wilcox

        2,47621529




        2,47621529



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961525%2fwinrm-remoting-server-with-local-adminnistrator-account-not-working%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

            Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

            Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020