What parameters would you have to pass, in order to disable the PuTTY bell via the command line?


In PuTTY Configuration (start PuTTY without any options or sesions), you have a session called Default Settings. Just change the setting under Terminal -> Bell to Visual Bell (flash window) and then go back to the Session part of PuTTY Configuration and save this as the new Default Settings.

After doing this, all future sessions will have this disabled by default.


Open the PuTTy settings and you should find the options as shown below.

enter image description here


I don't think you can do exactly what you ask. I would disable the bell in PuTTY's settings menu and save as a session. Then you can set PuTTY's command line options to -load sessionname.

You can also create a custom termcap/terminfo entry which has bel undefined.

There's no command you can run at the host that would instruct PuTTY to ignore ^G (bell).

stty has -imaxbel, but that most likely does not do what you want.

  • If he logs onto a bash shell, for example, one other option is to type set bell-type visual (or none) in the shell to temporarily change the audible behavior. – Mattias Ahnberg Feb 19 '12 at 23:26

Yes, you can do it - almost! PuTTY stores all it's settings in registry as reg keys. Go to settings, change BELL to whatever you like, find key in registry, export it and import onto anther computer. Job done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.