Skip to content

RemoteApp tool crashes if mstsc.exe is missing #176

@sshockley

Description

@sshockley

Installed RemoteApp on Server 2025 (24H2). After creating one program, it crashed with the message "A new guard page for the stack cannot be created". I got the same message every time I opened it after that.

I used Process Monitor to see what it was doing, and just before the crash it was trying to open C:\Windows\System32\mstsc.exe and failing (since it was missing). It kept trying to open mstsc.exe presumably until it ran out of stack space.

The obvious fix is to reinstall Remote Desktop, but I'd argue this is still a bug. RemoteApp Tool shouldn't keep trying to open a file that doesn't exist until it crashes, it should return an error to the user and then probably exit.

For anyone trying to work around this, I found a link to the files at https://learn.microsoft.com/en-us/answers/questions/2194010/how-do-i-redownload-remote-desktop-connection-afte

(Links download from Microsoft so probably not that malicious)

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions