Jeff, I had the same problem and was unable to fix it with strong collar corrections so I decided to turn a negative behavior into a positive behavior. Sounds crazy I know but I just followed my instincts and hers. She was barking to tell something. Duh
It's good that he alarm barks but then your problem is shutting it off. I would try turning it into a command.
Stand away from the door or window.
- say "go see who's here" while pointing to the door or window. Dog runs to window or door barking.
-Then I say GOOD! so he know's he's done his job.
-Then immediately do a recall from across the room. When he comes back reward big time. YES! THANK YOU! PEFECTO-MUNDO! YOUR THE BEST! all while paying big time with food reward.
You will need a leash and a prong collar or e-collar on him. If he refuses to come on the first call say NO, still no come then he gets a correction.It will help to get people outside to walk by or ring your bell to help you practice this.
If you can get your dog to come away from the window under that type of stimulus, i.e., a cat, passer-by with a dog, visitor you have accomplished a lot of control with your dog inside the house.
For excitement barking such as preparing food, picking up a leash, keys, going outside your dog has been conditioned that by him acting crazy will get him what he wants. I took a non-collar correctional approach. May not work for every dog but it worked like a charm for me.
If your going outside and he starts barking try freezing while giving him a hard stare saying nothing or you could use a verbal command of "enough", that's just personal training preference. If he's a smart dog he will be totally mystified at your frozen posture. When the barking stops continue on with your movements. Repeat this until he is completely calm. This will take a lot of patience. Some people would put a bark collar on their dogs. I personally have no experience with bark collars only E-collars. I'm sure others can offer advice on bark collars and if it would be an appropriate fix for your particular barking problem. IMO, I think your problem may be a lack of Pack Leadership rather than a barking problem. I think nervous or demand barking is only the result of a dog that is not fully trained. You didn't mention, do you work your dog out like run, walk, swim him daily? This should also help calm him down.
Also work on foundation work i.e., sits, down, place, recalls, out, leave it daily to help with Pack Leadership. The DVD sold by Leerburg is a great way to learn your basic obedience. I also learned how to use my E-collar from a Leerburg DVD so I didn't screw up hard work on her recall. I would definately not use an E-collar until you have watched the DVD.
I use the "go see who's here" command because I'm home alone a lot.I like to know if the person is on my property so I can have time to lock my doors or whatever.
You may consider hiring a pro trainer that will use collar corrections either E or prong.
Proud American