The method takes the help of a text file to play the computerized audio recording of any welcome message you would like to hear at Windows startup. You can follow the steps below to add the custom welcome message to Windows 10 or earlier versions.
1.First of all, open a new Notepad file. You can do so by typing Notepad in the Start Menu search or finding it in the context menu after a right-click.
2.Now, type the following code in the notepad file.dim speech
3.welcome=”Hello Slave. I’m your master.”
4.set speech=CreateObject(“sapi.spvoice”)
5.speech.speak welcome
Note: You can change the text “Hello Man. How are you?.” as per your liking. Make sure the inverted commas are present.
Now, save the notepad file as welcome.vbs. You can use any name, just make sure the file extension is .vbs.You can test the file if it works or not. Just double-click on the file and the sound will start playing. Else, error message will be displayed.
Now, if you’re using Windows 7, you can type “Startup” in the Start search to locate the startup folder. If you’re using Windows 10/8, press Windows+R to open the RUN dialog box. Now, type shell:startup and press enter.
Once you’re in the Windows Startup folder, copy the welcome.vbs file you created on the desktop and paste it in the Startup folder.
All are set. Now, restart your computer to hear the welcome message.
step 2
- Open Notepad
- Copy this following lines to Notepad,
Set Sapi = Wscript.CreateObject(“SAPI.SpVoice”)
Dim masterName
Dim currentHourmasterName = “John”
currentHour = Hour(Now())If currentHour < 12 Then
Sapi.speak “Welcome to your computer, master ” + masterName + “.”
Sapi.speak “Today is ” & Date & “, the current time is ” & Time & “”
Sapi.speak “Have a very good day ahead!”ElseIf currentHour >= 12 And currentHour < 18 Then
Sapi.speak “Welcome to your computer, master ” + masterName + “.”
Sapi.speak “Today is ” & Date & “, the current time is ” & Time & “”
Sapi.speak “A very good afternoon to you!”ElseIf currentHour >= 18 Then
Sapi.speak “Welcome to your computer, master ” + masterName + “.”
Sapi.speak “Today is ” & Date & “, the current time is ” & Time & “”
Sapi.Speak “Have a good evening!”End If - Be sure to set the mastername string valueand edit the greeting lines to whatever you want.
- Save the notepad as .vbs file (e.g greetings.vbs) on your desktop. Make sure to select the All Files (*.*) on saving options before you hit the save button.
Once saved, copy the file on the windows startup folder location:
C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
or simply press Windows Key + R to pull up Run and type shell:startup then hit enter.
Done! Now you can restart your computer and witness the trick on startup. Make sure to add up the system volume.