![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-12 15:38 |
47,815 topics / 349,922 posts / today 0 new / 48,285 members |
| DOS批处理 & 脚本技术(批处理室) » [Share] Disabling & Enabling USB Devices Is So Simple (Classifiable by Standards) |
| Printable Version 8,233 / 35 |
| Floor16 kgdetg1127 | Posted 2008-01-26 21:53 |
| 初级用户 Posts 89 Credits 158 | |
|
Study, keep it up.....
|
|
| Floor17 313885174 | Posted 2008-02-29 17:13 |
| 中级用户 Posts 100 Credits 206 | |
| Floor18 mez2007 | Posted 2008-03-02 11:27 |
| 初级用户 Posts 7 Credits 20 | |
|
Thanks, really a great expert, admire
|
|
| Floor19 mez2007 | Posted 2008-03-02 11:27 |
| 初级用户 Posts 7 Credits 20 | |
| Floor20 mez2007 | Posted 2008-03-02 11:28 |
| 初级用户 Posts 7 Credits 20 | |
|
How did you learn it? Why can't I learn it?
|
|
| Floor21 fastslz | Posted 2008-03-02 12:59 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
Originally posted by mez2007 at 2008-3-2 11:28: It depends on how much you know about the underlying things of Windows. Also, look at more OEM.inf and hardware-related registry entries |
|
| Floor22 windowsxphao | Posted 2008-03-02 17:57 |
| 初级用户 Posts 14 Credits 25 | |
|
A great post, I can't help but upvote after reading it
|
|
| Floor23 windowsxphao | Posted 2008-03-02 18:17 |
| 初级用户 Posts 14 Credits 25 | |
|
I tried using devcon to disable the camera, and it was disabled, but I can see in Device Manager that the camera device has a cross. After enabling the camera and restarting the computer, the camera can be used again. Is there a way to make others not see the camera in Device Manager?
|
|
| Floor24 fastslz | Posted 2008-03-02 19:25 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
Originally posted by windowsxphao at 2008-3-2 18:17: After enabling the camera and restarting the computer, the camera can be used again? Of course it can be used if it is enabled. If it is disabled and still can be used, delete the camera's boot startup item. The location is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run To not see the X, you can disable the device manager in the policy. |
|
| Floor25 nanhui112 | Posted 2008-03-12 14:45 |
| 初级用户 Posts 59 Credits 127 | |
|
Expert, the method you provided to disable the keyboard and mouse isn't working. I used devcon disable root\rdp_kbd* to try disabling the keyboard, but the returned result is: "Not all of one device(s) disabled, at least one requires reboot computer to complete the operation". Does this mean more than one device isn't disabled and at least one needs a computer reboot to complete?
This doesn't work either. devcon disable *pnp0303* returns the prompt: Acpi\pnp0303\4&31ad995d&0 : disable failed No devices disabled. Also, if I reboot, the keyboard can't input, then how do I enter the command devcon enable root\kdp_kbd* to enable the keyboard device? Directly use the mouse to enable it in hardware? But what if the mouse is also disabled? -------I'm a newbie. Hope the expert can answer, thanks! [ Last edited by nanhui112 on 2008-3-12 at 03:06 PM ] |
|
| Floor26 fastslz | Posted 2008-03-12 23:21 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
devcon.exe disable USB\Class_03 This is to disable USB keyboards and mice. The mouse works, and you can enable it in Device Manager.
|
|
| Floor27 nanhui112 | Posted 2008-03-13 18:17 |
| 初级用户 Posts 59 Credits 127 | |
|
Then my keyboard and mouse can't be disabled, right? Then directly using devcon disable usb* to disable all USB ports is better?
|
|
| Floor28 dosuser123 | Posted 2008-12-11 09:56 |
| 初级用户 Posts 11 Credits 23 | |
|
Learned. Thanks for the selfless sharing
|
|
| Floor29 xmal | Posted 2008-12-11 10:55 |
| 新手上路 Posts 6 Credits 15 | |
|
Thanks for sharing
|
|
| Floor30 victor888 | Posted 2008-12-11 13:34 |
| 初级用户 Posts 40 Credits 50 | |
|
Disabled things, try plugging it into another USB port and reinserting it?
|
|
| Prev 1 2 3 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |