killed ALL the beeping ... Issue #94

This commit is contained in:
Michael H.G. Schmidt 2023-02-02 17:27:36 +01:00
parent e1557df287
commit a5cccf9783
2 changed files with 6 additions and 0 deletions

View File

@ -205,6 +205,9 @@ echo.
powershell -command .\disable-soundscheme.ps1
echo.
rem stop all the beeping ...
sc config beep start=disabled
echo #####################
echo ### CLEANUP tasks ###
echo #####################

View File

@ -293,6 +293,9 @@ echo Disabling autoplay ...
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" ^
/v "DisableAutoplay" /t REG_DWORD /d 1 /f 1>nul
echo Disabling autoplay ...
reg add "HKCU\Control Panel\Sound" /v "Beep" /t REG_SZ /d "no" /f 1>nul
rem no SEAFILE for the Admin!
if "%USERNAME%" == "%localadmin%" GOTO SEAFILE_DONE