Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Unlock computer" feature
#1
HI,
i am trying to use the 'Unlock Computer' feature under Macro Properties:
- i select the checkbox "if computer locked, temporarily unlock" and then click "How" button but nothing happens.
no window opens when i click the How button. As a result, i could not set specific settings to use this feature.
Any idea why is this happening or what should i do? am i missing something?
should i re-install or what?

Thanks a lot for any help!
#2
Try this: Open qm folder and run qmtul.exe.
It must show dialog 'Temporarily Unlock Computer'.

EDITED:
It is a bug in QM 2.3.2. On some XP computers does not show the dialog. Will be fixed in next version.
Or download new qmtul.exe and move to QM folder, replacing the old version.


Attached Files
.zip   qmtul.zip (Size: 9.36 KB / Downloads: 332)
#3
thanks a lot for the reply.
im still not able to show the window.. anyway i got it to work on another computer but now im facing another problem.
I dont know how to use this feature.
Everytime the pc is locked i find an error written to the QM console:"My macro cannot run on non-interactive desktop".

i need to use this Unlock computer feature but i just can't get it to work.
Any idea what im missing?
#4
Quote:im still not able to show the window.. anyway i got it to work on another computer

The 'Temporarily Unlock Computer' dialog should work on all computers. It is just a simple program (qmtul.exe) that shows the dialog. The 'How' button simply launches the program.

What is Windows version on the computer where the dialog does not work?
Also, is it 32 or 64 bit?
Also, is it Administrator or User?

__________________________________

Quote:but now im facing another problem.
I dont know how to use this feature.
Everytime the pc is locked i find an error written to the QM console:"My macro cannot run on non-interactive desktop".

i need to use this Unlock computer feature but i just can't get it to work.
Any idea what im missing?

QM failed to unlock computer.

Possible reasons:
Incorrect keys or other settings specified in 'Temporarily Unlock Computer' dialog.

Try to use Logging to find the reason. Post log file contents here.

More info:
Read in Help.
#5
here's the content of qmtul.log:
--------------------------------------------
<10/14 22:52:02> Started.
<10/14 22:52:07> Finished.

<10/14 22:57:00> Started.
<10/14 22:57:05> Finished.

<10/14 23:02:00> Started.
<10/14 23:02:08> Finished.

<10/15 13:38:00> Started.
<10/15 13:38:05> Finished.

<10/15 13:43:00> Started.
<10/15 13:43:05> Finished.

<10/15 13:47:00> Started.
<10/15 13:47:05> Finished.

<10/15 13:52:00> Started.
<10/15 13:52:05> Finished.

<10/15 13:57:00> Started.
<10/15 13:57:05> Finished.

<10/15 13:57:17> Started.
<10/15 13:57:22> Finished.

<10/15 13:57:55> Started.
<10/15 13:58:00> Finished.

<10/15 13:59:32> Started.
<10/15 13:59:37> Finished.

<10/15 14:02:00> Started.
<10/15 14:02:08> Finished.

<10/15 14:02:48> Started.
<10/15 14:02:53> Finished.

<10/15 14:05:00> Started.
<10/15 14:05:05> Finished.

<10/15 14:10:00> Started.
<10/15 14:10:05> Finished.

<10/15 14:15:00> Started.
<10/15 14:15:05> Finished.

<10/15 14:20:00> Started.
<10/15 14:20:05> Finished.

<10/15 14:25:00> Started.
<10/15 14:25:05> Finished.

<10/15 14:30:00> Started.
<10/15 14:30:05> Finished.

<10/15 14:35:00> Started.
<10/15 14:35:05> Finished.

<10/15 14:40:00> Started.
<10/15 14:40:05> Finished.

<10/15 14:45:00> Started.
<10/15 14:45:05> Finished.

<10/15 14:50:00> Started.
<10/15 14:50:05> Finished.
--------------------------------------------------
I attached a screenshot of my settings in the unlock feature window.
Am i doing something wrong?

I am using Windows XP 32-bit / Administrator
Please bear with me as i am a beginner with QM and using the unlock feature is essential for my macro to do what it's intended for.

Thanks for your help!


Attached Files Image(s)
   
#6
The log file shows that unlocking fails for an unknown reason.
I reviewed QM unlocking code. In all places when it fails, it logs error message. But your log does not contain errors.
What is your QM version?
#7
latest 2.3.2.8
#8
if there is a workaround i would be happy to know it.
like some code i can place in my macro itself that can perform the same task (i.e. unlocks the pc)?
#9
We could try to debug.
I could send you qmtul.exe that logs more info...
If you want.
But I have not much hope that it is possible to make it work.
#10
moaly Wrote:if there is a workaround i would be happy to know it.
like some code i can place in my macro itself that can perform the same task (i.e. unlocks the pc)?

