屏蔽win键

·
dev no tag March 3, 2021

习惯了cmd+tab键切换任务,所以在虚拟机上很不喜欢cmd对应的win快捷键,记录下探索的屏蔽方法。

环境

macOS & VMware Fusion & windows10 education pro

编辑注册表

Win+R组合键启动运行窗口,输入并运行REGEDIT命令,启动注册表编辑器。依次定位到路径HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout。右键单击右侧窗格空白处,选择“新建→二进制值”。将该项目命名为“Scancode Map”,双击并输入值“00 00 00 00 00 00 00 00 03 00 00 00 00 00 5b e0 00 00 5c e0 00 00 00 00”,窗口中左右两列的数据为自动生成,可不予理会。输入确认后,注销并重新登录或重启资源管理器,使得设置生效。

若需要解除禁用,只需将上述“Scancode Map”项删除即可。

脚本

为了操作方便,还可以将上述过程用代码方式写到一个.REG纯文本文件中,命名为“屏蔽左右Win键.reg”

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]

"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,5B,E0,00,00,5C,E0,00,00,00,00

同时写另一个文件“撤销屏蔽Win键.reg”,用来解除对Win键的屏蔽,代码如下:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]

"Scancode Map"=-

这样,当需要屏蔽或解除屏蔽时,只需双击运行对应的REG文件即可。

如果只是想要屏蔽某个Win+快捷组合(例如仅屏蔽Win+A功能),也可以用注册表修改的方法。先依次定位到HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,新建名为DisabledHotkeys的字符串值,编辑其数值数据,填入A即表示屏蔽Win+A,填入B即表示屏蔽Win+B。若希望去除限定,只需在注册表中删除DisabledHotkeys即可。

建议将两文件保存到虚拟机文件夹中,做备份用。

意外

万一遇到上述方法均失灵的情况,可通过系统健康恢复命令来完成系统功能恢复。具体方法是在管理员命令提示符窗口执行以下命令:

DISM/Online /Cleanup-image /Scanhealth

DISM/Online /Cleanup-image /Restorehealth

SFC /scannow
  • 北爷是我的猫,他的大名叫小北
  • 写在兵荒马乱的MavDay

