Sounds - Custom "Windows Logon" that Speaks What You Like

How to Create a Custom Logon Sound that Speaks What You Like

Disclaimer: First of all, thanks to Vipul Taneja of Microsoft India for letting me know about this trick written by Microsoft Most Valuable Professional Thomas.
He described it first and I am writing this tutorial based on it after testing on my PC with some modifications and screenshots.

As of most tutorial written by me, this tutorial also will not need any "extra" software.

What we are going to do?

We will make a VB script and place it in Windows 7 Startup folder. There after, every-time you log in, a voice will greet you after the startup sound (if enabled).



Step 1

Open Notepad. Copy paste the code written below:

Code:
Dim speaks, speech
speaks="Welcome, Abhishek"
Set speech=CreateObject("sapi.spvoice")
speech.Speak speaks

Now, change my name to yours inside the code. Infact, you can change and place any sentence within the quotation mark in the code. I have tested, it works fine upto 5 words. You can change the spelling, add space, punctuation etc to make it more realistic.

For example, I want to hear my name as "Oh-bhi-shake" ; so I will write there "Oh bhi shake".




Now, Save it as "Greetings.vbs" (without quotes) and as I always say, change the file from text to "all files". Save it to some location, you can remember; say Desktop.



Step 2

Now, we have to place it inside the Windows Startup folder. Click the Start-Button, choose "All Programs" and you will find it as a folder named Startup. Right Click it and choose Open or Explore.



Copy the VBS file you have created and paste there. You must be logged on as Admin. A security prompt will come, just accept it.



Step 3

Just restart the computer and you will hear the voice!

To disable it, just delete the file.

Now, we will go to further details.

Type of voices: In Windows 7 and Windows Vista, the default female voice is Anna. In Windows XP and 2000 its Sam.

There is way to change the settings of this default voice in Windows 7 and Vista too.

Click the Start Button, type "narrator" without quotes:



Narrator will open and begin to speak:



Just click the "Voice settings" and you will get this window:



There are third party voices available for installation, I have still not found any way to install other Microsoft voices by any trick.

Additional settings:

You can add some parameters too! For example:

Code:
with speech
Set .voice = .getvoices.item(0)
.Volume = 100
.Rate = 0
end with

Here, volume is defined in percentage. Other commands are:

.Pause = pause speaking

.resume = resume after pause

.Rate = speed of spoken words. The larger number, the faster pitch.

.Voice = If multiple exist on machine, say Sam and Anna are available, you can set any one.

.Volume = Already explained.

.WaitUntilDone = wait until done – Voice will wait still all the services loads, i.e. the system is completely ready.

   Note
Companies, Schools, Universities can use their custom texts to greet users. For example, A Library PC can be set to say " Welcome to the central library of abc Institute"







 
Last edited by a moderator:
My wife's birthday is tomorrow so I will modify her laptop later today to wish her a happy birthday when she boots her laptop. It will blow her mine. I already tried the file and it works great.

Thanks,
Jim
 

My Computer My Computer

At a glance

Windows 8.1 Pro w/Media Center 64bit, Windows...Phenom II X6 1100TCrucial Balistic 8gb DDR3-1866 CL9MSI R6850 Cyclone IGD5 PE
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built
OS
Windows 8.1 Pro w/Media Center 64bit, Windows 7 HP 64bit
CPU
Phenom II X6 1100T
Motherboard
ASUS M5A99X EVO
Memory
Crucial Balistic 8gb DDR3-1866 CL9
Graphics Card(s)
MSI R6850 Cyclone IGD5 PE
Sound Card
On Board
Monitor(s) Displays
ASUS VE258Q 25" LED with DVI-HDMI-DisplayPort
Screen Resolution
1920 x 1080
Hard Drives
Two WD Cavier Black 2TB Sata III, WD My Book Essential 2TB USB 3.0
PSU
Seasonic X650 80 Plus GOLD Modular
Case
Corsair 400R
Cooling
Antec Kuhler H2O 620, Two 120mm and four 140mm
Keyboard
Logitech K120
Mouse
Logitech Marble Mouse USB, Logitech Precision Game Pad
Internet Speed
15MB
Antivirus
Norton IS 2013, Malwarebytes Pro Beta 2
Browser
IE-11, FF-27
Other Info
APC UPS ES 750, Netgear WNR3500L Gigabit & Wireless N Router with SamKnows Test Program, Motorola SB6120 Gigabit Cable Modem. Brother HL-2170W Laser Printer, Epson V300 Scanner
In addition...

