Category: Windows Server 2022
-
How to Fix the “The Referenced Assembly Could Not Be Found” Error (0x80073701) on Windows
When working with Windows Server or Windows 10/11, you may encounter the error: The referenced assembly could not be found. Error: 0x80073701. This issue typically arises when adding or removing features or roles. A similar error may also appear when trying to enable optional features via PowerShell, such as the Windows Subsystem for Linux (WSL):…
-
How to Exclude a Specific User or Computer from Group Policy in Windows
To exclude specific users or computers from Group Policy Object (GPO) settings in Active Directory, there are several effective methods you can employ: GPO Security Filtering: This is the simplest method, allowing you to control which Active Directory objects can apply the policy. WMI Filters: You can limit the scope of the GPO using Windows…
-
A Comprehensive Guide to Writing Logs to the Windows Event Viewer Using PowerShell and CMD
To log event information directly to the Windows Event Viewer using PowerShell or Command Prompt, you can utilize the Write-EventLog cmdlet. This approach is beneficial for tracking script execution without creating text log files. Here’s how you can do it: Log an Information Event:Use the following command to write an informational entry to the Application…
-
How to Hide or Block a Specific Windows Update: A Step-by-Step Guide
Sometimes, after installing a Windows update, users may face issues such as the operating system, specific programs, or drivers malfunctioning. In such cases, it is necessary to uninstall the troublesome update and prevent its reinstallation. This guide outlines how to temporarily pause updates and block unwanted updates from the Windows Update service. Using the Microsoft…
-
Configuring Windows Firewall Logging: A Step-by-Step Guide and Log Analysis Techniques
If you suspect that the built-in Windows Defender Firewall is obstructing network connections from a specific program or service, it’s unwise to disable it entirely. Instead, you can log all network traffic passing through the firewall to identify filtered or dropped packets, as well as find relevant ports and source/destination IP addresses. This will allow…
-
A Comprehensive Guide to Collecting Windows and Active Directory Event Logs Using Graylog
In a previous post, we discussed deploying a centralized log collection and management service using the Graylog stack (Graylog + OpenSearch + MongoDB). This article will guide you on sending Event Viewer logs from Windows hosts, including Active Directory domain controller events, to Graylog. Configuring Graylog Data Collector for Windows Devices To start, navigate to…
-
Sending WhatsApp Messages from the Command Line: A Step-by-Step Guide
You can utilize the Mudslide console client to send WhatsApp messages directly from the command line or within scripts, which is especially convenient for system administrators who wish to dispatch notifications through automation processes. Mudslide is built on the Baileys library, an unofficial open-source solution enabling interaction with the WhatsApp Web API via WebSockets, and…
-
Mastering Network Monitor: A Comprehensive Guide to Capturing and Analyzing Network Traffic on Windows
Microsoft Network Monitor (NetMon) is a vital tool for capturing and analyzing network traffic on Windows systems. While it hasn’t seen updates in several years, many administrators still rely on it for diagnosing network connections. Although it may not match the complexity of tools like Wireshark, NetMon stands out for its simplicity and lightweight nature,…
-
How to Schedule PowerShell Scripts with Windows Task Scheduler
On Windows, the integrated Task Scheduler enables users to trigger actions based on schedules or specific events. This guide details the steps to set up a PowerShell script so that it runs automatically via the Windows Task Scheduler. The PS1 script will execute discreetly in the background, free from any pop-ups, and it operates independently…
-
How to Configure Multiple Alternate DNS Names for a Windows Computer
In scenarios involving system migration, accessing Windows servers by both the original and new hostnames is often crucial. To make a server recognizable by an alternate name, the most straightforward method involves adding a CNAME alias in the DNS that points to the original FQDN (A record). To establish a CNAME alias for the former…