r/windowsdev • u/nmariusp • Aug 15 '25
RDCMan tutorial Microsoft Sysinternals Remote Desktop Connection Manager
r/windowsdev • u/nmariusp • Aug 15 '25
r/windowsdev • u/Longjumping_Gain3836 • Aug 13 '25
I’m trying to figure out the best way to build native Windows applications in 2025.
There seem to be so many options, but these are the ones I am interested in:
From the .NET options, which one is the best choice today and why?
Should I also seriously consider Flutter for a Windows-only app, or is it better to stick with something in the .NET ecosystem?
Also — is there any other framework or technology I should be looking into that I haven’t mentioned?
I’m mostly interested in performance, ease of development, UI flexibility, and long-term support.
Real-world experiences are welcome!
r/windowsdev • u/BigdadEdge • Aug 11 '25
I’m on Windows 11 Home and can set idle timeouts (e.g., 2–3 min) using powercfg on both AC and DC. The missing piece is a hard ceiling of 5 minutes (300 s) so users/admins can lower values but cannot raise:
VIDEOIDLE)STANDBYIDLE)HIBERNATEIDLE)VIDEOCONLOCK)Constraints: No domain GPO/AppLocker (Home edition); AC/DC; browser keep-awake is already handled via /requestsoverride and is out of scope here.
Attempted but unreliable:
powercfg /set(ac|dc)valueindex (doesn’t prevent later increases).powercfg /q (breaks with plan switches/localization).Ask: A PowerShell solution that enforces ≤ 300 s on the active plan and persists across plan changes & GUI/powercfg edits—ideally installing a SYSTEM scheduled task or similar, using GUIDs/indices (not localized text). A minimal, robust example + brief setup steps would be ideal.
r/windowsdev • u/Abiriadev • Aug 09 '25
How do you manage your Windows environment? including every apps or tools, WSL, sometimes configs as well?
NixOS seems promising but it doesn't work on Windows of course.
Writing a powershell script to automate dozens of winget ... install scripts and copy dotfiles might be the most naive solution that came to my mind.
I'm about to find much more modern solution for this, but have no idea as of now.
*This is not about the CI environment like Windows containers. Mostly for my personal Windows environment.
r/windowsdev • u/ninjaninjav • Jul 29 '25
r/windowsdev • • Jul 11 '25
I am very new to make windows apps, and I am very curious to start developing windows apps, if possible, I'll learn more and more deep and start a team who develops software like Autocad( Ansys to be specific), Can anyone provide some guidance or a little hint? That'd mean a lot!
r/windowsdev • u/Powerful-Lab-9538 • Jul 09 '25
I just created a tool for visually designing a WinUI3 XAML for WinUI3 apps.
https://github.com/WindowsNT/XAML-Lab