To test the file before restarting you can just double-click the greetings.vbs file and tweak it untill 100% satisfied. This will save time in unnecessary restarts ;)
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64AMD Sempron Dual Core3GBNVIDIA GeForce 6150SE nForce 430
Computer Manufacturer/Model Number
Compaq Desktop
OS
Windows 7 Ultimate x64
CPU
AMD Sempron Dual Core
Memory
3GB
Graphics Card(s)
NVIDIA GeForce 6150SE nForce 430
Screen Resolution
1024x768
Hard Drives
150GB Sata
great tip!

it might even conceivably be put to some use too!

+rep
 

My Computer My Computer

At a glance

ultimate 64 sp1i5 2500K [email protected]8 gigs GSkill Ripjaws 1600amd hd6950
Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
This is a pretty cool little trick.

But is there anyway to change the voice so it doesnt sount like a robot from 1987? :D
 

My Computer My Computer

At a glance

Windows 7 64 & Ubuntu 64Intel Quad Core Q6600 2.40GHz8gNvidia 9600 GT & 9800 GT
Computer Manufacturer/Model Number
Built it myself
OS
Windows 7 64 & Ubuntu 64
CPU
Intel Quad Core Q6600 2.40GHz
Motherboard
Asus
Memory
8g
Graphics Card(s)
Nvidia 9600 GT & 9800 GT
Sound Card
Turtle Beach 5.1
Monitor(s) Displays
Three 19" Dell's & one 46" Samsung 750
@Johnny: Try to play a little with the PITCH settings. It's a computer generated voice that is based on an old Engine from AT&T Labs (IIRC) just like all those Answering machines etc. You will always hear that it's mechanical.
Just remember..if it doesn't sound right you could always change the spelling (like double the vowels or insert an h to stretch a vowel....correct spelling is not an issue here ;)

For XP there were additional voices available...Mary and Mike. I wonder if one could use them in W7 as well

HERE you can try out 10 different voices which don't sound so robotic anymore

Even better: HERE you can try out in different languages/Accents very funny :D

-DG
 
Last edited:

My Computer My Computer

At a glance

Windows 7 Ultimate x86DualCore AMD Athlon 64 X2, 2600 MHz 5200+Samsung 2GB DDR2Onboard NVIDIA GeForce 6150SE nForce 430
Computer Manufacturer/Model Number
HP m8000n
OS
Windows 7 Ultimate x86
CPU
DualCore AMD Athlon 64 X2, 2600 MHz 5200+
Motherboard
Asus M2N68-LA (Narra)
Memory
Samsung 2GB DDR2
Graphics Card(s)
Onboard NVIDIA GeForce 6150SE nForce 430
Sound Card
Onboard nVIDIA nForce 6100-430 (MCP61P)
Monitor(s) Displays
Westinghouse 19" LED
Screen Resolution
1280x1024
Hard Drives
SATA II Seagate Barracuda 500GB
USB II WD Elements 500GB
USB II WD My Book 1TB
USB II WD My Book 2TB
PSU
Stock (HP)
Case
Stock (HP)
Cooling
Stock
Keyboard
Logitech Classic KB 200
Mouse
Standard HP opticle USB mouse
Welcome

Can this be converted to Wav and set in sounds as logon sound in Personalize??
 

My Computer My Computer

At a glance

Windows 7 X64 BitIntel(R) Core(TM)i7-4771 CPU @ 3.50GHCorsair 4x8 Vengeance (32GB)NVIDIA GeForce GTX780
Computer type
PC/Desktop
OS
Windows 7 X64 Bit
CPU
Intel(R) Core(TM)i7-4771 CPU @ 3.50GH
Motherboard
Asus Sabertooth Z87
Memory
Corsair 4x8 Vengeance (32GB)
Graphics Card(s)
NVIDIA GeForce GTX780
Monitor(s) Displays
LG
Screen Resolution
1920x1080
PSU
Corsair CX750
Case
Corsair 200 series
Cooling
H80i Liquid Cooler
Keyboard
Microsoft
Mouse
Microsoft
Internet Speed
good times-500-850 kbs bad times-50-100 kbs
That's pretty cool Abhishek, works great.
 

My Computer My Computer

At a glance

