Windows Quick Commands
Windows Quick Commands
Change the RDP listener port.
① Open the registry and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.
② Change PortNumber value.

③ After you change the port number, restart the Remote Desktop Services service.
④ Firewall enable the RDP port.
Disable Windows 10/11 Updates.
services.msc -> Windows Updates -> Disabled
gpedit.msc -> Windows Update -> Configure Automatic Updates -> Disabled
Replaces ACLs with default inherited ACLs for all matching files.
ICACLS [dir] /RESET [/T] [/C] [/L] [/Q]
Find which process in using TCP or UDP port and terminate it.
netstat -ano | findstr "7890" |
Quick command to access Network Control Panel
ncpa.cpl
Managing user accounts
netplwiz
Windows 11 OOBE without internet connection.
Press Shift + F10, type OOBE\BYPASSNRO, on 25H2 and newer, type start ms-cxh:localonly
System Fix
DISM /Online /Cleanup-image /Checkhealth |
ROBOCOPY
# include empty, retry wait 5s, restartable mode, 32 multi-threaded |
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.