已有 31 条评论
  1. incendite

    Propecia Dutasterida Khcfby [url=https://newfasttadalafil.com/]Cialis[/url] cialis online india Priligy Y Viagra demonstrating that human CC cells express Ttype G Ca channels that are involved in maintaining Ca homeostasis. https://newfasttadalafil.com/ - Cialis

    incendite June 6th, 2022 at 07:58 am回复
  2. tatinfiff

    tadalista vs cialis Kamaga Polo is a generic medication that is identical to the branded original in everything the same active ingredients, applications and formulation but trade name

    tatinfiff September 1st, 2022 at 11:34 am回复
  3. keywherly

    1 Bottle of Cialis 1,000mg priligy medication Is a lot to do with your mind but cialis will help get you through no matter what

    keywherly September 3rd, 2022 at 04:02 pm回复
  4. kinouct

    While running all the way, zhu hengyu quickly explored all the treasure houses on this floor buy generic cialis online safely

    kinouct September 5th, 2022 at 02:49 pm回复
  5. RoxRoably

    If you are allergic to any specific medications brand name cialis online

    RoxRoably September 7th, 2022 at 04:49 pm回复
  6. daclesy

    , has no relevant financial relationships. clomid 100mg success rate For women with hormonal flares of acne, such as increased breakouts related to the menstrual cycle, hormonal therapy can be a helpful addition to the treatment armamentarium.

    daclesy September 10th, 2022 at 02:48 pm回复
  7. Caunniz

    tamoxifen action Second doses of these expiry date.

    Caunniz September 13th, 2022 at 04:42 pm回复
  8. Liaibre

    doxycycline fda approved online lateral pharyngeal space infection.

    Liaibre September 17th, 2022 at 08:50 pm回复
  9. imamuSa

    Be aware that it also mimics your appetite hormone, so your appetite is likely to increase digoxin and lasix Don t always assume that their end results was just to get the benefits

    imamuSa October 7th, 2022 at 10:30 pm回复
  10. geosenuff

    8 3 167 Age in years, mean median range 54 cialis 5mg Cycle seeds into your diet Eat a mix of different seeds such as flaxseed, pumpkin, sunflower and sesame

    geosenuff November 17th, 2022 at 02:58 am回复
  11. Haurire

    is doxycycline a powerful antibiotic After 24 hours Alamar Blue reagent was added and fluorescence in the wells was read after 1 hour BMG PheraStar Microplate Reader

    Haurire November 18th, 2022 at 04:25 am回复
  12. toinnafar

    Description Cognitive function naturally declines with age and the additional insult of adjuvant therapy may accelerate or compound this decline clomid before and after This makes it all the more imperative to figure out a novel way to treat this type of tumor

    toinnafar November 19th, 2022 at 05:50 am回复
  13. stoowatry

    Hair typically grows back once chemotherapy is over buy stromectol australia 1949 examined the adrenals of a man and a woman and established a difference in the distribution of alkaline phosphatase activity

    stoowatry November 22nd, 2022 at 10:32 am回复
  14. coancepaL

    All mice lacking Runx1 died prematurely within 15 months after poly IC treatment, regardless of U2af1 status, after receiving ENU Fig lasix indication NDC 55513 132 01

    coancepaL November 23rd, 2022 at 01:54 pm回复
  15. Arressick

    Epithelial cells divide and replicate rapidly viagra tablet price Hyperlipidemic effects of dietary saturated fats mediated through PGC 1beta coactivation of SREBP

    Arressick December 9th, 2022 at 07:18 am回复
  16. nabadoria

    Oct1 Pou2f1 is a widely expressed POU domain transcription factor related to the embryonic stem cell master transcription factor, Oct4 1, 2 buy cialis viagra

    nabadoria December 15th, 2022 at 01:03 am回复
  17. brumeno

    stromectol dose for scabies Although 2 assays show that the mutant I410T can bind ATRA, it also exhibited a decreased transcriptional response to ATRA Figure 5, and ATRA regulation of binding to coregulators is completely lost Figure 4

    brumeno December 15th, 2022 at 11:19 am回复
  18. PrannaBic

    nolvadex for men Openly discuss feelings and concerns

    PrannaBic December 16th, 2022 at 02:44 am回复
  19. Plaippids

    1997; Britsch et al best price 1mg finasteride

    Plaippids December 16th, 2022 at 06:52 pm回复
  20. Shougs

    play online poker for money play online poker online poker games real money

    Shougs January 14th, 2023 at 05:51 am回复
  21. Effoli

    is online gambling legal in australia online gambling law pa online gambling launch

    Effoli January 16th, 2023 at 02:59 pm回复
  22. Irrarne

    Relative levels of TCA cycle intermediates following treatment with tamoxifen metformin or phenformin as measured by LC MS MS B, n 4 buy tamoxifen

    Irrarne January 24th, 2023 at 05:11 am回复
  23. Fruinly

    Even at extremely high concentrations of atovaquone 100 ОјM, 170, 000x EC 50 for parasite growth there was no significant inhibition of Pf DHODH activity Fig cialis

    Fruinly January 27th, 2023 at 06:25 am回复
  24. undepay

    Because every eye varies in size and shape, CATALYS advanced 3D imaging builds a 3D map of each eye and tailors the treatment to that map kamagra kent PCT duration 45 days

    undepay January 28th, 2023 at 02:48 am回复
  25. Impureple

    Routine labs tests like a comprehensive metabolic panel can help assess renal function, albumin, and liver function tests viagra female

    Impureple January 28th, 2023 at 03:40 am回复
  26. vattycix

    buy viagra female viagra pills vietnamese viagra

    vattycix January 28th, 2023 at 06:23 am回复
  27. Jaivova

    Oh and during the day I feel fine, its only during sleep that this happens best site to buy cialis online It also happens when they eat something unpleasant such as an insect which provides a bad taste

    Jaivova January 28th, 2023 at 03:25 pm回复
  28. Bymndassy

    These side effects can often be very successfully prevented or managed during treatment with supportive medications, and they usually go away after treatment is finished legendz xl vs viagra

    Bymndassy January 29th, 2023 at 04:33 am回复
  29. RodneyPouth

    [url=https://cephalexintabs.monster/]cephalexin canada[/url]

    RodneyPouth January 30th, 2023 at 11:17 am回复
  30. RobertJef

    [url=http://ampicillin.ink/]ampicillin price[/url]

    RobertJef January 30th, 2023 at 11:45 am回复
  31. CepChura

    ivermectin mechanism ivermectin humans ivermectin injection for sheep

    CepChura January 30th, 2023 at 05:33 pm回复
取消回复

说点什么?

© 2023 烈性果汁 . 京ICP备2022032198号