Win 10 Pro x64Intel I5-2500K @3.3GHz16GB G.Skill Ripjaws X (4x4GB)EVGA GeForce 750 Ti SC 2GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Win 10 Pro x64
CPU
Intel I5-2500K @3.3GHz
Motherboard
Asrock P67 Extreme4
Memory
16GB G.Skill Ripjaws X (4x4GB)
Graphics Card(s)
EVGA GeForce 750 Ti SC 2GB
Sound Card
ASUS Xonar DG 5.1 Channels 24-bit 96KHz PCI Interface Sound
Monitor(s) Displays
auria eq2367
Screen Resolution
1920 x 1080
Hard Drives
250GB Samsung 850 EVO SSD
1TB WD Blue
1TB Hitachi
PSU
SeaSonic X 650W 80 Plus Gold
Case
Corsair Obsidian 750D
Cooling
Corsair H60, Three 140mm case fans
Keyboard
Logitech Wireless Keyboard K520
Mouse
Logitech Wireless Mouse M310
Internet Speed
Wave Broadband ~ 100 dn 5 up
Antivirus
Windows Defender, Malwarebytes Premium
Browser
Edge, IE11, Chrome
Other Info
Laptop specs: HP g7-1365dx /
CPU: AMD A6-3420M APU with Radeon(tm) HD Graphics /
RAM: Crucial 8Gb (2x4Gb) /
SSD: Crucial M4-CT128M4SSD2 ATA Device/ FW 000F /
GFX: AMD Radeon HD 6520G /
OS: Windows 10 Pro x64
Can this be converted to Wav and set in sounds as logon sound in Personalize??

Certain software like TextAloud can save to mp3 or wmp..no idea tho if the trial version can do that too (but if it can...Winamp can convert practically everything to WAV)

If you have a record software you could try and type your text HERE , pick the voice you like and record the result through your soundcard ;)
-DG
 

My Computer My Computer

At a glance

Windows 7 Ultimate x86DualCore AMD Athlon 64 X2, 2600 MHz 5200+Samsung 2GB DDR2Onboard NVIDIA GeForce 6150SE nForce 430
Computer Manufacturer/Model Number
HP m8000n
OS
Windows 7 Ultimate x86
CPU
DualCore AMD Athlon 64 X2, 2600 MHz 5200+
Motherboard
Asus M2N68-LA (Narra)
Memory
Samsung 2GB DDR2
Graphics Card(s)
Onboard NVIDIA GeForce 6150SE nForce 430
Sound Card
Onboard nVIDIA nForce 6100-430 (MCP61P)
Monitor(s) Displays
Westinghouse 19" LED
Screen Resolution
1280x1024
Hard Drives
SATA II Seagate Barracuda 500GB
USB II WD Elements 500GB
USB II WD My Book 1TB
USB II WD My Book 2TB
PSU
Stock (HP)
Case
Stock (HP)
Cooling
Stock
Keyboard
Logitech Classic KB 200
Mouse
Standard HP opticle USB mouse
@Jim: Thats a nice idea mate :)

@Orbital Shark: Thanks mate for the addition.

@mickey megabyte : Thank you very much!

@JohnnyScience: Thank you. Additional packages are available for purchase from third party. I am not sure if there is any way to add more voices for free. Also try the way Sledge DG said.

@Sledge DG: Thanks mate.

@gaz: As Sledge has already said.

@ Derek: Thank you very much, my friend :D
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64 bit, Mac OS X 10.6Intel Pentium Dual Core @2.0GHz12GBNVIDIA Graphics For Mobile 512MB VRAM
Computer Manufacturer/Model Number
COMPAQ Presario Laptop
OS
Windows 7 Ultimate 64 bit, Mac OS X 10.6
CPU
Intel Pentium Dual Core @2.0GHz
Motherboard
Compaq Generic
Memory
12GB
Graphics Card(s)
NVIDIA Graphics For Mobile 512MB VRAM
Sound Card
IDT High definition Audio
Monitor(s) Displays
Laptop LCD Display
Screen Resolution
1280*800 Bright View Widescreen
Hard Drives
500 GB Primary Master@7200rpm + 1 TB External HDD
Cooling
Direct ; generic fan
Keyboard
Generic Laptop Keyboard
Mouse
Touch Pad
Internet Speed
3.1 Mbps wireless Broadband
Other Info
Generic Dock
GREAT little program, works like a charm. thank you Abhishek Ghosh!!!!
 

My Computer My Computer

At a glance

