【整理】windows使用技巧

一、桌面、窗口及快捷方式

1.1、HKEY-CLASSES-ROOT 对应的 默认打开方式 无法生效;

regedit中,在 HKEY-CURRENT-USER Software Microsoft Windows CurrentVersion Explorer FileExts 中,

找到要取消的文件后缀名,删除多余的信息。

 

1.2、右键菜单 添加应用;

例如:Notepad3 portable版本 添加右键关联。 reg导出文件信息如下。

[HKEY_CLASSES_ROOT*shellEdit With Notepad3]
"Icon"="D:\Notepad3_x64\Notepad3.exe"
"MultiSelectModel"="Single"

[HKEY_CLASSES_ROOT*shellEdit With Notepad3command]
@=""D:\Notepad3_x64\Notepad3.exe" %1"

 

1.3、win10 清除过期任务栏通知图标;

 1)regedit 打开如下键值:HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify

 2)删除 右边 两个键值;conStreams 和 PastIconsStream。

 3)重启进程“explorer.exe”。

1.4、清除 Windows Defender 保护的历史记录

C:ProgramDataMicrosoftWindows DefenderScansHistoryServiceDetectionHistory 清空即可 

C:ProgramDataMicrosoftWindows DefenderScansHistoryService 下内容清空

二、用户及信息

2.1、使用 wmic 命令

    查询网卡信息:wmic nicconfig get macaddress

    查询cpu序列号:wmic cpu get processorid 

    查询主板序列号:wmic baseboard get serialnumber 

    查询BIOS序列号:wmic bios get serialnumber

2.2、windows 用户登录进去是临时账户解决办法

regedit 路径:HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows NT CurrentVersion ProfileList 中,删除.bak的注册信息和 temp用户的注册表信息

三、清理程序

3.1、通过 regsvr32 卸载 DLL文件;

regsvr32 /u DLL组件名  --- 卸载时;

regsvr32 DLL组件名  --- 注册时;

其他(待整理了)

 

【引用请声明出处,yvivid】https://www.cnblogs.com/yvivid/p/win_skill.html

 

原文地址:https://www.cnblogs.com/yvivid/p/win_skill.html