qwinsta——“错误[5]-拒绝访问”

时间:2021-06-03 15:55:25

I am getting the "access is denied" error even though I have no problem connecting with Remote Desktop Connection. My computer is Win7, the targets are WinXP or Server 2003.
Perhaps I am specifying the SERVER name incorrectly:
qwinsta /SERVER:XXYYZZ02
I have tried
qwinsta /SERVER:\\XXYYZZ02
qwinsta /SERVER:domain\XXYYZZ02
qwinsta /SERVER:domain/XXYYZZ02
qwinsta /SERVER:1.2.3.4

我正在获得“访问被拒绝”错误,即使我没有问题连接远程桌面连接。我的电脑是Win7,目标是WinXP或Server 2003。也许我没有正确地指定服务器名:qwinsta /SERVER:XXYYZZ02我试过qwinsta /SERVER:\ XXYYZZ02 qwinsta /SERVER:domain\XXYYZZ02 qwinsta /SERVER:domain/XXYYZZ02 qwinsta /SERVER:1.2.3.4

Am I doing something wrong? TIA...
(The problem I'm trying to solve is several support personnel needing to connect to the same servers and disconnecting each other mid-session.)

我做错什么了吗?蒂雅……(我试图解决的问题是,有几个支持人员需要连接到相同的服务器,并在会话中期断开彼此的连接。)

2 个解决方案

#1


12  

Found on Dell website, this worked for me same issue. "This means the remote RPC component failed to execute the requested operation. It is because it is not allowed to operate on terminal service (Remote Desktop) through RPC by default. To modify this setting to enable Remote Desktop API through RPC, you need to find the following registry key:

在戴尔的网站上发现,这对我来说也是同样的问题。这意味着远程RPC组件无法执行请求的操作。因为它不允许在默认情况下通过RPC来操作终端服务(远程桌面)。要修改此设置以通过RPC启用远程桌面API,您需要找到以下注册表项:

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

HKLM \ SYSTEM \ CurrentControlSet \ \终端服务器控制

Then add a DWORD value named “AllowRemoteRPC” and change its value to 1."

然后添加一个名为“AllowRemoteRPC”的DWORD值,并将其值更改为1。

In my case it was set to "0". I changed it to 1 and all was good.

在我的例子中,它被设置为“0”。我把它改成了1,一切都很好。

#2


0  

Refer to this link for the correct command names and alternatives: http://makezine.com/2007/08/15/howto-kill-terminal-services-s/

请参考此链接以获得正确的命令名和选项:http://makezine.com/2007/08/15/howto- kill-terminalservices-s/

You might want to try executing from a cmd window run in administrator-mode.

您可能想尝试在管理员模式下运行的cmd窗口中执行。

Can you login any other way? e.g.: mstsc /console or via virtual console? I ask because then you can check the server authentication settings on the servers.

你能以其他方式登录吗?例如:mstsc /控制台还是虚拟控制台?我这样问是因为您可以检查服务器上的服务器身份验证设置。

#1


12  

Found on Dell website, this worked for me same issue. "This means the remote RPC component failed to execute the requested operation. It is because it is not allowed to operate on terminal service (Remote Desktop) through RPC by default. To modify this setting to enable Remote Desktop API through RPC, you need to find the following registry key:

在戴尔的网站上发现,这对我来说也是同样的问题。这意味着远程RPC组件无法执行请求的操作。因为它不允许在默认情况下通过RPC来操作终端服务(远程桌面)。要修改此设置以通过RPC启用远程桌面API,您需要找到以下注册表项:

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

HKLM \ SYSTEM \ CurrentControlSet \ \终端服务器控制

Then add a DWORD value named “AllowRemoteRPC” and change its value to 1."

然后添加一个名为“AllowRemoteRPC”的DWORD值,并将其值更改为1。

In my case it was set to "0". I changed it to 1 and all was good.

在我的例子中,它被设置为“0”。我把它改成了1,一切都很好。

#2


0  

Refer to this link for the correct command names and alternatives: http://makezine.com/2007/08/15/howto-kill-terminal-services-s/

请参考此链接以获得正确的命令名和选项:http://makezine.com/2007/08/15/howto- kill-terminalservices-s/

You might want to try executing from a cmd window run in administrator-mode.

您可能想尝试在管理员模式下运行的cmd窗口中执行。

Can you login any other way? e.g.: mstsc /console or via virtual console? I ask because then you can check the server authentication settings on the servers.

你能以其他方式登录吗?例如:mstsc /控制台还是虚拟控制台?我这样问是因为您可以检查服务器上的服务器身份验证设置。