[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

VBScript: Remote Desktop Disconnected

Posted on 2008-02-10
13
Medium Priority
?
972 Views
Last Modified: 2013-11-21
I have a clients PC that gets the following error when trying to RDP to a temrinal server.  It is a Vista Home Premium that is able to connect to other RDP sessions.  They are not able to get to term2.dtacoremarketing.com.  The message:  
The remote computer disconnected the session because of an error in the liscensing protocol.  Please try connecting to the remote computer again or contact your server administrator.
0
Comment
Question by:Rob Timmermans
  • 7
  • 6
13 Comments
 
LVL 19

Expert Comment

by:William Elliott
ID: 20863138
here are a list of troubleshooting steps that should help you diagnose the issue.
http://technet2.microsoft.com/windowsserver/en/library/d5336104-c7c3-4a6c-84a6-ef6eaecd80771033.mspx?mfr=true
0
 

Author Comment

by:Rob Timmermans
ID: 20863181
None of those solutions work.  I should also note that the terminal server the client is connecting to is Windows 2000 Server.  I myself can connect to it from a variety of machines, just not the clients.
0
 
LVL 19

Expert Comment

by:William Elliott
ID: 20863267
i can't get to it either...

have they tried with the ipaddress instead of the name? does it work?
what results do youget from the troubleshooting?
what steps have you taken?

i need more input in order to get a good solution


At the command prompt, run the ping command from each computer to each computer by using:
" Fully qualified domain name (for example, term2.dtacoremarketing.com)
" NetBIOS name (dtacoremarketing.com)
" The IP address (for example, 206.73.118.1)
 
0
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

 
LVL 19

Expert Comment

by:William Elliott
ID: 20863271
chances are their firewall is preventing them from getting out to it.
0
 

Author Comment

by:Rob Timmermans
ID: 20863282
You can't ping it from any PC.  I can get to the address fine from my laptop and even my pocket pc.  I have tried the straight IP, same problem.
0
 
LVL 19

Expert Comment

by:William Elliott
ID: 20863327
term2.dtacoremarketing.com doesn't work, but
term2.datacoremarketing.com does, as does
216.58.252.113


Pinging term2.datacoremarketing.com [216.58.252.113] with 32 bytes of data:

0
 

Author Comment

by:Rob Timmermans
ID: 20863652
sorry.  I didn't realize I typed it in wrong in the question. term2.datacoremarketing.com is the correct address that will not work on the clients workstation.
0
 

Author Comment

by:Rob Timmermans
ID: 20863660
Things I have tried on the workstation in question.  Disable all anti-virus, anti-spyware and firewall applications.  Updated drivers for NICs.  Removed and re-added the terminal liscence key in the registry.  Connected to a different IPS and router.
0
 
LVL 19

Expert Comment

by:William Elliott
ID: 20863740
from here
http://support.microsoft.com/kb/187614

If you delete the HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing subkey on a client that is running Windows Vista or a later version, later attempts to connect to a Terminal Server may fail. Also, you receive the following error message:

An Error occurred in the Licensing Protocol

To resolve this problem, right-click the Remote Desktop Connection shortcut, and then click Run as Administrator. By default, the remote desktop connection runs as a user with the lowest user permissions. By default, a restricted user does not have permission to write registry entries to HKEY_LOCAL_MACHINE. Therefore, attempts to rewrite the MSLicensing key fail. Starting Remote Desktop Connection with administrative credentials provides the permissions that are necessary to write the needed registry keys.

--------------------------------------------------------------------------------
0
 

Author Comment

by:Rob Timmermans
ID: 20863903
I did try that one.  It did not work.
0
 
LVL 19

Accepted Solution

by:
William Elliott earned 2000 total points
ID: 20863955
even running it as the local administrator?

If you are using the 'new style' Start Menu inside Vista, the easiest way to launch an RDP session with administrator rights is to type into the Start Search field: mstsc
Then, hold down [Ctrl] and [Shift] and then press the [Enter] key. This will launch mstsc (the RDP client) with elevated rights.



look here
http://ts.veranoest.net/ts_logon.htm
0
 

Author Comment

by:Rob Timmermans
ID: 20871575
Even that fails.  Let me add one more tidbit.  The client has 2 PC's with this problem. One a Vista notebook and the other a XP Pro desktop.  The problem began after they had "Geeks on Call' come and setup netork sharing between their PC's.
0
 

Author Comment

by:Rob Timmermans
ID: 20871617
Thanks for the last article.  That worked.  I removed the MS Liscensing keys, then ran rdp as admin and it worked!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question