[SOLVED] Broken "VoiceAccess" workaround
Posted: Wed Jan 21, 2026 7:59 am
[EDIT] 02/17/26 I found a solution and documented step-by-step instructions to correct the problem(s) on the elevenforum if anybody wants the proper woring soluytion. find it there. Just sesarh for voice access entry by RandxyWFL.
No idea how but my voiceAccess just stopped opening up no matter how I tied to launch it. So I wrote and compiled the commented code you see below with admin enabled and it worked. I passed it by ChatGPT and you see the results below:
MUST BE compiled with admin option enabled!!!
No idea how but my voiceAccess just stopped opening up no matter how I tied to launch it. So I wrote and compiled the commented code you see below with admin enabled and it worked. I passed it by ChatGPT and you see the results below:
Code: Select all
; The following 2 lines worked after I used "everything to locare a working exe path.
; Exec$ = "C:\Windows\WinSxS\amd64_microsoft-windows-voiceaccessstub_31bf3856ad364e35_10.0.26100.1_none_73d29118c12ea21b\VoiceAccess.exe"
; RunProgram(exec$,"","")
; The following is a revision of my code above provided by ChatGPT that is allegedly "cumulative update" proof which mine is not:
EnableExplicit
Define winSxS$ = "C:\Windows\WinSxS\"
Define pattern$ = "amd64_microsoft-windows-voiceaccessstub_*"
Define bestDir$
Define bestExe$
Define dir$
; Enumerate matching directories
If ExamineDirectory(0, winSxS$, pattern$)
While NextDirectoryEntry(0)
If DirectoryEntryType(0) = #PB_DirectoryEntry_Directory
dir$ = DirectoryEntryName(0)
; Pick the highest version lexicographically
If dir$ > bestDir$
bestDir$ = dir$
EndIf
EndIf
Wend
FinishDirectory(0)
EndIf
If bestDir$ = ""
MessageRequester("Error", "Voice Access stub not found.")
End
EndIf
bestExe$ = winSxS$ + bestDir$ + "\VoiceAccess.exe"
If FileSize(bestExe$) <= 0
MessageRequester("Error", "VoiceAccess.exe not found in stub.")
End
EndIf
; Launch Voice Access
RunProgram(bestExe$, "", "")