Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Possible to add a sound to wrong password on logon?

03 Aug 2009   #1

Windows 7 Build 7600, Mac OS X 10.4.11 PPC
Possible to add a sound to wrong password on logon?

Me and my friend at college are messing around with computers and are trying to get his personal one pretty much all on a starcraft theme. We have been getting pretty far, his OS is Windows 7 Build 7600. We want to get it so that if a wrong password is entered, it says "Access Code Denied" in the old starcraft synthesized-like female voice. We have the audio clips, but we need to figure out how to incorporate that sound. It's obviously not in Control Panel -> Sound -> Sounds, as I found out
I did some intensive googling, and I came to the conclusion that it involves a bit of registry adding and visual basic. I don't know squat about VB and I only know a small bit of how regedit works.

Here is what I have extracted so far:

On an event like "windows logon" there is a linked .dll file

mmres.dll -5853

Really it says this, verbatim:

Name Type Data

(Default) Reg_SZ Windows Logon
DispFile Name Reg_SZ @mmres, -5853

To actually add to the registry an event like this, I went here:

CodeProject: Creating Your Own Sound Alerts. Free source code and programming help

So what I understand is, the only thing I am missing is the switch at the end. I think that the data field will still have mmres.dll, but I still need the switch, such as mmres, -wxyz

I don't know if this place would happen to have a couple visual basic peeps, but this is something that started out as a light side project to a gaint plan to pretty much make his dorm room a totally decked out man cave. If anyone knows how to do this, please tell! I don't care anymore if its a youtube video or a heap of text, doesnt matter to me.

Btw, sorry for the long ass post, but I have problems shortening things up. ^^

Cheers and big ups, djdaft

My System SpecsSystem Spec
04 Aug 2009   #2


i'm under the impression this is listed in the system sounds panel, as i have no sounds, and no sound plays when i enter a wrong password, but i remember it did play a sound when i had sounds set.
My System SpecsSystem Spec
04 Aug 2009   #3

Windows 7 Build 7600, Mac OS X 10.4.11 PPC

like i said before, its not there

so like i said, anyone know here how to possibly do this in visual basic+regedit?
My System SpecsSystem Spec

05 Aug 2009   #4


your right! its not listed! and i cant even get any sound to play with a wrong password!
do you have ANY sound play when you enter a wrong password? if not, i think you'll have to do more than just reg+vb changes, as no sound plays, theres probably no event triggered which means the winlogon exe will have to be edited, which would be difficult and would probaby be easier to setup an autologin and use a fake logon screen
My System SpecsSystem Spec
31 Jul 2012   #5

Windows 7 Ultimate x32

did you fixed the problem???
My System SpecsSystem Spec

 Possible to add a sound to wrong password on logon?

Thread Tools

Similar help and support threads
Thread Forum
win 7 logon asking for nonexistant password
Allowed windows update at shut down, following morning computer boots to sign in screen, asking for password. I have never used a password for windows. When trying to boot into safe mode, it skips to the logon screen bypassing safe mode completely. I am stuck at this point and can't get any...
General Discussion
Reinstate logon password? (I do know the password)
Firstly apologies if this is not in the correct section. A while ago I altered the logon process to no longer require a password whenever I started this computer (Windows 7 Home Premium). I have since regretted doing that and would like to reinstate it. I do know the password and have...
General Discussion
Logon Screen Password Box Help
I'm looking for some help with the logon screen. I've gotten basically everything set how I want it but I can't find the resources for the password box. Hoping someone can help. Take a look at the picture... I'm trying to find the resources to change the white parts of the password box. I've gotten...
Password vs fingerprint logon
Hi everybody, this is my first post here so please don't bitch if I didn't hit the right place for my question ;) I am having a laptop here (DELL Studio 1735) on which Windows 7 runs in dual boot mode with the (originally) installed Vista, both Home Premium versions and working with the...
Windows 7 Logon Password
I have a user account as an administrator. I have created a very secure password ( a long one). I have composed a 2nd user account as a standard user. In standard user I will be asked for the password, Can I create a macro or short cut for this password so I don't have to type it in everytime I'm...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:01.
Twitter Facebook