小银狐 发表于 2024-12-30 09:44

中文输入法不显示选字框
-------------
解决方法:进入https://store.rg-adguard.net(这网站可以下载商店所有应用的离线安装包)
第一栏选ProductId,第二栏输入9wzdncrfjbmp,第三栏确保是RP再按勾。下载Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe.appx(实测不需要x86版)

打开powershell,输入命令Add-AppxPackage -Path <此为文件路径>,例如Add-AppxPackage -Path C:\Users\你的用户名\桌面\Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe.appx。安装完后即可解决上述问题,无需重启,进程占用随即会变成0%,输入法也好了。

qqsxbg 发表于 2024-12-30 09:45




右键菜单 哈希值

Windows Registry Editor Version 5.00



[-HKEY_CLASSES_ROOT\*\shell\hash]
[-HKEY_CLASSES_ROOT\Directory\shell\hashDirectory]

#右键菜单 哈希值校验 添加



"MUIVerb"="Hash 值校验"
"SubCommands"=""
"icon"="SHELL32.dll,22"
"Position"="Bottom"

; SHA1

"MUIVerb"="SHA1"
"icon"="SHELL32.dll,22"


@="powershell -noexit get-filehash -literalpath \\\"%1\\\" -algorithm SHA1 | format-list"

; SHA256

"MUIVerb"="SHA256"
"icon"="SHELL32.dll,22"


@="powershell -noexit get-filehash -literalpath \\\"%1\\\" -algorithm SHA256 | format-list"

; SHA384

"MUIVerb"="SHA384"
"icon"="SHELL32.dll,22"


@="powershell -noexit get-filehash -literalpath \\\"%1\\\" -algorithm SHA384 | format-list"

; SHA512

"MUIVerb"="SHA512"
"icon"="SHELL32.dll,22"


@="powershell -noexit get-filehash -literalpath \\\"%1\\\" -algorithm SHA512 | format-list"

; MACTripleDES

"MUIVerb"="MACTripleDES"
"icon"="SHELL32.dll,22"


@="powershell -noexit get-filehash -literalpath \\\"%1\\\" -algorithm MACTripleDES | format-list"

; MD5

"MUIVerb"="MD5"
"icon"="SHELL32.dll,22"


@="powershell -noexit get-filehash -literalpath \\\"%1\\\" -algorithm MD5 | format-list"

; RIPEMD160

"MUIVerb"="RIPEMD160"
"icon"="SHELL32.dll,22"


@="powershell -noexit get-filehash -literalpath \\\"%1\\\" -algorithm RIPEMD160 | format-list"

; SHA1 (保存txt)

"CommandFlags"=dword:00000020
"MUIVerb"="SHA1 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell -noexit -command \"$filePath = '%1'; $fileName = ::GetFileNameWithoutExtension($filePath); $fullFileName = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm SHA1 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append\"; exit"

; SHA256 (保存txt)

"MUIVerb"="SHA256 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell -noexit -command \"$filePath = '%1'; $fileName = ::GetFileNameWithoutExtension($filePath); $fullFileName = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm SHA256 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append\"; exit"

; SHA384 (保存txt)

"MUIVerb"="SHA384 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell -noexit -command \"$filePath = '%1'; $fileName = ::GetFileNameWithoutExtension($filePath); $fullFileName = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm SHA384 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append\"; exit"

; SHA512 (保存txt)

"MUIVerb"="SHA512 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell -noexit -command \"$filePath = '%1'; $fileName = ::GetFileNameWithoutExtension($filePath); $fullFileName = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm SHA512 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append\"; exit"

; MACTripleDES (保存txt)

"MUIVerb"="MACTripleDES (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell -noexit -command \"$filePath = '%1'; $fileName = ::GetFileNameWithoutExtension($filePath); $fullFileName = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm MACTripleDES | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append\"; exit"

; MD5 (保存txt)

"MUIVerb"="MD5 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell -noexit -command \"$filePath = '%1'; $fileName = ::GetFileNameWithoutExtension($filePath); $fullFileName = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm MD5 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append\"; exit"

; RIPEMD160 (保存txt)

"MUIVerb"="RIPEMD160 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell -noexit -command \"$filePath = '%1'; $fileName = ::GetFileNameWithoutExtension($filePath); $fullFileName = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Get-FileHash -LiteralPath $filePath -Algorithm RIPEMD160 | Select-Object @{Name='Algorithm';Expression={$_.Algorithm}}, @{Name='Hash';Expression={$_.Hash}}, @{Name='FullFileName';Expression={$fullFileName}}, @{Name='CurrentTime';Expression={$currentTime}} -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileName)) -Append\"; exit"

; Allget-filehash -literalpath '%1' -algorithm RIPEMD160 | format-list

"CommandFlags"=dword:00000020
"MUIVerb"="Show all"
"icon"="SHELL32.dll,22"