Waiting for your comments so far, I 've put a few FrameworkElements, a menu designer and XAML export. Binary download available.
r/windowsdev • u/Practical_Wonder104 • Jul 09 '25
Hello everyone!
So I recently found out that by changing this DWORD HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CI\Policy\EmodePolicyRequired" to a 1, you can toggle Windows S mode on and off. I'm trying to make a way to kinda get like a custom Widows S mode. Where the system is fully locked down and you can't open anything, unless I allow the app. But I did some experimenting, and found out getting a binary to pass trough Windows S mode's restrictions is way harder then I initially thought. And I came here to see if anyone else is interested in helping me with this little project. I had some ideas in mind but have no idea if it would work. I thought maybe if I tried to make a .cat signature, sign it with local root CA, place it in C:\Windows\System32\catroot, generating a custom WDAC policy that trusts the catalog by using New-CIPolicy in Powershell, then convert it to .p7b with ConvertFrom-CIPolicy in Powershell, and place it in C:\Windows\System32\CodeIntegrity\SIPolicy.p7b it would work? Or by adding a QWORD to the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CI\Aggregation registry key. Because it contains what looks to be HEX data or file Hashes that are maybe allow through Windows S mode? Or could I "hijack" an already running trusted process (take for example Wininit.exe) pretending and tricking Windows into thinking its running 2 instances of Wininit but the 2nd one is actually just my executable (like Chrome.exe). Or could it be possible to pretend to be TrustedInstaller by hijacking its session token and SID, and run custom binaries that way? Or just by scheduling a task to run as TrustedInstaller or SYSTEM to run my .exe on logon of any user? Or just by executing my binary really early on in the Windows booting process, as a secondery shell maybe. Like HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon explorer being the shell here. And tricking Windows into thinking there are 2? Or just by simply using already trusted processes to run malicous DLL's with my own code? Or am I just overthinking this way to much? But if anyone is interested, help would be appreciated.
r/windowsdev • u/Creative_Deer5185 • Jul 01 '25
When I recently had to implement a context menu extension for Windows 11, I found that getting clear, up-to-date guidance was surprisingly difficult. The documentation was scattered, and many examples still targeted legacy approaches. After some trial, error, and digging into GitHub repositories and official samples, I managed to get it working.
To help fellow developers avoid that same confusion, here’s a clear, technical roadmap to integrate your app directly into the primary Windows 11 context menu, without being buried under “Show more options.”
Windows 11 redesigned File Explorer’s context menu to improve consistency and security. However, this change also deprecated most traditional IContextMenu handlers from the top-level menu.
Unless your app uses the new IExplorerCommand API and follows proper registration via MSIX or Sparse Package, it will appear only in the legacy overflow menu, hurting discoverability and UX.
Write a COM shell extension using C++ (C++/WinRT or WRL). At a minimum, implement:
GetTitle() – label for your menu itemGetIcon() – optional icon for brandingInvoke() – logic to launch your app/toolGetState() – enable/disable logicIObjectWithSelection to work with selected files/foldersNote: C# is not supported for this integration, due to COM registration and packaging limitations.
You must declare your command in an AppX manifest and register it through either:
Example manifest snippet:
<Extension Category="windows.fileExplorerContextMenus">
<FileExplorerContextMenus>
<ItemType Type="*">
<Verb Id="MyCommand" Clsid="{YOUR-CLSID-HERE}" />
</ItemType>
</FileExplorerContextMenus>
</Extension>This ensures your extension is recognized by the modern Windows 11 shell.
These projects helped clarify the process for me:
IExplorerCommand, with working Sparse registration.IExplorerCommandIf you're developing a shell tool, editor, or utility that users interact with via right-click:
IExplorerCommand for native integrationThis approach avoids “Show more options” and puts your app where users expect to find it.
Hopefully, this saves others the same learning curve I had to go through.
r/windowsdev • u/GloWondub • Jun 30 '25
Hi Windevs!
I'm the maintainer of a relatively sucessful cross platform open source 3D viewer. We have had long standing Windows related issues and features that we have been struggling to adress in the past few years.
We got a european funding last year and we think that adding bounties on these issues may be a way forward.
So, if you are:
Then please join the project! I'd be happy to show you the ropes and I'm sure your Windows skill will be up to the task!
Please note bounties can only be claimed once you are active in the project.
Our discord: https://discord.f3d.app The bounties program: https://f3d.app/CONTRIBUTING.html#bounties
r/windowsdev • u/xanthium_in • Jun 24 '25
A comprehensive tutorial on programming the COM port (Serial Port)of a 64 Bit Windows System like Windows 10 or Windows 11 using C language and the native Win32 API.
Here are the links along with free C/C++ Source Codes.
We teach you to communicate with an external device like Arduino using the Windows COM port and send an Receive data (strings) using C/C++ language.

Screenshot of the Windows Program receiving a string from Arduino using Win32 API .Here we are using Event Driven Serial Port Reception using the WaitComm() Event.

Screenshot of the program that write's and reads data from Windows Serial port using Win32 API and C language.


