|
wolfkin
初级用户
 
积分 148
发帖 18
注册 2004-11-30
状态 离线
|
『楼 主』:
[求助]windows下锁定鼠标键盘的命令
使用 LLM 解释/回答一下
windows下锁定鼠标键盘的命令
如题
求教
如何实现在windows下不用任何第三方软件
只用windows自带的命令,函数之类的实现锁定鼠标键盘
Commands to lock mouse and keyboard under Windows
As the title suggests
Seeking advice
How to achieve under Windows without any third-party software
Only using Windows built-in commands, functions, etc. to lock the mouse and keyboard
|
|
2004-12-26 00:00 |
|
|
wolfkin
初级用户
 
积分 148
发帖 18
注册 2004-11-30
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
自己研究结果rundll32.exe user32.dll,ClipCursor 能锁定鼠标但是不是每次成功不知道为什么原因可能还不熟悉怎么用吧请教会用的人
My own research result is that rundll32.exe user32.dll,ClipCursor can lock the mouse but not every time successfully. I don't know why. Maybe I'm not familiar with how to use it yet. Please teach those who know how to use it.
|
|
2004-12-26 00:00 |
|
|
wolfkin
初级用户
 
积分 148
发帖 18
注册 2004-11-30
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
先帮自己顶下虽然这个问题好像跟DOS无关但是还是很希望能在这找到答案
First, I'll help you top it. Although this question doesn't seem related to DOS, I still hope to find an answer here.
|
|
2004-12-28 00:00 |
|
|
wolfkin
初级用户
 
积分 148
发帖 18
注册 2004-11-30
状态 离线
|
|
2004-12-30 00:00 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
晕……我不明白楼主为何要把最重要的输入设备鼠标和键盘都锁掉,锁了之後它们无法动弹,岂不是等于死机?!我只知道用rundll32.exe user32.dll,LockWorkStation。这样会出现选择用户登录的界面,鼠标和键盘还可以动,但是只要设置了系统密码,那么不知情的人就无法登录返回桌面,这样就可以达到防止外人使用的目的。
Oh... I don't understand why the original poster locked the most important input devices, the mouse and keyboard. After locking, they can't move, which is like a system crash?! I only know that using rundll32.exe user32.dll,LockWorkStation. This will show the interface to select the user to log in. The mouse and keyboard can still move, but if the system password is set, then people who don't know the password can't log in and return to the desktop, so this can achieve the purpose of preventing outsiders from using it.
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2004-12-30 00:00 |
|
|
wolfkin
初级用户
 
积分 148
发帖 18
注册 2004-11-30
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
呵呵 我当然有我的想法的阿一个问题你研究到一半快有答案时你是不是想知道最后的答案呢还是会选择放弃呢 <img src="images/smilies/face-raspberry.png" align="absmiddle" border="0">就目前我知道用user32.dll肯定能实现的只是不知道具体的参数 所以想请教知道的人同样的让大家也知道一个小技巧不是很好吗我只是希望探讨探讨共同进步而已没其他的目的不象别人说的那样:你想干嘛?做黑客唬人吗?要唬人需要那么麻烦吗 这类软件多的遍地都是不过说到这倒让觉得更有必要知道答案因为当你的机器被别人“唬了” 鼠标不能用的情况下你是不是需要重新启动甚至去找第三方的软件这么麻烦呢如果你知道输入一个命令就能解除的话那又会怎么样呢就像冲击波病毒一样 会让你的机器重新启动 是不是很头痛但是如果在他让你重起时你输入shutdown -a 就能取消时你还会觉得头疼吗哈哈 好像扯远了还是回到鼠标的问题吧就我知道的rundll32.exe user32.dll,ClipCursor 后面跟参数能锁定鼠标但是不是每次成功因为我不知道具体的参数只是用 1 或者1,1之类的试了试而且我不知道后面跟参数的格式但是好像用0 能取消锁定我能提供的就这些了希望感兴趣的人自己回去试试看也希望知道答案的人能告诉大家谢谢了
Hehe, of course I have my own thoughts. A question: when you're researching something and almost have the answer, do you want to know the final answer or do you choose to give up? :P As far as I know, it can definitely be achieved using user32.dll, but I just don't know the specific parameters. So I want to ask those who know and also let everyone know. A small tip isn't bad, right? I just hope to discuss and make progress together, no other purpose. Unlike what others say: What do you want to do? Be a hacker to bluff people? Do you need to be so troublesome to bluff people? There are so many such software everywhere. But this makes me feel even more necessary to know the answer. Because when your machine is "bluffed" and the mouse doesn't work, do you need to restart or even find third-party software? It's so troublesome. But if you know that entering a command can解除 it, then what will happen? Just like the Slammer virus, it will make your machine restart. Isn't it very headache-inducing? But if when it makes you restart, you enter shutdown -a to cancel it, will you still feel headache? Haha, it seems I've drifted away. Let's get back to the mouse issue. As far as I know, rundll32.exe user32.dll,ClipCursor followed by parameters can lock the mouse, but it's not always successful because I don't know the specific parameters. I just tried using 1 or 1,1, etc. And I don't know the format of the parameters that follow, but it seems that using 0 can cancel the lock. That's all I can provide. I hope those who are interested can go back and try it themselves. Also, I hope those who know the answer can tell everyone. Thanks.
|
|
2004-12-30 00:00 |
|