Windows storage hierarchy explained

Quick cheat sheet: 1) Physical disk, represented by Win32_DiskDrive and MSFT_Disk WMI classes. This is hardware presented to your computer. It is HDD, SSD, FC LUN or iSCSI LUN. 2) Partition, represented by Win32_DiskPartition and MSFT_Partition WMI classes. Partitions are walls that transforming your physical space into rooms, which later can be used to store […]

“The update is not applicable to your computer”

Recently I’ve needed to apply 2 patches to our Windows 2008 R2. But both patches show me error “The update is not applicable to your computer”. But I knew for sure, that these updates were applicable, because installed file’s version was lower than the one contained in hotfixes. In Setup log I’ve got “Windows update […]

Enable Text Console (SOL) on Windows Server 2012

After installing Windows 2012 on old Fujitsu Primergy RX200 we lost ability to manage it with serial console. We’ve even tried to update iRMC firmware with no luck. Problem was resolved after we enabled EMS (Emergency Management Services) with the following set of commands: BCDedit /bootems {Boot_entry_id} ON bcdedit /ems on bcdedit /emssettings EMSPORT:2 EMSBAUDRATE:115200 […]

Find all active AD users not expiring in a month

Sometimes your AD has a lots of temporary users, with accounts expiring in near future, and to ensure that only legitimate users have never expiring or long expiring accounts you want to audit your accounts. To do so, perform next: 1. Create test account expiring today 2. With ADSI edit get the value of accountExpires […]

Fixing MSDTC errors 4135 4163 4185 4112

One of clients had problem with MSDTC service on Windows 2003 server, which couldn’t start. After short investigation I have found corresponding errors in Application log: Event Type:    Error Event Source:    MSDTC Event Category:    LOG Event ID:    4163 Date:        2011-08-02 Time:        12:02:08 PM User:        N/A Computer:    servername Description: MS DTC log file […]