Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Sign in to follow this  
clivebuckwheat

Mute sound on Windows boot up via script or command line URGENT

Recommended Posts

iamtheky    0

you can make a small autoit exe to call from the command line


send ("{Volume_Mute}")
exit

if its the only item in the run key, it should execute before the windows entrance jingle.

Share this post


Link to post
Share on other sites

you can make a small autoit exe to call from the command line


send ("{Volume_Mute}")
exit

if its the only item in the run key, it should execute before the windows entrance jingle.

Thanks but there is other items in the Run loading which is needed.

Share this post


Link to post
Share on other sites
iamtheky    0

I compiled that script, named it 'mute.exe' and put in the root of d:\

in HKCU\Appevents\Schemes\Apps\.Default\SystemStart\

change the default key in both .current and .default entries to point at d:\mute.exe instead of the '..startup.wav'

in HKU\.Default\Appevents\Schemes\Apps\.Default\SystemStart\

perform the same actions

--its toggling at the moment - trying to figure out if its running and failing and re-running. or if having it in both locations is causing it to run multiple times.

BTW - placing the mute in the run/runonce/runonceex never worked, even when the first/only item

Edited by iamtheky

Share this post


Link to post
Share on other sites
iamtheky    0

you have made me curious for a method to accomplish this as well. My first solution has a fatal flaw in that if the volume is already muted, it will unmute.

so renaming 'windows xp startup.wav' (or deleting the contents of the media folder)

then from the run key executing an autoit script like


send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
Exit

Would accomplish the effect.

Share this post


Link to post
Share on other sites

you have made me curious for a method to accomplish this as well. My first solution has a fatal flaw in that if the volume is already muted, it will unmute.

so renaming 'windows xp startup.wav' (or deleting the contents of the media folder)

then from the run key executing an autoit script like


send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
send ("{Volume_down}")
Exit

Would accomplish the effect.

Thanks for your help, a delete is the quick and dirty way to get this done on 52 pc's via script.

Share this post


Link to post
Share on other sites
Guest nfljerseys   
Guest nfljerseys

thanks for sharing this kind of stuff… great

Edited by Tripredacus
removed links

Share this post


Link to post
Share on other sites
uid0    0

Thanks for your help, a delete is the quick and dirty way to get this done on 52 pc's via script.

"Mute sound on Windows boot up" is not the same as "stop the windows login sound from playing"...

Just in case getting rid of some of the other sound effects becomes "URGENT" :lol: , here's a tweak with some clues:

http://www.msfn.org/board/topic/116129-custamize-winxp-default-sounds-in-unattended-winxp/page__view__findpost__p__757122

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×