clivebuckwheat Posted September 1, 2010 Share 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. Link to comment Share on other sites More sharing options...
Guest Posted September 1, 2010 Share Posted September 1, 2010 Run it from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run Link to comment Share on other sites More sharing options...
clivebuckwheat Posted September 1, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
iamtheky Posted September 1, 2010 Share 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. Link to comment Share on other sites More sharing options...
jaclaz Posted September 1, 2010 Share 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 Link to comment Share on other sites More sharing options...
clivebuckwheat Posted September 1, 2010 Author Share 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. Link to comment Share on other sites More sharing options...
iamtheky Posted September 1, 2010 Share 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 Link to comment Share on other sites More sharing options...
clivebuckwheat Posted September 1, 2010 Author Share Posted September 1, 2010 Would this work for all users?, or just the current logged in user? Link to comment Share on other sites More sharing options...
net_user Posted September 1, 2010 Share Posted September 1, 2010 you could also delete all the wav file in "C:\WINDOWS\Media\Windows XP Logon Sound.wav" Link to comment Share on other sites More sharing options...
iamtheky Posted September 1, 2010 Share 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. Link to comment Share on other sites More sharing options...
clivebuckwheat Posted September 1, 2010 Author Share 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. Link to comment Share on other sites More sharing options...
Guest nfljerseys Posted September 2, 2010 Share Posted September 2, 2010 (edited) thanks for sharing this kind of stuff… great Edited September 2, 2010 by Tripredacus removed links Link to comment Share on other sites More sharing options...
uid0 Posted September 2, 2010 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now