Make Windows 7 Narrate Welcome (Any) Message On Logon

Advertisement

Here is a cool tip that would make your PC narrate welcome message each time you logon to Windows. You must be familiar with Windows 7 build-in Text to Speech program (Narrator) which is in comparison with Windows Vista, more powerful and easy to go around with. We will be creating a simple script to use Windows Narrator class to speak the message.

To begin, all you need is to create a VB script file to make use of Windows 7 narrator. First, create a new text file and open it in Notepad. Now insert the following lines of code. In the second line, you can enter any phrase or a sentence that is to be narrated, within the double quotation marks.

Dim speaks, speech
speaks=”Usman, Welcome to AddictiveTips”
Set speech=CreateObject(“sapi.spvoice”)
speech.Speak speaks

Save the changes made and close the file. Now rename the file extension to .VBS, as shown in the screenshot below.

vbs

In the last step, all that is required is to place this newly created script into Windows Startup folder. In Windows 7, you can directly navigate to Startup folder using the following address.

C:\Users\<<Username>>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\

If you are a Windows XP user, you will find Startup folder here;

C:\Documents and Settings\All Users\Start Menu\Programs\Startup\

Once you’ve placed the script into Startup folder, disable default Windows logon sound, then reboot your system and listen to the welcome message on Windows logon. We successfully tested this script on our Windows 7 x86 system.

Thanks to Debajyoti Das for this tip, credit for original tip goes to TweakandTrick!

Advertisement
  • It had followed the way you said but it’s doesn’t work for me and gives me following error in Windows 7

    Script: C:\user……..\programs\message.vbs
    Line: 2
    Char: 8
    Error: Invalid character
    Code: 800A08
    Source: Microsoft VBScript compilation error

    • Steve

      Same here

      • piero timpano

        thats because you copied and pasted the quotes

        delete them and type them in again. that will fix it.

        • Steve

          that worked. thanks

    • William

      You need to use normal double quotes: “, the ones in the article ( “ and ” ) are stylised versions and invalid in code scenarios. You should replace those with the ones on your keyboard.

    • Premium4uAll

      you are correctthis is the corrected code

      Dim speaks,
      speechspeaks=”*********YOUR MESSAGE***********”
      Set speech=CreateObject(“sapi.spvoice”)
      speech.Speak speaks

  • mosh

    it works correctly, but first you shoul change the ” manually and it will works correctly.

  • Tony

    I get the same error as above, but with a code of: 800A0408

    I’m running windows 7 Ultimate 64-bit

  • Ram…

    Don’t use ”
    You must use “

  • jhangir

    how to disable windows logon sound <>?? and does u mention about these quotates “-“

  • Eric

    I don’t know what went wrong with mine.

    Script: C:\Users\…Programs\Startup\narrate.vbs
    Line: 4
    Char: 1
    Error: Object doesn’t support this property or method: ‘speaks’
    Code: 800A01B6
    Source Microsoft VBScript runtime error

    I typed it out exactly as it is above. I program in Java, Python, and C++, so I knew about the quotes thing. No one else seems to be having the problem…

    • Eric

      Fail. I added an ‘s’ to the Speak of speech.Speak speaks.
      Ignore that comment. -.-‘

  • Will this work when unlocking as well???

    • No it doesnt work when the system in locked and un-locked !!

  • mr.??????

    how do you do the script thing

  • kumar saurabh

    Hey, i am excited to do this. plz help me. there is no start up folder in my windows 7 64 bit. how to find that. i have made all searches but cudnt find. plz reply asap..thanks

  • Caleb

    Is there a way to change the voice in this? i dont like the voice it comes with and if anyone know a way to change it that would be awesome thanks.

  • Chris

    I could not get it to work. I tried it with all sorts of quotes still nothing.

  • Biohacker53

    at the end of line two in the picture example take the semicolon out that will also mess up the script its right in the text but the picture is wrong

    • Thanks for pointing out. I’ve updated the screenshot.

  • I ALMOST USED WINDOWS 7 4 A MONTHS NOW AND BELIVE ME IT IS VERRY MUCH OWESOME I AM TELLING YOU. ASK ME QUESTIONS ABOUT IT AND I WILL LET U KNOW EVERYTHING U NEED 2 KNOW ABOUT IT. I LOVE WINDOWS 7, IT JUST SIMPLIFIES THINGS 4 ME. CHOOSE WINDOWS 7 DUDES, ITS A GREAT CHOICE.

    • Kumar

      hey my speaker in windows 7 is not working…. means speaker is ok in working condition and brand new and is woking in windows xp but not working in windows 7 only… its about something sound setting. can you help me please?? i m suffering from this problem from last 6 months…

  • pc

    works with Vista ?

    • Usman

      It works with Windows Vista as well, just place the code in Startup folder. Make sure that semi colon is not included in line 2 of code.

  • Chirag64

    Thnx…worx quite well 🙂

  • Hello Admin, this trick was first published on my blog in July <a href="http://tweakandtrick.blogspot.com/2010/07/make-your-computer-welcome-you.html&quot; rel="nofollow">here</a> from where it was copied and sold to Debajyoti Das by an anonymous guest writer. You can confirm it from his blog post and the changes he did. So , I request you to please be ethical and add a link back to original post. Thanks Akhilesh Sharma tweakandtrick.blogspot.com