Loading [MathJax]/jax/output/CommonHTML/config.js
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >Disable Num Lock notification in VMware Workstation

Disable Num Lock notification in VMware Workstation

原创
作者头像
Windows技术交流
发布于 2021-09-29 15:48:10
发布于 2021-09-29 15:48:10
1.7K0
举报
文章被收录于专栏:Windows技术交流Windows技术交流

http://www.edugeek.net/forums/network-classroom-management/102744-vmware-numlock-num-lock-off-num-lock-num-lock-off.html

Main → Keyboard Features → NumLock → Off切换为On

添加描述

添加描述

https://www.technipages.com/enable-disable-numlock-windows-startup

Method 1 – Registry Setting

1.Hold the Windows Key then press “R” to bring up the Run dialog box.

2.Type “regedit“, then press “Enter“.

3.Navigate to the following location in the registry:

  • HKEY_USERS
  • .Default
  • Control Panel
  • Keyboard

4.Change the value of InitialKeyboardIndicators

  • Set it to 0 to set NumLock OFF
  • Set it to 2 to set NumLock ON
PowerShell Script

Use the following PowerShell code:

Enable Num Lock:

  • Set-ItemProperty -Path 'Registry::HKU\.DEFAULT\Control Panel\Keyboard' -Name "InitialKeyboardIndicators" -Value "2"

Disable Num Lock:

  • Set-ItemProperty -Path 'Registry::HKU\.DEFAULT\Control Panel\Keyboard' -Name "InitialKeyboardIndicators" -Value "0"

Method 2 – Function Keys

You may have inadvertently pressed a key combination on your keyboard to cause certain letters on your keyboard to be used as a numeric keypad. This is normally the case for laptop users.

In most cases, you will have a “Fn” and “NumLk” key that can be used to toggle this setting on or off. Hold the “Fn” key, then press “NumLk” to toggle the numeric keypad on or off.

Method 3 – BIOS Setting

Most computers, including virtual machines will have a BIOS setting that controls whether or not NumLock is enabled or disabled at startup. You can usually enter the BIOS by pressing a certain key such as “Delete” or “F1” at startup before Windows loads. Once in the BIOS, you should be able to find a setting that controls NumLock.

Method 4 – Startup or Logon Script

If you’re an administrator looking for a way to set the Num Lock on at startup, you can do so using a logon script. There is no specific Group Policy setting to accomplish this. Instead use the following.

  1. Copy and paste the following into a Notepad document, then save it as “numlock.vbs“: set WshShell = CreateObject("WScript.Shell") WshShell.SendKeys "{NUMLOCK}"
  2. Do one of the following:
  • Place the “numlock.vbs” file in the “Startup” folder of the target computer or user.
  • Run the script through Group Policy using these steps:
  1. Place the “numlock.vbs” in one of the following folders:
  2. Local logon script path = “%SystemRoot% \ System32 \ GroupPolicy \ User Computer\ Scripts \ Logon
  3. Domain logon script path = “%SysVolFolder% \ Sysvol \ Sysvol \ DomainName \ Scripts
  4. Hold down the Windows Key and press “R” to bring up the Windows Run dialog box.
  5. Type “mmc“, then press “Enter“.
  6. Go to “File” > “Add/Remove Snap-in” > “Add” > “Group Policy“.
  7. Select the GPO you wish to use by selecting “Browse“. The default is the local computer.
  8. Select “Finish” > “Close” > “OK“.
  9. From the Group Policy Management snap-in, navigate to “User Configuration” or “Computer Configuration” > “Windows Settings” > “Scripts“.
  10. Double-click “Logon script“, then go to “Add” > “Browse“, then select “numlock.vbs“.
  11. Select “Open” > “OK” > “OK“.