Windows 10 Pro. 64/ version 1709 Windows 7 Pr...Intel i7-6800K @ 4.3Corsair Platinum 16 gig @2400EVGA GTX 1070 OC
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
Cool little mod. I like it; thanks. I tried to rep you; but I have to spread some around.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32 bitIntel(R) Pentium(R) 4 CPU 3.00GHz2.50 GB RAMNVIDIA GeForce 7600 GS
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ultimate 32 bit
CPU
Intel(R) Pentium(R) 4 CPU 3.00GHz
Motherboard
ASUS P4P800-VM Motherboard Chipset: Intel 865G + ICH5
Memory
2.50 GB RAM
Graphics Card(s)
NVIDIA GeForce 7600 GS
Sound Card
SoundMax Integrated Digital Audio (Chip)
Monitor(s) Displays
ViewSonic VX 1962 wm
Screen Resolution
1680 X 1050
Hard Drives
Seagate Barracuda 7200.10 80 GB
ST380215A ATA Device 18.6 GB
Western Digital "My Book" external hard drive 750 GB
Cooling
Fan based
Keyboard
Microsoft Comfort Curve Keyboard 2000 v10 USB
Mouse
Logitec optic USB
Internet Speed
3.01 Mb/s download 0.64 Mb/s upload
Its not working for me..pls help.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32 BitIntel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz, 2Physical Memory (RAM) 2.00 GB
Computer Manufacturer/Model Number
PI945GCM
OS
Windows 7 Ultimate 32 Bit
CPU
Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz, 2
Motherboard
Murcury
Memory
Physical Memory (RAM) 2.00 GB
Sound Card
High Definition Audio Device
Monitor(s) Displays
Intel(R) 82945G Express Chipset Family
Hard Drives
Seagate 500 Gb
incorperating time

I'm wondering how to make time a variable in this , for example its its 11am it will use the statement "Good Morning" or if its 2pm it will use "good afternoon" etc.

please help !
:geek:
 

My Computer My Computer

At a glance

Windows 7 Home Premium 64bitIntel(R) Core(TM) i7-2630QM CPU @ 2.00GHz8.00GB DDR3 (1333 MHz)Intel(R) HD Graphics Family DDR5 3.77GB
Computer Manufacturer/Model Number
Dell XPS L702X
OS
Windows 7 Home Premium 64bit
CPU
Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Motherboard
Dell 0XN71K
Memory
8.00GB DDR3 (1333 MHz)
Graphics Card(s)
Intel(R) HD Graphics Family DDR5 3.77GB
Monitor(s) Displays
HD 17" 1920x1080
Hard Drives
Western Digital 750GB
Western Digital 750GB
Other Info
JBL speakers with 2"sub and maxboost
backlit keyboard
Ok, ok... I know, it isn't the most efficent way to made it.. but it work ;)

Code:
Dim speaks, speech, cTime
Select Case Hour(now)
   case 4 	cTime = "Good Morning"
   case 5 	cTime = "Good Morning"
   case 6	cTime = "Good Morning"
   case 7 	cTime = "Good Morning"
   case 8 	cTime = "Good Morning"
   case 9 	cTime = "Good Morning"
   case 10 	cTime = "Good Morning"
   case 11 	cTime = "Good Morning"
   case 12 	cTime = "Good Morning"
   case 13 	cTime = "Good Afternoon"
   case 14 	cTime = "Good Afternoon"
   case 15 	cTime = "Good Afternoon"
   case 16 	cTime = "Good Afternoon"
   case 17 	cTime = "Good Evening"
   case 18 	cTime = "Good Evening"
   case 19 	cTime = "Good Evening"
   case 20 	cTime = "Good Evening"
   case 21 	cTime = "Good Evening"
   case 22 	cTime = "Good Evening"
   case 23 	cTime = "Good Evening"
   case 0 	cTime = "Good Night"
   case 1 	cTime = "Good Night"
   case 2 	cTime = "Good Night"
   case 3 	cTime = "Good Night"
End Select

speaks=cTime & "Max"

Set speech=CreateObject("sapi.spvoice")
speech.Speak speaks
 

My Computer My Computer

At a glance

Pesaro e Urbino
OS
Pesaro e Urbino
I added the code below to the script but it says:

---------------------------
Windows Script Host
---------------------------
Script: C:\Users\End-User\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Greetings.vbs
Line: 3
Char: 1
Error: Object required: '[undefined]'
Code: 800A01A8
Source: Microsoft VBScript runtime error


Code:
with speech Set .voice = .getvoices.item(0) .Volume = 100 .Rate = 0 end with

The line 3 character 1 is the word "with".
 

My Computer My Computer

At a glance

Windows 7 Home Premium 32-bitIntel(R) Atom(TM) CPU N2600 @ 1.60GHz2.00 GBIntel(R) Graphics Media Accelerator 3600 Series
Computer type
Laptop
Computer Manufacturer/Model Number
Neo
OS
Windows 7 Home Premium 32-bit
CPU
Intel(R) Atom(TM) CPU N2600 @ 1.60GHz
Motherboard
CLEVO CO. W210CUQ
Memory
2.00 GB
Graphics Card(s)
Intel(R) Graphics Media Accelerator 3600 Series
Sound Card
(1) VIA High Definition Audio (2) Intel(R) Display Audio
Hard Drives
Hitachi HTS543232A7A384 ATA Device
Antivirus
Avast!/Malwarebytes (Free)
Browser
Firefox/Pale Moon
Back
Top