Disabling a laptop keyboard in place of a USB keyboard?











up vote
4
down vote

favorite
1












I frequently plug a USB keyboard into my laptop to use instead of the laptop keyboard. However, when I do this, the OS (Windows Vista) then accepts input from both the laptop keyboard and the USB keyboard. I want to place the USB keyboard on top of the laptop keyboard and that might result in accidental keypresses if the laptop keyboard is still enabled. So, is there any way to disable the laptop's built-in keyboard when a USB keyboard is plugged in? My laptop is a Dell Inspiron.










share|improve this question






















  • Don't you have function key for that?
    – rohan-patel
    Nov 26 '11 at 12:56










  • Nope; there's a function key to switch screen output, but not to disable laptop keyboard output (to my knowledge?)
    – Jez
    Nov 27 '11 at 11:04















up vote
4
down vote

favorite
1












I frequently plug a USB keyboard into my laptop to use instead of the laptop keyboard. However, when I do this, the OS (Windows Vista) then accepts input from both the laptop keyboard and the USB keyboard. I want to place the USB keyboard on top of the laptop keyboard and that might result in accidental keypresses if the laptop keyboard is still enabled. So, is there any way to disable the laptop's built-in keyboard when a USB keyboard is plugged in? My laptop is a Dell Inspiron.










share|improve this question






















  • Don't you have function key for that?
    – rohan-patel
    Nov 26 '11 at 12:56










  • Nope; there's a function key to switch screen output, but not to disable laptop keyboard output (to my knowledge?)
    – Jez
    Nov 27 '11 at 11:04













up vote
4
down vote

favorite
1









up vote
4
down vote

favorite
1






1





I frequently plug a USB keyboard into my laptop to use instead of the laptop keyboard. However, when I do this, the OS (Windows Vista) then accepts input from both the laptop keyboard and the USB keyboard. I want to place the USB keyboard on top of the laptop keyboard and that might result in accidental keypresses if the laptop keyboard is still enabled. So, is there any way to disable the laptop's built-in keyboard when a USB keyboard is plugged in? My laptop is a Dell Inspiron.










share|improve this question













I frequently plug a USB keyboard into my laptop to use instead of the laptop keyboard. However, when I do this, the OS (Windows Vista) then accepts input from both the laptop keyboard and the USB keyboard. I want to place the USB keyboard on top of the laptop keyboard and that might result in accidental keypresses if the laptop keyboard is still enabled. So, is there any way to disable the laptop's built-in keyboard when a USB keyboard is plugged in? My laptop is a Dell Inspiron.







laptop usb keyboard






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 26 '11 at 12:07









Jez

1,21232541




1,21232541












  • Don't you have function key for that?
    – rohan-patel
    Nov 26 '11 at 12:56










  • Nope; there's a function key to switch screen output, but not to disable laptop keyboard output (to my knowledge?)
    – Jez
    Nov 27 '11 at 11:04


















  • Don't you have function key for that?
    – rohan-patel
    Nov 26 '11 at 12:56










  • Nope; there's a function key to switch screen output, but not to disable laptop keyboard output (to my knowledge?)
    – Jez
    Nov 27 '11 at 11:04
















Don't you have function key for that?
– rohan-patel
Nov 26 '11 at 12:56




Don't you have function key for that?
– rohan-patel
Nov 26 '11 at 12:56












Nope; there's a function key to switch screen output, but not to disable laptop keyboard output (to my knowledge?)
– Jez
Nov 27 '11 at 11:04




Nope; there's a function key to switch screen output, but not to disable laptop keyboard output (to my knowledge?)
– Jez
Nov 27 '11 at 11:04










1 Answer
1






active

oldest

votes

















up vote
5
down vote













You could create 2 batch files for enabling/disabling your keyboard using its device id with the command line tool devcon.



From Microsoft Support website:




The DevCon utility is a command-line utility that acts as an
alternative to Device Manager. Using DevCon, you can enable, disable,
restart, update, remove, and query individual devices or groups of
devices




