clivebuckwheat Posted September 1, 2010 Posted September 1, 2010 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.
Guest Posted September 1, 2010 Posted September 1, 2010 Run it from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
clivebuckwheat Posted September 1, 2010 Author Posted September 1, 2010 Run it from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunThat will also wait until the full desktop loads before muting the sound. I tried that
iamtheky Posted September 1, 2010 Posted September 1, 2010 you can make a small autoit exe to call from the command linesend ("{Volume_Mute}")exitif its the only item in the run key, it should execute before the windows entrance jingle.
jaclaz Posted September 1, 2010 Posted September 1, 2010 What about nircmd?http://www.nirsoft.net/utils/nircmd.htmlnircmd setvolume 0 0 0Would it run early enough?Earliest should be runservice:http://antivirus.about.com/od/windowsbasics/tp/autostartkeys.htmYou might need to experiment with INSTSRV/SRVANY and/or with NSSM:https://iain.cx/src/nssm/or similar utiities....jaclaz
clivebuckwheat Posted September 1, 2010 Author Posted September 1, 2010 you can make a small autoit exe to call from the command linesend ("{Volume_Mute}")exitif 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.
iamtheky Posted September 1, 2010 Posted September 1, 2010 (edited) 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 September 1, 2010 by iamtheky
clivebuckwheat Posted September 1, 2010 Author Posted September 1, 2010 Would this work for all users?, or just the current logged in user?
net_user Posted September 1, 2010 Posted September 1, 2010 you could also delete all the wav file in "C:\WINDOWS\Media\Windows XP Logon Sound.wav"
iamtheky Posted September 1, 2010 Posted September 1, 2010 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 likesend ("{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}")ExitWould accomplish the effect.
clivebuckwheat Posted September 1, 2010 Author Posted September 1, 2010 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 likesend ("{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}")ExitWould 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.
Guest nfljerseys Posted September 2, 2010 Posted September 2, 2010 (edited) thanks for sharing this kind of stuff… great Edited September 2, 2010 by Tripredacus removed links
uid0 Posted September 2, 2010 Posted September 2, 2010 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" , 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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now