Using Task Scheduler to Mute System Volume

Page 2 of 2 FirstFirst 12

  1. Posts : 1,767
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #11

    mccoady said:
    Yes I’m running 64 bit Windows 10 and the file path of NirCmd shows it as 64 bit.

    I’m copying and pasting the commands from http://www.nirsoft.net/utils/nircmd.html . I didn’t try monitor off command but did try command to open cd door (changed drive letter) and it didn’t work. Guess I can try that but expect the same results.

    I think where I could be going wrong is how I’m inputting the commands on the Action tab. I’m browsing to file path C:\Windows\nircmd.exe which is correct. Now under “Arguments” do I Input nirmcd.exe monitor off?
    You're doing fine. My fault for not realising sooner... which is why I amended my previous post.

    Open a commandlne window (CMD, not PowerShell) and try nircmd.exe monitor off.
      My Computer


  2. Posts : 75
    Windows 10
    Thread Starter
       #12

    RickC said:
    You're doing fine. My fault for not realising sooner... which is why I amended my previous post.

    Open a commandlne window (CMD, not PowerShell) and try nircmd.exe monitor off.
    Yes that works.

    I also just created a desktop shortcut for mutesyvolume 2 and it works.

    So apparently it has something to do with how I'm setting up Task Scheduler?
      My Computer


  3. Posts : 1,767
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #13

    mccoady said:
    Yes that works.
    Excellent! Have fun playing with nircmd.

    Sorry but I don't have any familiarity with Task Scheduler (apart from scripting the deletion of a number of default tasks).
      My Computer


  4. Posts : 75
    Windows 10
    Thread Starter
       #14

    RickC said:
    Excellent! Have fun playing with nircmd.

    Sorry but I don't have any familiarity with Task Scheduler (apart from scripting the deletion of a number of default tasks).
    Thanks maybe dalchina will jump back in and can figure out what I'm doing wrong.
      My Computer


  5. Posts : 16,949
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #15

    mccoady,

    Since there has been a diversion as you tried using the other commands as tests, please could you post what your Task scheduler task definition has now become?

    What does the Task history tab say?

    Denis
      My Computer


  6. Posts : 75
    Windows 10
    Thread Starter
       #16

    Try3 said:
    mccoady,

    Since there has been a diversion as you tried using the other commands as tests, please could you post what your Task scheduler task definition has now become?

    What does the Task history tab say?

    Denis
    Well it says the History is disabled how come?

    First thing this morning I created another mutesyvolume 2 task and left all settings at default. To my surprise it muted the volume but after changing the time to trigger it again it won't repeat muting the volume... have tried several times. Below are my settings.
    Attached Thumbnails Attached Thumbnails Using Task Scheduler to Mute System Volume-conditions.jpg   Using Task Scheduler to Mute System Volume-settings.jpg   Using Task Scheduler to Mute System Volume-history-disabled-.jpg   Using Task Scheduler to Mute System Volume-general.jpg   Using Task Scheduler to Mute System Volume-triggers.jpg  

    Using Task Scheduler to Mute System Volume-actions.jpg  
      My Computer


  7. Posts : 16,949
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #17

    You have used the form of the NirCmd for returning the volume to 'normal' [whatever that means]. Try using values 0 or 1 instead.

    Denis
      My Computer


  8. Posts : 42,987
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #18

    Actually
    nircmd mutesysvolume 2
    in my run box toggles the volume on and off.

    Suggest you get this working first using the Run box.
      My Computers


  9. Posts : 75
    Windows 10
    Thread Starter
       #19

    @ Try3
    I actually started out using values 0 & 1 but then went to 2.

    @ dalchina
    I actually got it to work using Prompt & desktop shortcut as stated earlier.

    What I'm finding out is after creating the task it's not always enabling the task. It shows it's enabled when creating the task but once I finish and go back to Task Scheduler Library it sometimes shows disabled. It does this a lot when I edit the time. If I manually enable it it probably works 80% of the time.

    When I say 80% I mean most of the time I set it to mute it works but then doesn't always work to unmute.

    Guess I'll go ahead and set a schedule to mute daily at 10:00 PM & unmute at 8:30 AM to see what happens. If it will just mute each night I suppose I could live with that although don't know why it's not more consistent.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:20.
Find Us




Windows 10 Forums