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 »

A custom EVENT object for lighting fast thread synchronization

Several weeks ago, while I was working on the next version of Horodruin, I was optimizing the multithreaded file copy engine. This optimization phase pops up an unexpected event on the standard event object processing.  It seems that frequent uses of SetEvent() API are not exactly processing-resources free. This is probably caused by some code overhead needed for a system object… During these evaluations, I … Continue reading A custom EVENT object for lighting fast thread synchronization »

Horodruin v6… went in beta phase a week ago!

The new version took me about 2 years to be completed. The main focus was to rip off VCL framework, in order to switch to MS Visual Studio compilers. This point forced me to reorganize and rewrite the whole Interface code, but it also triggered tons of internal improvements and optimizations. Finally, there will be 32 and 64 bits versions…

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 Recover a stored WiFi password

Sometimes it is useful to recover a password from its Windows stored WiFi profiles. We can do this by opening an administrative Command Prompt and typing this command to list all stored profiles: netsh wlan show profile Then type the following command with the proper profile name: netsh wlan show profile name=<profile_name> key=clear You can find it in the Security Settings section in the listed … Continue reading HOWTO Recover a stored WiFi password »

HOWTO fix Windows 10 upgrade process

Once again some weeks ago, I had to upgrade an old Windows 7 notebook to Windows 10. Up to now, it is possible by downloading the Media Download Tool, and following the program instructions. In the end, you will have a licensed Windows 10 notebook migrated by the previous OS. My problem this time was that Windows 10 installation met several problems and failed. I … Continue reading HOWTO fix Windows 10 upgrade process »

HOWTO fix Windows 10 installation blocked in updates searching phase

Several weeks ago, I updated an old notebook from Windows 8 to the latest Windows 10. One of the problems, I faced is that the W10 installation hung in the updates searching phase. From my investigations, it seemed a Windows Update problem of the almost phased out OS. Simply I didn’t want to fix a problem in an OS that I was going to wipe … Continue reading HOWTO fix Windows 10 installation blocked in updates searching phase »

HOWTO set account lockout by command line

Recently I read an article about how to harden Windows 10 accounts security vs brute force attacks. One of the ‘easy’ countermeasures is to enable the account lockout. The idea is to lock the attacked account after a number of consecutive failed login tries to increase the time-costs of the attack. You can set it up by using Local Security Policies from your Administration Tools, … Continue reading HOWTO set account lockout by command line »