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;
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
add a comment |
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
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
add a comment |
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
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
windows-server-2012-r2 powershell remoting
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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).
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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).
add a comment |
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).
add a comment |
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).
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).
answered Apr 4 at 18:59
Todd WilcoxTodd Wilcox
2,47621529
2,47621529
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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