Hi Deric Hensel,
This originates from a configuration bug within the Microsoft PowerToys application suite, specifically affecting the PowerToys Run utility. When you toggle the graphical interface option to keep the shell open, the application fails to properly commit or read this variable within its background configuration file located at %LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Settings\settings.json. Because the executable effectively ignores your preference in this local application data path, standard console-based networking and user management commands execute normally and terminate the window immediately upon completion. Since modifying this JSON file directly does not force the interface to respect the setting, you will need to await an official repository patch from Microsoft for a permanent graphical fix.
You can bypass this interface failure by leveraging the native Windows command interpreter to force the session to remain active. Instead of typing your command directly into the Run prompt, invoke the command prompt executable followed by the keep-alive flag by typing cmd /k followed by your exact command, such as cmd /k ipconfig or cmd /k net user. The /k parameter natively instructs the Windows shell environment to carry out your string of instructions and then halt the termination process, holding the window open so you can review the generated output.
Hope this answer has brought you some useful information. If it did, please hit “accept answer”. Should you have any questions, feel free to leave a comment.
VPHAN