Then you could have shortcuts to these files on your desktop or on any other accessible location of your preference.






share|improve this answer























  • Good to know, thanks. (Perhaps there's a way to get notified of hardware plugs/unplugs, which would allow for automatic script execution? (I don't know if such notification API exists in Windows Vista, but I'd suspect it should))
    – Piskvor
    Dec 13 '11 at 10:05











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f361641%2fdisabling-a-laptop-keyboard-in-place-of-a-usb-keyboard%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
5
down vote













You could create 2 batch files for enabling/disabling your keyboard using its device id with the command line tool devcon.



From Microsoft Support website:




The DevCon utility is a command-line utility that acts as an
alternative to Device Manager. Using DevCon, you can enable, disable,
restart, update, remove, and query individual devices or groups of
devices




Then you could have shortcuts to these files on your desktop or on any other accessible location of your preference.






share|improve this answer























  • Good to know, thanks. (Perhaps there's a way to get notified of hardware plugs/unplugs, which would allow for automatic script execution? (I don't know if such notification API exists in Windows Vista, but I'd suspect it should))
    – Piskvor
    Dec 13 '11 at 10:05















up vote
5
down vote













You could create 2 batch files for enabling/disabling your keyboard using its device id with the command line tool devcon.



From Microsoft Support website:




The DevCon utility is a command-line utility that acts as an
alternative to Device Manager. Using DevCon, you can enable, disable,
restart, update, remove, and query individual devices or groups of
devices




Then you could have shortcuts to these files on your desktop or on any other accessible location of your preference.






share|improve this answer























  • Good to know, thanks. (Perhaps there's a way to get notified of hardware plugs/unplugs, which would allow for automatic script execution? (I don't know if such notification API exists in Windows Vista, but I'd suspect it should))
    – Piskvor
    Dec 13 '11 at 10:05













up vote
5
down vote










up vote
5
down vote









You could create 2 batch files for enabling/disabling your keyboard using its device id with the command line tool devcon.



From Microsoft Support website:




The DevCon utility is a command-line utility that acts as an
alternative to Device Manager. Using DevCon, you can enable, disable,
restart, update, remove, and query individual devices or groups of
devices




Then you could have shortcuts to these files on your desktop or on any other accessible location of your preference.






share|improve this answer














You could create 2 batch files for enabling/disabling your keyboard using its device id with the command line tool devcon.



From Microsoft Support website:




The DevCon utility is a command-line utility that acts as an
alternative to Device Manager. Using DevCon, you can enable, disable,
restart, update, remove, and query individual devices or groups of
devices




Then you could have shortcuts to these files on your desktop or on any other accessible location of your preference.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 25 at 12:43

























answered Nov 26 '11 at 14:05









yms

699615




699615












  • Good to know, thanks. (Perhaps there's a way to get notified of hardware plugs/unplugs, which would allow for automatic script execution? (I don't know if such notification API exists in Windows Vista, but I'd suspect it should))
    – Piskvor
    Dec 13 '11 at 10:05


















  • Good to know, thanks. (Perhaps there's a way to get notified of hardware plugs/unplugs, which would allow for automatic script execution? (I don't know if such notification API exists in Windows Vista, but I'd suspect it should))
    – Piskvor
    Dec 13 '11 at 10:05
















Good to know, thanks. (Perhaps there's a way to get notified of hardware plugs/unplugs, which would allow for automatic script execution? (I don't know if such notification API exists in Windows Vista, but I'd suspect it should))
– Piskvor
Dec 13 '11 at 10:05




Good to know, thanks. (Perhaps there's a way to get notified of hardware plugs/unplugs, which would allow for automatic script execution? (I don't know if such notification API exists in Windows Vista, but I'd suspect it should))
– Piskvor
Dec 13 '11 at 10:05


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f361641%2fdisabling-a-laptop-keyboard-in-place-of-a-usb-keyboard%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Paul Cézanne

UIScrollView CustomStickyHeader Resize height generates problems when scroll is too fast

Angular material date-picker (MatDatepicker) auto completes the date on focus out