Note: The “numlock.vbs” script will simply act like it is pressing the “Num Lock” key once. So really, it will toggle it to the opposite of what it is by default. It’s probably better to use the Registry method, but this method is handy when you’re in a bind.

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
暂无评论
推荐阅读
编辑精选文章
换一批
Windows中常见后门持久化方法总结
当我们通过各种方法拿到一个服务器的权限的时候,我们下一步要做的就是后渗透了,而后门持久化也是我们后渗透很重要的一部分,下面我来总结一下windows下常见的后门持久化的方法
HACK学习
2019/10/09
3K0
Windows中常见后门持久化方法总结
渲染镜像优化
一、如果需要非sysprep(即不入域)的镜像,现有镜像买一台带公网的机器,做如下几个优化:
Windows技术交流
2023/03/23
9130
内网渗透 | 浅谈域渗透中的组策略及gpp运用
最近在实战过程中遇到了组策略,发现攻击面其实挺宽广的,这里记录下自己的分析和学习过程。
HACK学习
2021/06/24
3.1K0
内网渗透 | 浅谈域渗透中的组策略及gpp运用
NT10系统安装wmic和netfx3并卸载AzureArcSetup
NT10系统安装wmic和netfx3并卸载AzureArcSetup,这段代码我在用原版ISO安装系统时在自动应答文件里有使用。
Windows技术交流
2024/12/26
1890
渗透测试与开发技巧
https://github.com/3gstudent/Pentest-and-Development-Tips
天钧
2021/01/05
4.8K0
【Tomcat】《How Tomcat Works》英文版GPT翻译(第十七章)
This chapter focuses on Tomcat startup using two classes in the org.apache.catalina.startup package, Catalina and Bootstrap. The Catalina class is used to start and stop a Server object as well as parse the Tomcat configuration file, server.xml. The Bootstrap class is the entry point that creates an instance of Catalina and calls its process method. In theory, these two classes could have been merged. However, to support more than one mode of running Tomcat, a number of bootstrap classes are provided. For example, the aforementioned Bootstrap class is used for running Tomcat as a stand-alone application. Another class, org.apache.catalina.startup.BootstrapService, is used to run Tomcat as a Windows NT service.
阿东
2024/01/29
4450
【Tomcat】《How Tomcat Works》英文版GPT翻译(第十七章)
Appium Python API 中文
2. current_context current_context(self):
py3study
2020/01/09
3.9K0
基于树莓派的多功能USB实现--BadUSB模式
https://github.com/pedroqin/RaspberryPi-based-multi-functional-USB-Device
PedroQin
2020/02/12
3.1K0
fvwm 4_FV7144TFATG
This command controls several workarounds for bugs in third party programs. The individual options are separated by commas. The optional argument bool is a boolean argument and controls if the bug workaround is enabled or not. It can either be “True” or “False” to turn the option on or off, or “toggle” to switch is back and forth. If bool is omitted, the default setting is restored.
全栈程序员站长
2022/11/09
2730
WMI利用(横向移动)
上一篇文章我们简单的解释了什么是WMI,WMI做什么,为什么使用WMI。本文是笔者在阅读国内部分的解释WMI横向移动的文章后写下的一篇文章,希望帮助同学们在攻防中进入横向移动后根据实际场景利用WMI来解决问题。在横向移动中的固定过程中一定离不开“信息收集”,然后分析信息根据实际场景(工作组或者域)来进行横向移动,至于使用什么工具,为什么使用这个工具,笔者使用WMI的意见。所以本文分为三个段落,信息收集、横向移动、部分意见。 信息收集。
谢公子
2022/01/19
3.1K0
WMI利用(横向移动)
metasploit framework的一些使用姿势
Meterpreter的persistence脚本允许注入Meterpreter代理,以确保系统重启之后Meterpreter还能运行。
中龙技术
2022/09/29
1.2K0
内网渗透测试:初探远程桌面的安全问题
远程桌面对了解内网渗透的人来说可能再熟悉不过了。在渗透测试中,拿下一台主机后有时候会选择开 3389 进远程桌面查看一下对方主机内有无一些有价值的东西可以利用。但是远程桌面的利用不仅如此,本节我们便来初步汇总一下远程桌面在内网渗透中的各种利用姿势。
FB客服
2021/07/02
4.2K0
Docker安装tomcat, mysql,redis(单机版)
即可通过 http://IP:8080 访问,最新版的tomcat10需要把 webapps.dist 目录换成webapps 才能访问主页
鱼找水需要时间
2023/02/16
1.6K0
Docker安装tomcat, mysql,redis(单机版)
powershell学习备忘
背景 早就听说微软的powershell非常强大,凭借它可以全命令行操控windows服务器了。最近终于要在工作中用到它了,于是花了几个小时将powershell的基础教程看了下,这里将学习过程中的一些要点记录一下。 环境准备 欲善其事,先利其器,先准备一个开发环境。 个人的开发电脑是macOS 11.13.3,为了开发powershell脚本,在本机安装了一个windows 7 sp1的虚拟机。 升级powershell版本 win7自带的powershell版本较低,这里将windows 7 sp1里自
jeremyxu
2018/05/10
13.3K0
36·Python项目-博客(前后不分离)
-多年互联网运维工作经验,曾负责过大规模集群架构自动化运维管理工作。 -擅长Web集群架构与自动化运维,曾负责国内某大型金融公司运维工作。 -devops项目经理兼DBA。 -开发过一套自动化运维平台(功能如下): 1)整合了各个公有云API,自主创建云主机。 2)ELK自动化收集日志功能。 3)Saltstack自动化运维统一配置管理工具。 4)Git、Jenkins自动化代码上线及自动化测试平台。 5)堡垒机,连接Linux、Windows平台及日志审计。 6)SQL执行及审批流程。 7)慢查询日志分析web界面。
DriverZeng
2022/11/08
9390
36·Python项目-博客(前后不分离)
红队常用命令
如下编码网站: https://ares-x.com/tools/runtime-exec/ https://r0yanx.com/tools/java_exec_encode/ https://www.bugku.net/runtime-exec-payloads/
reyeye
2023/10/13
3.6K0
Gazebo機器人仿真學習探索筆記(一)安裝與使用
Gazebo提供了多平臺的安裝和使用支持,大部分主流的linux,Mac以及Windows,這裏結合ROS以Ubuntu爲例進行介紹。
zhangrelay
2019/01/23
6.4K0
渗透测试常规操作记录(下)
Linux 操作系统&内核版本&环境变量 >cat /etc/issue >cat /etc/*-release >cat /etc/lsb-release >cat /etc/redhat-release cat /proc/version >uname -a >uname -mrs >rpm -q kernel >dmesg | grep Linux >ls /boot | grep vmlinuz- >cat /etc/profile >cat /etc/bashrc >cat ~/.bash_pr
天钧
2020/10/23
5.9K0
渗透测试常规操作记录(下)
零基础看内网渗透技术
2、配置固定ip: 其中网关设置错误,应该为192.168.206.2,开始默认的网管
天钧
2021/01/06
2.2K0
零基础看内网渗透技术
干货 | 最全Windows权限维持总结
红队人员拿到一台主机权限后首先会考虑将该机器作为一个持久化的据点,种植一个具备持久化的后门,从而随时可以连接该被控机器进行深入渗透。通俗的说抓到一条鱼,不能轻易放走了。
HACK学习
2021/07/21
3.1K0
相关推荐
Windows中常见后门持久化方法总结
更多 >
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档