is it possible to disconnect a license manually
Question ID: 105665
1
0

we see some of the users have opened QTP and haven’t closed it. is it possible to kill that connection so that the other user can user that license.

Marked as spam
Posted by (Questions: 17, Answers: 5)
Asked on October 28, 2014 11:29 am
46 views
Answers (2)
1
Private answer

HP does have a Enhancement request to revoke license (KM200209) , but there are two options.
1. Shutdown the license server and then restart it.
2. Wait for the License usage to time out and release.
I hope this helps

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on October 28, 2014 11:30 am
1
Private answer

I found the following while searching Microsoft's site for utilities. This small utility will allow you to end running applications. Use it with caution, and I would say to only use it if nothing else is working since you will kill the application on the remote machine and somebody could lose any work they were doing. It would be handy in a scenario where someone left QTP/UFT running in a lab and forgot to close the application. This would allow you to do it remotely.

Microsoft has a tool called PsExec that you 'might' be able to use. I say might because you would need to have admin rights on the client machine you are connecting to. Copy this PsExec tool to your Windows directory (on the machine you are working from ).

It's free on Microsoft's site: http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

*(There's documentation on the download page that goes into further detail about what all you can do with this tool library)*

Download the file, and unzip it. Move the psexec.exe file to your Windows directory on the machine you are using to access another machine remotely.

a. Go to Start>>Command Prompt (you may need to start this with elevated permissions)

b. Start a remote command prompt on the machine you want to manipulate. Run this command:

psexec \\ cmd

c. Bring up the remote tasklist to see what is running by typing this command and hit enter:

tasklist

d. Get the PID for QTPPro.exe (or whatever app you need to stop is). You might need to see the PID colum by going to View>>Select Columns

e. Run the following command to kill the PID for the application you want to close:

taskkill /F /PID

The above is not guaranteed to work and is definitely **NOT supported** by HP or anyone else. ***Use at your own risk***.

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on October 28, 2014 2:34 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top