Enable-PSRemoting -force
i have many machines on these commands have executed successfully. there on particular machine on not able enable remoting
although error message pretty verbose on cause of error. not able find different on machine compared others?
member of same domein.. same policies. , yes admin on every other machine.
can give me guidance on how resolve this?
ps c:\windows\system32> enable-psremoting -confirm:$false
winrm set receive requests on machine.
set-wsmanquickconfig : winrm cannot process request. following error occured while using negotiate authenticati
on: unknown security error occurred.
possible causes are:
-the user name or password specified invalid.
-kerberos used when no authentication method , no user name specified.
-kerberos accepts domain user names, not local user names.
-the service principal name (spn) remote computer name , port not exist.
-the client , remote computers in different domains , there no trust between 2 domains.
after checking above issues, try following:
-check event viewer events related authentication.
-change authentication method; add destination computer winrm trustedhosts configuration setting or us
e https transport.
note computers in trustedhosts list might not authenticated.
-for more information winrm configuration, run following command: winrm config.
@ line:50 char:33
+ set-wsmanquickconfig <<<< -force
+ categoryinfo : invalidoperation: (:) [set-wsmanquickconfig], invalidoperationexception
+ fullyqualifiederrorid : wsmanerror,microsoft.wsman.management.setwsmanquickconfigcommand
ps c:\windows\system32> enable-wsmancredssp -role server
credssp authentication configuration ws-management
credssp authentication allows server accept user credentials remote computer. if enable credssp
authentication on server, server have access user name , password of client computer if the
client computer sends them. more information, see enable-wsmancredssp topic.
want enable credssp authentication?
[y] yes [n] no [s] suspend [?] (default "y"): y
enable-wsmancredssp : winrm cannot process request. following error occured while using negotiate authenticatio
n: unknown security error occurred.
possible causes are:
-the user name or password specified invalid.
-kerberos used when no authentication method , no user name specified.
-kerberos accepts domain user names, not local user names.
-the service principal name (spn) remote computer name , port not exist.
-the client , remote computers in different domains , there no trust between 2 domains.
after checking above issues, try following:
-check event viewer events related authentication.
-change authentication method; add destination computer winrm trustedhosts configuration setting or us
e https transport.
note computers in trustedhosts list might not authenticated.
-for more information winrm configuration, run following command: winrm config.
@ line:1 char:20
+ enable-wsmancredssp <<<< -role server
+ categoryinfo : invalidoperation: (:) [enable-wsmancredssp], invalidoperationexception
+ fullyqualifiederrorid : wsmanerror,microsoft.wsman.management.enablewsmancredsspcommand
do have http spn defined on domain account uses machine name? if so, it's known issue:
http://blogs.msdn.com/b/psssql/archive/2010/06/21/known-issues-installing-sql-2008-r2-bpa-relating-to-remoting.aspx
this issue when tried to run "enable-psremoting" on sql 2008 r2 reporting services server. don't seem in rush fix issue, since been around on year.
Windows Server > Windows PowerShell
Comments
Post a Comment