r/windowsdev • u/zahatikoff • Jun 23 '25
I know it says "not implemented as of now" or something, but what the actual f is it supposed to mean? Does it mean there's a theoretical "cooked" mode that's not raw binary that they didn't bother to implement?
r/windowsdev • u/nmariusp • Jun 14 '25
r/windowsdev • u/TheNASAguy • Jun 11 '25
It was the best version of windows ever made, good modern UI with aero glass and animations, it was fast and consistent with widgets and a lot of features that look modern in 2025, windows 11 looks like a messed up child’s project, it doesn’t feel like a operating system a company who care about their users will make let alone one of the richest companies on earth with enough people and resources to do better
I just don’t understand what’s wrong with Microsoft executives or whoever is running this shitshow, like how much data can they sell, how much money can they make? How much are they actually getting paid to absolutely destroy trust and user experience for billions of people, like I’m ready to pay that’s how desperate I am, just make a Windows 7 remaster, I’d honestly pay $500 if it’s a one time lifetime license fee, please just give me a operating system that looks good and I can use it for a long time without worrying about random windows fucking updates
I mean come on, I honestly wanna know the number they sold their souls for? Was it worth it?
r/windowsdev • u/taverasn2001 • Jun 09 '25
Im using Godot4.3 exported projects on a touch screen Windows 11 device. Even with an empty project the application shows the window below it for a split second on click. If I have explorer.exe on itll do it when idle as well on on click. I've tried so many different things that I feel like it has to be a Windows bug or configuration issue. The flicker stops when I run in Windows 7 compatability mode but the performance of the application is terrible with that option. Also in Windows 10 on the same device there was no application flickering. Any help will be appreciated, thank you.
r/windowsdev • u/nmariusp • May 24 '25
r/windowsdev • u/ninjaninjav • May 18 '25
r/windowsdev • u/ninjaninjav • May 09 '25
r/windowsdev • u/FaultWinter3377 • May 08 '25
Basically the title. I'd like to try to create security patches for Windows 10 22H2 after EOL. I'm looking for anyone who can provide vulnerabilities that need patched, and can help with said patching.
I know it's probably not something that can be easily done, but I want to try my best to make this work. I'm not giving up on Windows 10 just yet.
r/windowsdev • u/lvvy • May 08 '25
I created script that runs right in PowerShell - and sends your prompt to aichat (Sidogen Aichat) and automatically includes context - and you can control how much. You basically talk to AI API of you choice right in terminal.
Script is available at GitHub.
Features:
r/windowsdev • u/Mediator__ • May 04 '25
Hello Windows 10 community! I'm an indie developer who created a free time tracking app called Easy Time Manager that's available on the Microsoft Store. I'm looking for some honest feedback and advice.
I'd really appreciate any feedback or suggestions on how I could improve my store listing to make it more appealing. If you're interested in trying it out and providing direct feedback, you can find it here on the Microsoft Store.
Thank you all in advance for your help! I'm actively working to improve the app based on user feedback.
r/windowsdev • u/tjs343 • Mar 26 '25
I'm developing a WPF application that needs to send print jobs to a USB-connected printer using custom paper sizes. The printer and its driver support this (verified using 3rd party software), but I can't get it to work programmatically.
Analyzed a third-party app that successfully handles this:
.SPL spool filesSetPrinter() or DocumentProperties()EMR_HEADER defining custom page boundsEMR_SETWORLDTRANSFORM for layout/scalingDEVMODEPrintDialog and XpsDocumentWriter in WPF — the printer defaults to A4 and ignores custom sizes.DEVMODE parameters manually before printing — unreliable and varies by printer.System.Drawing.Printing to generate EMF — but still couldn't enforce a custom size.I am using an OKI B432 printer. Within the printer settings, there is a paper size option called 'User Defined Size'. When I select this, a dialog pops up allowing me to enter a specific size manually. This might be the paper size option I target unless it's bypassed completely.
Thanks in advance for any tips!
r/windowsdev • u/souplesseer • Mar 21 '25
I find myself going round in circles looking for a good example of best practice when it comes to setting up 2 way communication between a winforms application (.net 4,8) and a browser page. I've looked at named pipes, websockets and signalr but so far have been unable to get anything working. The amount of information being relayed is only a few small json messages and robustness is probably my primary requirement