- We need to open
C:\Windows\SysWOW64\Speech_OneCore\Common\en-US\
and edit a file namedtokens_TTS_en-US.xml
(Before we can edit that file we need to change the permission and ownership of that file) - Right click on the file
tokens_TTS_en-US.xml
and go toSecurity
tab - Click on
Advanced
then you click onChange
where it saysOwner: TrustedInstaller
- On
Select User or Group
window you typeAdministrators
and click onCheck Names
then you click onOK
- Now we have to give
Administrators
the permissions we need, clickOK
, now we are back at Properties >Security
tab (if it dosent allow you to change permissions reopen properties), and click onEdit
. - While we are on
Permissions for tokens_TTS_en-US.xml
you have to select<Your computer's name>\Administrators
and click on the check box that is in front ofFull control
and underAllow
then click onOK
. - Now we can edit the file that it’s located at
C:\Windows\SysWOW64\Speech_OneCore\Common\en-US\tokens_TTS_en-US.xml
, we can use any editorNotepad
orNotepad++
to edit our file and add the necessary modification, run the editor you picked asAdministrator
by right clicking on the shortcut of your editor and click onRun as administrator
then use the full path of the file and open it with the editor not by drag or dropping the file and add this to it and then save the file. (It might ask you to replace or overwrite the file so you need to click Yes or OK), so its going to look like this tokens_TTS_en-US.xml (Note that this is my version oftokens_TTS_en-US.xml
and this is just to show you how to do it)<Category name="Voices" categoryBase="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech_OneCore"> <Token name="MSTTS_V110_enUS_EvaM"> <String name="" value="Microsoft Eva Mobile - English (United States)" /> <String name="LangDataPath" value="%windir%\Speech_OneCore\Engines\TTS\en-US\MSTTSLocenUS.dat" /> <String name="VoicePath" value="%windir%\Speech_OneCore\Engines\TTS\en-US\M1033Eva" /> <String name="409" value="Microsoft Eva Mobile - English (United States)" /> <String name="CLSID" value="{179F3D56-1B0B-42B2-A962-59B7EF59FE1B}" /> <Attribute name="Version" value="11.0" /> <Attribute name="Language" value="409" /> <Attribute name="Gender" value="Female" /> <Attribute name="Age" value="Adult" /> <Attribute name="DataVersion" value="11.0.2013.1022" /> <Attribute name="SharedPronunciation" value="" /> <Attribute name="Name" value="Microsoft Eva Mobile" /> <Attribute name="Vendor" value="Microsoft" /> <Attribute name="SampleText" value="You have selected %1 as the default voice." /> </Token> </Category>
- Once we are done with that file its better to restore the ownership of the file by doing the same steps with few differences, go to
Security
tab as we did in step 5 and clickEdit
, as we did in step 6 select<Your computer's name>\Administrators
but this time you uncheck those check boxs and only leave two of it checkedRead & execute
andRead
and clickOK
. - Then like step 3 go and change ownership to
NT SERVICE\TrustedInstaller
after typing that click onCheck Names
and thenOK
. - Now we need to modify Window’s registry click here and then click on
Raw
to download the file once you downloaded the file double click on it and let it apply the registry settings. - Then for the last modifications to registry you need to download Process Hacker or Process Explorer (I used Process Hacker), you open Window’s settings by pressing this key combination +i and on settings click on
Time & language
>Speech
then find the process for the settings windowSystemSettings.exe
open it’s properties, go toHandles
tab, look forHKEY_CURRENT_USER\SOFTWARE\Microsoft\Speech_OneCore\Isolated\
right click on it and click onOpen key
. - It will open the registry key, after
Isolated
key there are some other keys that the name of them are like random generated names but only one of them is expanded right click on it and click onCopy Key Name
keep that on a notepad or something because we need it, then download this file MSTTS_V110_enUS_EvaM.reg once you downloaded the file you will edit the file and replace<Needs to be replaced>
with the name that comes afterHKEY_CURRENT_USER\SOFTWARE\Microsoft\Speech_OneCore\Isolated\
, make sure you done it correctly and save it then apply it by double clicking on the file.
That was all and you just need to reboot your pc
Original Link: https://superuser.com/questions/1141840/how-to-enable-microsoft-eva-cortanas-voice-on-windows-10