Skip to main content

Posts

Showing posts with the label Windows

How to use WMI from a .NET Application

To start with, let us see what is WMI and what it offers. WMI is an acronym for Windows Management Instrumentation, which is basically an interface to the Windows OS system settings, drivers, and parameters. It also allows managing Windows personal computers and servers through it. A .NET developer can use WMI to obtain information about drivers installed on the client machine, verify whether the system is licensed or not, check for hardware configuration and a lot more. Quoting Linus Torvalds, “Talk is cheap. Show me the code”, let’s get to the basics of WMI usage. To get data through WMI, a SQL-like query is used. The specific query type is called WQL (WMI Query Language). Don’t let the name confuse you. It is still very similar to SQL. Before diving into code, you should know that Windows comes with a tool called WMI Test Tool, which lets you test WQL queries, to check their correctness and returned results. It is a bit harder to track wrong query results in code, so this tool can s...

How to install touchpad driver for HP laptops to enable finger swipe gestures and bitlocker recovery

If your HP laptop has a precision touchpad functionality but the finger swipe gestures such as 2 finger scroll up down or th 3 finger app switching are not working, follow the below steps: 1. Visit the below HP official website and select the appropriate laptop model https://support.hp.com/in-en/drivers/selfservice/hp-elitebook-840-g5-notebook-pc/8491271   2. Navigate to the above driver selection at Driver-Keyboard, Mouse and Input Devices & hit the download button for the Synaptics Touch fingerprint driver. Install the driver and restart your laptop. 3. In case your Windows Operating system disk drives are bitlocker encrypted, you will reach the bitlocker recovery screen since the driver configuration of your system has changed. DO NOT PANIC !! Visit the custom URL seen on your laptop screen to access the recovery key for your laptop in the Microsoft site custom URL. Enter the recovery key and you should be able to successfully log in to your Windows desktop console. Notice t...

Hack for knowing your forgotten wifi password on your Windows PC/laptop

If you want to find out the password of your wifi connection connected to the internet in your system, type the below command in the command prompt and check the value of the property "Key content" !! Voilaa... Your wifi password is now shown up on the response on the CLI on your windows PC/laptop screen :) Disclaimer: Use it to find out the forgotten password of your own internet connection. Do not use it to hack into somebody else's wifi connection :D C:\> netsh wlan show profile name=<wifi-name> key=clear Profile <wifi-name> on interface Wi-Fi: ======================================================================= Applied: All User Profile Profile information -------------------     Version                : 1     Type                   : Wireless LAN     Name                   : <wifi-name>...

Prerequisites for using VMs through Oracle VM Virtualbox Manager

If you need to utilize Oracle VM Virtualbox Manager, on your Windows Operating system, there are certain prerequisites that you will need to confirm. If these are not as per the below output, then your Oracle VM Virtualbox Manager might fail to start. Open Windows PowerShell prompt and type the below 2 commands & verify that their output should be as below. Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Loading personal and system profiles took 16318ms. (base) PS C:\Users\rupakuma> Wmic computersystem get hypervisorpresent HypervisorPresent FALSE (base) PS C:\Users\rupakuma> wmic cpu get virtualizationfirmwareenabled VirtualizationFirmwareEnabled TRUE If not, you will need to enable virtualization through BIOS & disable Hyper-V in your Windows operating system.