小技巧

Published 2023-02-09 01:37 369 words 2 min read ... Page views

This post is not yet available in English. Showing the original.
window系统一些常用小技巧

cmd 小技巧

快速打开系统变量

Ctrl + R 输入 sysdm.cql 可以快捷打开高级系统设置含有环境变量等修改

Net stop wuauserv 关闭 window 更新

Net start wuauserv打开 window 更新

查看唤醒设备

查看能唤醒设备 powercfg /devicequery wake_armed

允许唤醒 powercfg /deviceenablewake "XXX"

拒绝唤醒 powercfg /devicedisablewake "XXX"

不会就不要乱搞哦

bat 脚本

简单介绍

reg add \ABC\HKLM\Software\MyCo

添加或修改远程机器 ABC 上的一个注册表项 HKLM\Software\MyCo

reg add HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead

添加或修改一个值(名称: Data,类型: REG_BINARY,数据: fe340ead)

reg add HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d fax\0mail

添加或修改一个值(名称: MRU,类型: REG_MUTLI_SZ,数据: fax\0mail\0\0)

reg add HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d %%systemroot%%

添加或修改一个值(名称: Path,类型: REG_EXPAND_SZ,数据: %systemroot%)

注意: 在扩充字符串中使用双百分比符号( %% )

Linux

网卡设置

nmcli connection modify ens160 ipv4.method manual +ipv4.addresses 192.168.189.131/24 autoconnect yes

设置第一个 ip 与掩码

nmcli connection modify ens160 ipv4.method manual +ipv4.addresses 192.168.189.132/24 autoconnect yes

设置第二个 ip 与掩码

nmcli connection down ens160 && nmcli connection up ens160

重新启动网卡

window

启动报错Win32Bridge.Server.exe函数不正确 删除了Cortana系统的文件导致

  1. 在自带卸载应用界面,找到Cortana应用选择高级选项
  2. 选择充值此应用即可
  3. 重启
  4. 修好

If you enjoyed this, leave a comment~

... Page views
© 2021 - 2026 Vullfin @VV
Powered by theme astro-koharu · Inspired by Shoka