categories
Windows
78 articles
20 articles

A number of emails failed to be processed by GFI MailEssentials
Recently in not really long time one of our Clients reported that GFI Mail Essentials started reporting that a number of…

Active Directory Domain Services could not replicate the directory partition – The replication operation encountered a database error
If you ever encounter an error while trying to create a new domain within a forest saying, “The replication operation encountered a databas…

Active Directory – How to track down why and where the user account was locked out
I’ve been working with Windows Events for a while now. One of the things I did to help me diagnose problems and reporting on Windows Events…

Add Google Chrome mobile bookmarks into Bookmarks Bar
If you rely on Chrome bookmark sync between desktop and mobile, the Mobile bookmarks folder can feel buried, but there are a few practical…

Adding user to local Administrators group in multiple languages
Everyone now and then, there comes a moment you need to add a user into Administrators group on each computer…

Azure Agent – Where did my space go?
If a Windows Azure VM suddenly loses disk space and Explorer does not explain it, the Azure guest agent and its logs under C:\WindowsAzure…

CollectGuestLogs.exe – High Disk Usage on Azure VM
If CollectGuestLogs.exe is hammering disk on an Azure VM, check the Azure Guest Agent log-collection behavior and reduce that workload befo…

Create a local user or administrator account in Windows using PowerShell
Create a local Windows user or administrator with PowerShell, handle localized Administrators groups, and prepare the account for LAPS-mana…

Delegating Active Directory attribute physicalDeliveryOfficeName
Being responsible for Active Directory you’re often tasked with fairly simple task of delegating permissions for user and groups. After…

Difference between GetTempFileName() and GetRandomFileName() that got my ass kicked
Today’s story is about me making assumptions on how things work based on the method’s name. As the blog post says, I want to focus on two s…

Easy way to connect to FTPS and SFTP using PowerShell
FTPS and SFTP are two ways to send and receive files from remote sources. While the name suggests both do the same thing, those are differe…

Encrypting and decrypting PGP using PowerShell
Some time ago, I decided that having an easy-to-use PGP PowerShell module is a way to kill my boredom. Four months have passed, and I decid…

Environment Variables in Group Policy preferences
Today our customer asked us to configure a group policy for multiple users on one of the servers. While standard…

Get-EventLog shows wrong maximum size of event logs
If Get-EventLog and older WMI queries show misleading maximum log size values, Get-WinEvent can return the event log metadata more accurate…

Get-EventsLibrary.ps1 – Monitoring Events PowerShell
This event library (Get-EventsLibrary.ps1) is PowerShell script that parses Security (mostly) logs on Domain Controllers. It has few report…

Granting “Logon as a batch job” permission for Task Scheduler to work
If a scheduled task fails under a service or domain account, check whether the account has the Log on as a batch job right and whether Grou…

How to change DELL iDRAC password remotely
Recently we had to setup BitLocker encryption on our customers Hyper-V hosts. Since BitLocker requires typing of password before system is…

How to change your own expired password when you can’t login to RDP
I must admit that it was a bit embarrassing to see my Administrator password expired when I tried to log in as Domain Admin to Domain Contr…

How to detect rogue DHCP server?
Recently one of our Clients complained that printers are not printing and are shown offline on computers. Since the client has Windows…
How to encrypt Hyper-V host with Bitlocker on Windows 2012
Step-by-step guide to encrypting a Windows Server 2012 Hyper-V host with BitLocker to better protect virtual machines and host data at rest.