Tips and Tricks

Published 2023-02-09 01:37 298 words 2 min read ... Page views Handwritten Every word here was typed by me.

Some common tips and tricks for the Windows system

CMD Tips and Tricks

Quickly Open System Environment Variables

​ Press Ctrl + R and type sysdm.cql to quickly open Advanced System Settings, where environment variables and other settings can be modified.

​ Net stop wuauserv stops Windows Update

​ Net start wuauserv starts Windows Update

View Devices That Can Wake the System

​ List devices allowed to wake the system: powercfg /devicequery wake_armed

​ Allow wake: powercfg /deviceenablewake "XXX"

​ Disallow wake: powercfg /devicedisablewake "XXX"

Don't mess with these settings if you don't know what you're doing

bat scripts

Brief Introduction

reg add \ABC\HKLM\Software\MyCo

Adds or modifies a registry key HKLM\Software\MyCo on the remote machine ABC

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

Adds or modifies a value (Name: Data, Type: REG_BINARY, Data: fe340ead)

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

Adds or modifies a value (Name: MRU, Type: REG_MULTI_SZ, Data: fax\0mail\0\0)

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

Adds or modifies a value (Name: Path, Type: REG_EXPAND_SZ, Data: %systemroot%)

Note: use double percent signs ( %% ) in expanded strings

Linux

Network Adapter Settings

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

Sets the first IP address and netmask

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

Sets the second IP address and netmask

nmcli connection down ens160 && nmcli connection up ens160

Restarts the network adapter

Windows

Startup error: the function Win32Bridge.Server.exe is incorrect Caused by deleting the Cortana system files

  1. In the built-in app uninstall interface, find the Cortana app and select Advanced Options
  2. Select Reset this app
  3. Restart
  4. Fixed

Written by Handwritten

If you enjoyed this, leave a comment~

Random Posts

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