No. Unlocking is difficult.
#11
so what should i do now?
without this feature, my macro is useless. it is one of the most essential features i bought QM for to be honest.
Appreciate if you can assist me.
#12
It works on all computers and OS that I tested. It is difficult to debug when I don't have a computer where it does not work.
But we can try to debug. As I wrote in previous post. If you want to test, and have time.
#13
i am ready!
and hopefully my programming skills would help..
please send me the file and let me know if you want to take this conversation somewhere else other than the forum
and if we reached a solution we can post it here later on hopefully..
#14
Please wait...
#15
ok
#16
It is possible that QM fails to decrypt password.
Try to erase Password field in the dialog.
Then let the macro run (when PC is locked).
Then look at the log file. Does it contain some new info?
#17
could you give me an example of how the command should look like in the unlock window?
like: "Au xxxx Ap zzzzz Y" some thing like that
#18
1. Windows 2000/XP, when shows dialog with user name and password fields:
Au (USERNAME) Ap (PASSWORD) Y

2. Windows XP, welcome screen, when initially shows password field:
(PASSWORD) Y

3. Windows XP, welcome screen, when initially does not show password field. Examples for user 1, 2 and 3:
TT (PASSWORD) Y
TTD (PASSWORD) Y
TTDD (PASSWORD) Y

4. Windows Vista/7. Examples for user 1, 2 and 3:
V (0.5) B (PASSWORD) Y
R V (0.5) B (PASSWORD) Y
RR V (0.5) B (PASSWORD) Y

5. Windows Vista/7, when initially shows password field:
(PASSWORD) Y
#19
Can use this macro for testing.

Macro Macro1468
Code:
Copy      Help
shutdown 6 ;;lock PC
5 ;;wait until locked; change this if locks slowly.
out EnsureLoggedOn(1) ;;unlock
run "$qm$\qmtul.log" ;;see log file
#20
now when i try to run the code you gave me:
the macro does not run at all...
give me this error in the console window: "Warning: Macro cannot run on non-interactive desktop."
#21
i think there is something wrong with qmtul.exe module..
now when i click How button or try to run qmtul.exe, it doesnt run and doesn't show the "Unlock" window in QM...
#22
moaly Wrote:now when i try to run the code you gave me:
the macro does not run at all...
give me this error in the console window: "Warning: Macro cannot run on non-interactive desktop."

This code does not run macros. It just locks and unlocks PC.
The error is probably from other macro. Temporarily disable its trigger.
#23
okay i deleted all macros that i had in QM.
The problem now is the "Unlock Window" is not showing...when i click the How button, it doesnt do anything..so i could not set the username and password

for the code you gave me, I created a New Macro file and pasted it there. tried to run it. it only locks the pc but doesnt unlock.
I don't know what's wrong, the unlock settings window does not show in QM...thats a problem now..
#24
Function log_processes
Trigger $p 0x3 ""     Help - how to add the trigger to the macro
Code:
Copy      Help
function event pid pidparent $name
;event: 1 started, 2 ended, 4 running
out "%i %i %s %i" event pid name timeGetTime

Create this function. Paste the trigger ($p 0x3 "") in the Trigger field on the toolbar.
It shows started and ended processes.
Does it show qmtul (in QM output pane) when you run it (press How, or from Explorer)?
Post here everything that is in QM output pane.
#25
here's the output:
1 4856 qmtul 11981761
2 4856 11981955
#26
Run this macro:

Code:
Copy      Help
out run("$qm$\qmtul.exe" "" "" "" 0x400)

It should display a number in QM output. What it is?
#27
output: 2
#28
You said, the dialog worked before. Did it stopped working after changing something in it?

Run this macro. It deletes qmtul settings. Does the dialog work then?

Code:
Copy      Help
rset "" "qmtul" "Software\GinDi\QM2\settings" 0 -2
#29
i didnt change anything..i even deinstalled and reinstalled...
i ran the macro you just gave me..nothing changed..
still unable to open the Unlock window..
#30
I can't believe. The program simply shows dialog (calls DialogBoxParam). Such code never fails.
Like something automatically closes the dialog. Other QM macro or other macro program.
Today I don't have more ideas. Tomorrow will post qmtul.exe for debugging.


Forum Jump:


Users browsing this thread: 1 Guest(s)