Tag Archives: howto

HOWTO remove F12 exceptions during debugging sessions

I was debugging a new feature when I discovered that every time VK_F12 is pressed, the debugger triggered an exception. After some investigations, I found this forum thread, and I discovered that it is a kernel debugger reserved key. The Solution To fix this annoying problem, we can remap this hotkey going into the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug and editing the following value: UserDebuggerHotKey Setting it … Continue reading HOWTO remove F12 exceptions during debugging sessions »

HOWTO enable Powershell script execution

updated: 09/10/2021   Powershell is indeed a very powerful tool, and sometimes we may need to commit several similar operations that we can quickly organize in a script.  By default, you cannot execute any unsigned PowerShell script.  This can be a problem if we don’t know how, or you need to do a quick maintenance task. We can update this setting, by opening a Powershell … Continue reading HOWTO enable Powershell script execution »

HOWTO restore hidden or deleted power plan

Sometimes you may need to restore the default Windows Power Plan, because you deleted them or because they were hidden by preloaded settings or by a preloaded utility, … The first option is the following command from an administrative Command Prompt: powercfg -duplicatescheme <Power Plan GUID> where the known Power Plan GUIDs are: Friendly Name GUID Power Saver a1841308-3541-4fab-bc81-f71556f20b4a Balanced 381b4222-f694-41f0-9685-ff5bb260df2e High Performance 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c Ultimate … Continue reading HOWTO restore hidden or deleted power plan »

HOWTO restore inaccessible boot disks

A day before Christmas, a friend of mine called me telling me that one of his notebook didn’t start anymore. A glorious BlueScreen pops up giving an error 0xC000000E because a device isn’t accessible anymore. We downloaded the latest Windows 10 Media Creation Tool to create a bootable USB Windows 10 image from where to try to fix the problem.  Naturally, the automatic recovery didn’t … Continue reading HOWTO restore inaccessible boot disks »

HOWTO integrate NASM with VS2019

Occasionally I use assembler to squeeze processing power from my programs. A cheap solution was C inline assembler sections, but VS2019 doesn’t support them into a 64-bits program.  Other compilers use other more or less complex solutions (IBM assembler, …). This forced me to consider having & link .asm files in my projects.  I can split them with 32 and 64 bits code and compile … Continue reading HOWTO integrate NASM with VS2019 »

HOWTO enable/disable PING on Windows 10 firewall by command prompt

In windows 10, the firewall blocks PING command messages by default. I presume that this setting is to improve the security of our PCs, but sometimes we need it because we have to investigate about network problems, … Since I find that wandering into hundreds of firewall rules quite annoying, then I found the command lines to enable/disable the related firewall rules from an Administrative … Continue reading HOWTO enable/disable PING on Windows 10 firewall by command prompt »

HOWTO install a driver .INF by command line

Up to now, there are different ways to install a device driver: by a dedicated setup file by the manufacturer. by using Device Manager to update it of a previously installed device. by File Explorer right-click menu. … by script or command line This last option can be useful if you need to include in a script the driver installation, or in a troubleshooting phase … Continue reading HOWTO install a driver .INF by command line »