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

            Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

            Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

            What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company