Windows

Advanced Configuration and Power Interface Specification

ACPI system description tables Advanced Configuration and Power Interface Specification (ACPI) defines a generic, extensible table-passing mechanism, plus specific tables for describing the platform to the operating system. Table structures and headers, including ID and checksum fields, are defined in the ACPI specification.  Tables enable to code generic software to [...]

2022-02-09T17:18:18+05:30Categories: Windows|

Analyzing a Crash Dump | Windbg

WinDbg support !analyze command for analyzing crash dump . This command analyzes exception information in the crash dump, determines the place where the exception occurred, the call stack, and displays detailed report.  Whenever something has gone terribly wrong and that the system has been stopped either because OS itself is [...]

2018-12-21T15:51:19+05:30Categories: Operating System, Windows|

Types of WDM Drivers

There are three kinds of WDM drivers: Bus driver Function driver Filter driver Bus driver Bus driver drives an individual I/O bus device and provides per-slot functionality that is device-independent. Bus drivers also detect and report child devices that are connected to the bus. For purposes of the WDM, a bus is [...]

2018-11-01T16:42:37+05:30Categories: Windows|

Device Classes in Windows Driver

Device Class There two device classes used to put devices and drivers into groups whose members have similar characteristics: Device Setup Classes Device Interface Classes Windows classes are defined in the system file Devguid.h. This file defines a series of GUIDs for setup classes. A device interface class is always [...]

2018-10-15T18:44:00+05:30Categories: Operating System, Windows|

WDM vs WDF

Introduction Architecturally, Windows Driver Frameworks (WDF) drivers are similar to Windows Driver Model (WDM) drivers. A WDM driver consists of a DriverEntry function, various dispatch routines that the operating system calls to service I/O requests, and additional driver-specific utility functions. A WDF driver consists of a DriverEntry function, various event [...]

2018-10-13T20:15:13+05:30Categories: Windows|

Windows OS hacks

Configure “Open With” application This can be done in one of the following ways: Right Click > Open With > Choose Default Program This opens a dialog window with the option to browse any application to use for one-time only OR (by checking the appropriate checkbox) this would effectively set [...]

2021-11-10T17:23:39+05:30Categories: Operating System, Windows|

Generate file name with timestamp in windows batch file

This tutorial describes a simple .bat file used to create timestamp. @echo off For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b) For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b) echo %mydate%_%mytime% If you want the date independently of the region day/month order, you [...]

2017-10-08T13:43:13+05:30Categories: Windows|Tags: |

Add comment in a batch/cmd

The rem command is indeed for comments. It doesn't inherently update anyone after running the script. Because by default the batch interpreter will print out each command before it's processed, to avoid printing a command, prefix it with @, or, to apply that setting throughout the program, run @echo off. (It's echo off to avoid printing further commands; [...]

2017-10-08T13:43:18+05:30Categories: Windows|Tags: |
Go to Top