Sign in to follow this  
Followers 0
clivebuckwheat

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

13 posts in this topic

Tried to put a vbscript in all users startup, but doesn't take until the full desktop loads. I need a way via command line to mute the sound. Any help would greatly be appreciated.

0

Share this post


Link to post
Share on other sites

Run it from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

0

Share this post


Link to post
Share on other sites

Run it from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

That will also wait until the full desktop loads before muting the sound. I tried that

0

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.

0

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.

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

Would this work for all users?, or just the current logged in user?

0

Share this post


Link to post
Share on other sites

you could also delete all the wav file in "C:\WINDOWS\Media\Windows XP Logon Sound.wav"

0

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.

0

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.

0

Share this post


Link to post
Share on other sites

thanks for sharing this kind of stuff… great

Edited by Tripredacus
removed links
0

Share this post


Link to post
Share on other sites

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

0

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.