|
|
本帖最后由 jinkun23 于 2025-12-20 12:26 编辑
::win7适用,复制下面文字另存为.cmd文件双击即可。
:: 声音方案改为无声
reg add "HKCU\AppEvents\Schemes" /f /ve /t REG_SZ /d ".None" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\.Default\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\ChangeTheme\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceConnect\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceFail\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\FaxBeep\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\MailBeep\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemExit\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemHand\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemNotification\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\WindowsLogoff\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\WindowsLogon\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\.Default\WindowsUAC\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\Explorer\BlockedPopup\.current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\Explorer\FeedDiscovered\.current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\Explorer\Navigating\.Current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\Explorer\SecurityBand\.current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\DisNumbersSound\.current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubOffSound\.current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubOnSound\.current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubSleepSound\.current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\MisrecoSound\.current" /f /ve /t REG_SZ /d "" >nul
reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\PanelSound\.current" /f /ve /t REG_SZ /d "" >nul
:: 禁止播放Windows启动声音
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\BootAnimation" /f /v "DisableStartupSound" /t REG_DWORD /d 1 >nul
|
|