Hi,
I'm trying to setup a sort of kiosk RDP for some Handheld devices. I changed the user interface from explorer.exe to powershell.exe, running a customized PS script. To do this, I setup a GPO to specific users (see: https://technet.microsoft.com/en-us/library/cc975911.aspx). The custom user interface is something like powershell.exe -windowstyle hidden c:\myscript.ps.
Ths PS script runs a LOB application and sits waiting for exit, then logoff the session. All works like a charm.
RDP license server is Server 2012R2, but the RDS server is still 2008R2 (for software compatibility reasons).
Now I need to add sound, because the application produces audible warnings. I installed Desktop Experience. If I RDP with a "standard" user (with the GPO not applied), sound works fine, but, If I login with a user with custom user interface (my PS script) sound is lacking. Seems that, if I don't launch explorer.exe, sound doesn't get initialized.
Is there a way to initialize sound system from a PS script ?
Thanks.
Massimo.