0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Windows11 休止から復帰すると音声が再生されなくなる

Last updated at Posted at 2025-08-15

Windows11で休止からの復帰時に、すべての音声が再生されなくなるという問題が頻繁に発生して困っています。
音声はHdmi接続のモニタから再生しています。

原因は不明ですが、Windows Audioを再起動すると直ります。

タスクマネージャー - サービス - 右上のサービスを開く
Windows Audioを探して、右クリック再起動

ChatGPTにbatファイルを書いてもらいました。(通常権限で実行しても、管理者権限を取得して動作します)

audiorestart.bat
@echo off
set "serviceName=audiosrv"
set "scriptPath=%~dp0%~nx0"

:: 管理者権限で実行されているかチェック
openfiles >nul 2>&1
if %errorlevel% neq 0 (
    echo 管理者権限で再実行します...
    powershell -Command "Start-Process '%scriptPath%' -Verb RunAs"
    exit /b
)

echo Windows Audio サービスを再起動します...
net stop "%serviceName%"
net start "%serviceName%"
echo サービスが再起動されました。
pause
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?