0

我目前尝试制作阻止用户使用 nircmd 静音音量的脚本。但是当我手动运行时脚本很好但是当我使用任务调度程序运行但只执行了 2 行系统声音脚本时,我尝试在系统声音和应用程序声音结果之间制作 2 个不同的脚本,结果仍然相同,只执行系统声音脚本。

nircmd.exe setsysvolume 13104 -->Working on task scheduler and can manually run 
nircmd.exe mutesysvolume 0-->Working on task scheduler and can manually run 

nircmd.exe muteappvolume mstsc.exe 0 -->Not working on task scheduler and can manually run 
nircmd.exe setappvolume mstsc.exe 13104 -->Not working on task scheduler and can manually run 
4

0 回答 0