# Screenshot resolution changes after I disconnect and reconnect from remote desktop (RDP)

**URL:** <https://forums.unrealengine.com/t/screenshot-resolution-changes-after-i-disconnect-and-reconnect-from-remote-desktop-rdp/1911761>\
**Category:** Programming & Scripting\
**Tags:** c-c, c-class-wizard, c-and-bluepri, resolution, c-custommeshcomponen, screen-resolution, c-and-blueprint, c-error, resolution-scale, c-class, c-custom-shape, c-programming, c-cone-shape, unreal-engine, Rendering, CPP\
**Created:** [June 21, 2024, 5:00pm UTC](https://forums.unrealengine.com/t/screenshot-resolution-changes-after-i-disconnect-and-reconnect-from-remote-desktop-rdp/1911761 "2024-06-21T17:00:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![j-jan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@j-jan](https://forums.unrealengine.com/u/j-jan)\
**Post date:** [June 21, 2024, 5:00pm UTC](https://forums.unrealengine.com/t/screenshot-resolution-changes-after-i-disconnect-and-reconnect-from-remote-desktop-rdp/1911761/1 "2024-06-21T17:00:34Z")

</div>

I’m using `FScreenshotRequest::RequestScreenshot` in C++ to take screenshots in New Editor Window (PIE). The resolution stays consistent when I minimize RDP, but it would always resize itself when I disconnect and reconnect. Anyone know a way to lock the resolution in this scenario?