@="powershell -noexit get-filehash -literalpath \\\"%1\\\" -algorithm SHA1 | format-list;get-filehash -literalpath \\\"%1\\\" -algorithm SHA256 | format-list;get-filehash -literalpath \\\"%1\\\" -algorithm SHA384 | format-list;get-filehash -literalpath \\\"%1\\\" -algorithm SHA512 | format-list;get-filehash -literalpath \\\"%1\\\" -algorithm MACTripleDES | format-list;get-filehash -literalpath \\\"%1\\\" -algorithm MD5 | format-list;get-filehash -literalpath \\\"%1\\\" -algorithm RIPEMD160 | format-list"





"icon"="SHELL32.dll,22"
"SubCommands"=""
"MUIVerb"="Hash 校验目录下所有文件"
"Position"="Bottom"




"MUIVerb"="SHA1 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell.exe -NoExit -Command \"$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = ::GetFileNameWithoutExtension($filePath); $fileNameWithExt = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm SHA1; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 SHA1 验证完毕.'\""


"MUIVerb"="SHA256 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell.exe -NoExit -Command \"$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = ::GetFileNameWithoutExtension($filePath); $fileNameWithExt = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm SHA256; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 SHA256 验证完毕.'\""


"MUIVerb"="SHA384 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell.exe -NoExit -Command \"$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = ::GetFileNameWithoutExtension($filePath); $fileNameWithExt = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm SHA384; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 SHA384 验证完毕.'\""



"MUIVerb"="SHA512 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell.exe -NoExit -Command \"$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = ::GetFileNameWithoutExtension($filePath); $fileNameWithExt = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm SHA512; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 SHA512 验证完毕.'\""



"MUIVerb"="MACTripleDES (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell.exe -NoExit -Command \"$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = ::GetFileNameWithoutExtension($filePath); $fileNameWithExt = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm MACTripleDES; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 MACTripleDES 验证完毕.'\""



"MUIVerb"="MD5 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell.exe -NoExit -Command \"$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = ::GetFileNameWithoutExtension($filePath); $fileNameWithExt = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm MD5; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 MD5 验证完毕.'\""



"MUIVerb"="RIPEMD160 (保存txt)"
"icon"="SHELL32.dll,22"


@="powershell.exe -NoExit -Command \"$folderPath = '%1'; Get-ChildItem -Path $folderPath -Recurse -File | ForEach-Object { $filePath = $_.FullName; $fileNameWithoutExt = ::GetFileNameWithoutExtension($filePath); $fileNameWithExt = ::GetFileName($filePath); $currentTime = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; $fileHash = Get-FileHash -LiteralPath $filePath -Algorithm RIPEMD160; $fileHash | Add-Member -NotePropertyName 'OriginalFileName' -NotePropertyValue $fileNameWithExt -PassThru | Add-Member -NotePropertyName 'CurrentTime' -NotePropertyValue $currentTime -PassThru | Select-Object Algorithm, Hash, OriginalFileName, CurrentTime -ExcludeProperty Path | Format-List | Out-File -FilePath (Join-Path (Split-Path -Parent $filePath) ('{0}_hash.txt' -f $fileNameWithoutExt)) -Append }; Write-Host '文件夹内所有文件 RIPEMD160 验证完毕.'\""


XYKJ666 发表于 2024-12-30 09:46

万能大法,拳拳到肉

小银狐 发表于 2024-12-30 09:47

本帖最后由 小银狐 于 2024-12-30 14:01 编辑

使用 PowerShell 读取已安装的 Windows 版本

首先,将其复制到其中:
$AllBuilds = $(gci "HKLM:\System\Setup" | ? {$_.Name -match "\\Source\s"}) | % { $_ | Select @{n="UpdateTime";e={if ($_.Name -match "Updated\son\s(\d{1,2}\/\d{1,2}\/\d{4}\s\d{2}:\d{2}:\d{2})\)$") {::Parse($Matches,(::CreateSpecificCulture('en-US')))}}}, @{n="ReleaseID";e={$_.GetValue("ReleaseID")}},@{n="Branch";e={$_.GetValue("BuildBranch")}},@{n="Build";e={$_.GetValue("CurrentBuild")}},@{n="ProductName";e={$_.GetValue("ProductName")}},@{n="InstallTime";e={::FromFileTime($_.GetValue("InstallTime"))}} }

然后:
$AllBuilds | Sort UpdateTime | ft UpdateTime, ReleaseID, Branch, Build, ProductName

排序良好:
$AllBuilds | Sort UpdateTime | % { "$($_.UpdateTime) | $($_.ReleaseId) | $($_.Branch) | $($_.Build) | $($_.ProductName)" }

在注册表中,您可以在HKEY_LOCAL_MACHINE.SYSTEM.SYSTEM.SYSTEM上找到这些条目。然后,让我们去,你的Windows10\11已经多大了?是否仍然提供 10240 和"盒子"仍在运行?也很有趣.

tedrick 发表于 2024-12-30 09:49

qqsxbg 发表于 2024-12-30 09:39
右键 Windows安全中心菜单

{:5_264:}难得看到很爱用defender的坛友。。。我一贯都去除组件的。。。



yyhkc 发表于 2024-12-30 09:50

这个真得收藏学习一下

wxc1625 发表于 2024-12-30 09:50

进来学习技巧

XYKJ666 发表于 2024-12-30 09:51

简单明了,一步到位

sowav 发表于 2024-12-30 09:52

有像我一样习惯默认输入法为英文状态吗?

Windows Registry Editor Version 5.00


"00000804"="00000409"

"1"="00000804"

qqsxbg 发表于 2024-12-30 09:53

tedrick 发表于 2024-12-30 09:49
难得看到很爱用defender的坛友。。。我一贯都去除组件的。。。

defender 感觉很好啊。 除了 注册鸡。这些会给你删除。其它没啥啊。

设置好白名单就完事了

xingthx 发表于 2024-12-30 09:53

感谢分享。。

qqsxbg 发表于 2024-12-30 09:54

sowav 发表于 2024-12-30 09:52
有像我一样习惯默认输入法为英文状态吗?

给你补充一下



Windows Registry Editor Version 5.00

#输入法 IME 默认模式:1英语,0中文

"Default Mode"=dword:00000001

#选择微软拼音 IME 云计算选项:1启用,0关闭

"Enable Cloud Candidate"=dword:00000000


"1"="00000804"

"00000804"="00000409"

#设置 时间和语言 输入 高级键盘设置 语言栏选项 在任务栏中显示其他语言图标

"ExtraIconsOnMinimized"=dword:00000001

#设置 时间和语言 输入 高级键盘设置 语言栏选项 在语言栏上显示文本标签

"Label"=dword:00000001

wxc1625 发表于 2024-12-30 09:55

此贴太秒了         

小银狐 发表于 2024-12-30 09:55

在 Windows 11 中禁用文件夹自动发现
--------------------------------------
Windows 11 的文件资源管理器无疑比 Windows 10 的文件资源管理器慢,而且 2 月份的更新之一也破坏了一些人的文件管理器。我们不知道微软何时会让“现代”文件资源管理器变得更快,但关闭自动文件夹发现功能在打开大文件夹时可能特别有用。

一个简单的修复方法是在注册表中创建一个新值以绕过文件夹类型自动发现过程。
----------------------------------------------------
为此,请转到以下位置:HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell

右键单击空白区域的右侧,选择“编辑” > “新建” > “字符串值”并将其命名为“FolderType”。

文件资源管理器文件夹类型未指定

编辑>新建>字符串值。使用“FolderType”作为名称,然后双击它以将值更改为“NotSpecified”
您需要将FolderType的值设置为NotSpecified。


完成后,文件资源管理器不再浪费时间扫描每个文件来决定如何显示文件夹的内容。编辑注册表不仅使文件资源管理器更快,而且还标准化了所有文件夹的视图。
=====================
如果要恢复,请从注册表项中删除“ NotSpecified ”值并保存更改。

qqsxbg 发表于 2024-12-30 09:57

小银狐 发表于 2024-12-30 09:55
在 Windows 11 中禁用文件夹自动发现
--------------------------------------
Windows 11 的文件资源管理 ...

Windows Registry Editor Version 5.00


#关闭文件类型发现功能提高文件管理器加载速度

"FolderType"="NotSpecified"

小银狐 发表于 2024-12-30 09:59

以(管理员)身份打开 PowerShell
复制这个:Add-AppxPackage “C:\Microsoft.WindowsStore_22111.1402.1.0_neutral___8wekyb3d8bbwe.Msixbundle”
粘贴到 PowerShell 中并按 Enter,安装商店。
---------------------------------
在打开的“管理员:Windows Powershell”窗口中输入以下命令:

get-appxpackage *store* | remove-Appxpackage

复制此命令即可实现卸载微软商店了!

小银狐 发表于 2024-12-30 09:59

以管理员 cmd 输入:

1、卸载小组件
winget uninstall MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy

2、安装小组件
winget install 9MSSGKG348SP

小银狐 发表于 2024-12-30 09:59

清理图标缓存
del /f /s /q %LocalAppData%\Microsoft\Windows\Explorer\*.db
-----------------------
重启资源管理器
tskill explorer /A

叶风秋 发表于 2024-12-30 10:01

终于找到我需要的了

小银狐 发表于 2024-12-30 10:01

.cab格式安装。

右键点击:命令提示符(管理员)

命令格式如下:
dism /online /add-package /packagepath:D:\Download\windows10.0-kb4586853-x64.cab

一.最原始的方法

   1.右键cmd,以管理员权限运行
   2.你可以选择下面任意一个命令安装更新(文件名需要全目录)
                  dism /online /add-package /packagepath:文件名
                  start /w pkgmgr /ip /m:文件名
页: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16
查看完整版本: Windows 11 24H2 技巧征集帖子