Windows

Windows/Linux系统、浏览器等应用程序常用快捷键

2025-12-28. Category & Tags: Windows, Shortcuts, 快捷键

Windows 常用快捷键 (非 Win 徽标组合) # 任务 按键 效果 复制 Ctrl + C 将所选内容复制到 Windows 剪贴板中,稍后用来粘贴。 粘贴 Ctrl + V 将之前剪切或复制的内容粘贴到应用程序中。 剪切 Ctrl + X 删除所选内容,将其复制到 Windows 剪贴板中,稍后用来粘贴。 保存 Ctrl + S 从当前活动的应用程序中保存文件。 撤消操作 Ctrl + Z 在 Windows 中撤消上次操作。重复按下此组合按键,以继续撤消之前的操作。 粗体文本 Ctrl + B 在文本处于编辑状态时,加粗所选文本,以突出显示。 带下划线的文本 Ctrl + U 在文本处于编辑状态时,为所选的文本加下划线。 斜体文本 Ctrl + I 在文本处于编辑状态时,对所选的文本应用斜体,以突出显示。 永久性删除文件 Shift + Delete 删除 Windows 中选中的文件,无需将其移至回收站。文件将被永久删除。 文件属性 Alt + Enter(或双击) 快速找到文件的属性信息。该按键组合可在桌面、文件资源管理器或 Windows 资源管理器中使用。 屏幕截图 Prt Scr(打印屏幕) 将屏幕照片复制到 Windows 剪贴板上,稍后作为图形粘贴。在某些笔记本电脑上,可能需要先按下 Fn,再按下 Prt Scr。 抓取窗口照片 Shift + Prt Scr(打印屏幕) 将当前窗口的照片(并非整个屏幕)复制到 Windows 剪贴板中,稍后作为图形粘贴。 关闭窗口或 web 页面 窗口处于活动状态时,按下 Alt + F4(功能键 F4) 关闭当前活动的窗口或应用程序。当您想要关闭没有关闭窗口按钮的网页时,该按键组合就会发挥很大作用。 关闭或重启 Windows Windows 桌面处于活动状态时,按下 Alt + F4(功能键 F4) 打开一个窗口,您可在此选择电源功能,如注销、睡眠、休眠、重新启动和关机。 打开开始菜单或开始屏幕 Windows 键或 Ctrl + Esc 打开或关闭开始菜单或开始屏幕。 打开一个窗口菜单或菜单项 Alt + 与菜单或菜单项的下划线字母相匹配的字母键 不使用鼠标打开菜单或菜单项,而是使用此按键组合。 打开右键(上下文)菜单 Shift + F10(功能键 F10) 不使用鼠标右键单击 Windows 中的某个项目,而是使用该按键组合。 运行命令 Windows 键 + R 打开运行对话框,键入 Windows 命令。 在应用程序之间切换 Alt + Tab 显示所有活动窗口。按住 Alt 键时反复按 Tab 键,切换至另一个窗口。 最小化窗口 Windows 键 + 向下箭头 将当前窗口最小化,而不用关闭。您可通过单击托盘图标,再次访问该窗口。 最大化窗口 Windows 键 + 向上箭头 更改当前窗口的尺寸,以填满整个屏幕。 最小化所有窗口 Windows 键 + M 最小化所有活动窗口。 还原所有最小化的窗口 Windows 键 + Shift + M 还原所有最小化到系统托盘的活动窗口。 轻松访问中心 Windows 键 + U 打开访问功能,如屏幕阅读、高对比度屏幕及鼠标替代选项等等。 打开任务管理器 Ctrl + Shift + Esc 打开任务管理器实用程序,监控当前运行任务和网络活动状态。 打开“系统属性” Windows 键 + Pause/Break 打开“系统属性”,快速访问基本系统信息并链接至其他有用的系统工具。 Win 徽标组合键 # 任务 Win 组合按键 效果 文件资源管理器 Windows 键 + E 打开文件资源管理器窗口,在您的电脑中浏览文件和文件夹。 系统设置 Windows 键 + I 打开设置系统设置窗口。 连接至设备 Windows 键 + K 打开连接或设备视图,连接至蓝牙设备。 锁定电脑 Windows 键 + L 锁定电脑,以防止未经授权的用户在您离开时访问电脑。 屏幕方向锁定 Windows 键 + O 在显示设备旋转时,阻止或允许屏幕旋转(如果支持)。 系统设置(常用高级) Windows 键 + X 打开高级设置菜单。 查看活动的应用程序 Windows 键 + Tab 调整并显示所有当前活动窗口,以成比例地符合屏幕尺寸(缩略图视图)。使用该视图可快速查看当前运行的所有内容,并且可关闭窗口或在窗口之间切换。重复按下此按键组合,返回窗口之前的尺寸和位置。 Windows 桌面 Windows 键 + E 隐藏开始屏幕或最小化所有活动窗口和菜单,以显示桌面。重复按下此按键组合,还原之前的视图。 窗口靠边 Windows 键 + 向左键头或向右键头 将当前窗口移动并调整至屏幕的左半部分或右半部分。 屏幕截图 Windows 键 + Prt Scr(打印屏幕) 将屏幕截图保存为 PNG 图片文件,放至图片库的屏幕截图文件夹中。 ref1: hp. ...

