Meziantou's blog

Blog about Microsoft technologies (.NET, ASP.NET Core, Blazor, EF Core, WPF, TypeScript, etc.)

  • Home
  • Projects
  • Talks
  • Archives
  • About
  • Contact

Categories: Windows (29 posts)

2024

  • Allow incoming ping requests on Windows machines
  • Create a bootable USB drive for Windows Server

2023

  • Listing Windows virtual desktops using .NET
  • Detecting Dark and Light themes in a WPF application

2022

  • Starting a process as normal user from a process running as Administrator
  • Killing all child processes when the parent exits (Job Object)
  • Getting user consent before executing sensitive code
  • Restore old right-click context menu in Windows 11 Explorer

2020

  • Opening Windows Terminal from the explorer
  • How to change the default shell in Windows Terminal
  • Per virtual desktop single-instance application
  • Convert cmd scripts to PowerShell
  • Check if the current user is an administrator

2018

  • Tip: Disable Windows Error Reporting (WER)
  • Tip: Automatically create a crash dump file on error
  • Change the colors of the Windows console

2017

  • Using SSH on Windows
  • Reset Windows Password
  • Starting a http file server from the file explorer using .NET Core 2.0 and Kestrel
  • Starting a http file server from the file explorer using .NET Core
  • Generate a self-signed certificate for code signing

2016

  • Convert a VMDK (VMWare) file to VHDX (Hyper-V)

2014

  • Prevent Windows shutdown or session ending in .NET
  • Detect the opening of a new window in C#
  • Single instance of an application in C#
  • How to run a scheduled task

2013

  • Enable Framework .Net 3.5 Offline

2012

  • Hyper-V - difference between Save and Pause

2011

  • How to enable concurrent sessions in Windows 7?
Photo of Gérald Barré

Gérald Barré

aka. meziantou

Microsoft Most Valuable Professional (MVP)

Recent posts

  • StringComparison.InvariantCulture is not always invariant
  • PowerShell Script to rename .NET projects
  • Remove empty folders using PowerShell
  • There is no self-closing tag in html
  • How to use a natural sort in PowerShell

Links

  • Dev Tool List
  • Dev News
  • Async/await resources
  • .NET Multithreading resources
  • Visual Studio tips
  • Online tools
  • free-for.dev
Copyright © 2025 Gérald Barré - Use of this site constitutes acceptance of our Terms of use and Privacy policy.