Windows 10 自动登录 & 选项消失恢复方法

2024-05-07. Category & Tags: Win10, Windows, Auto-Login

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device DevicePasswordLessBuildVersion change from 2 to 0. run: control userpasswords2 tip: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device] "DevicePasswordLessBuildVersion"=dword:00000000 ref: https://mengniuge.com/win10-autologin-fix.html

Windows Management Tools

2022-02-16. Category & Tags: System, Windows, Management, Tools

Windows Task Scheduler (任务计划程序) # Examples: $action = New-ScheduledTaskAction -Execute 'pwsh.exe' -Argument '-NonInteractive -NoLogo -NoProfile -File "C:\MyScript.ps1"' $trigger = New-ScheduledTaskTrigger -Once -At 3am $settings = New-ScheduledTaskSettingsSet $task = New-ScheduledTask -Action $Action -Trigger $Trigger -Settings $Settings Register-ScheduledTask -TaskName 'MySchedule' -InputObject $task -User 'username' -Password 'passhere' ScheduledTask -TaskName 'MySchedule' $action = New-ScheduledTaskAction -Execute 'Powershell.exe' ` -Argument '-NoProfile -WindowStyle Hidden -command "& {get-eventlog -logname Application -After ((get-date).AddDays(-1)) | Export-Csv -Path c:\fso\applog.csv -Force -NoTypeInformation}"' $trigger = New-ScheduledTaskTrigger -Daily -At 0am Register-ScheduledTask -Action $action -Trigger $trigger -TaskName "AppLog" -Description "Daily dump of Applog" $action = New-ScheduledTaskAction -Execute 'C:\FreeFileSync\FreeFileSync. ...

Find and Kill a Process

2021-10-09. Category & Tags: Windows, Linux, Commands, Networking, Ports

see also: 鸟哥 Linux 私房菜 Basic Linux. Linux # find bound PID by port: fuser 8080/tcp kill by port: fuser -k 8080/tcp list by port: lsof -i:8080 using netstat: netstat -nlpte |grep :8080 or: ss -nlpt 'sport = :8080' ref 1 & ref 2 Windows # CMD find PID by port & kill by PID: :: find pid first: netstat -ano | findstr :8080 :: then the pid's task/process tasklist | findstr "<the_PID>" taskkill /PID <the_PID> /F PS find for TCP & UDP: ...

Python GUI Frontend Options Comparison

2021-01-14. Category & Tags: Python, GUI, Desktop, Windows, Linux, Cross-Platfrom

Mainly for the (cross-platform) Python GUI frontend options. CEF (Chromium Embedded Framework). Pro: can use the same way of MVC thinking (modern html5); build-in chromium browser. Con: someone said it may need a little c++. PyQt (v5). Pro: big community, good doc (for c++). Con: c++ way of thinking, just the language is py (the official GUI tutorial lacks GUI screenshots!); pay for commercial usage; still often needs c++. Tkinter. Pro: build-in w/ py, big community. ...

Powershell PS In Case Of

2020-11-29. Category & Tags: Windows, Powershell, SSH, Ps

See also SSH. Overview: for both server and client: enable remote manager on both sides; set the other side as trusted. On both: Enable-PSRemoting -SkipNetworkProfileCheck -Force Set-Item wsman:\localhost\Client\TrustedHosts -value 192.168.1.* On the client: Enter-PSSession 192.168.xx.xx -Credential <server_computername>\<username> Tip: $Env:COMPUTERNAME # for computername $Env:USERNAME # for username [ref]

Powershell In Case Of

2018-02-09. Category & Tags: Powershell, Windows

Use Microsoft Terminal # choco install -y microsoft-windows-terminal Customizing PS Prompt (Use ConEmu) # See more in [codeship]. install chocolatey (i.e. win pkg manager) # option 1 [chocolatey official]: # Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) # install choco choco install conemu -y # Install PowerShell modules Install-PackageProvider NuGet -MinimumVersion '2.8.5.201' -Force Set-PSRepository -Name PSGallery -InstallationPolicy Trusted Install-Module -Name 'posh-git' option 2, with Git together codeship: # # Set your PowerShell execution policy Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force # Install Chocolatey iwr https://chocolatey. ...