Configure systemd (journald) log size in Linux

The systemd journal is the primary logging tool in modern Linux distros. The journald daemon intercepts all system messages via /dev/syslog, the /run/systemd/journal/stdout socket, and a few other paths. The journalctl tool is used to view systemd logs.

Continue reading “Configure systemd (journald) log size in Linux”

How to Schedule or Delay Email Delivery in Outlook

When you click the Send button in Outlook, your e-mail is immediately sent to the mail server and then to the recipient. If you want to send an email automatically after a specified time, you can schedule it in Outlook to be sent at a specific time or set a delayed send.

Continue reading “How to Schedule or Delay Email Delivery in Outlook”

Multiple RDP Sessions for a Single User on Windows Server

The maximum number of simultaneous remote RDP sessions is two for all versions of Windows Server OS (+ one console session that can be accessed by connecting with the mstsc /admin command). These Remote Desktop sessions can be used for administrative purposes. They do not require the installation of an RDS Licensing Server or the purchase of RDS CALs.

Continue reading “Multiple RDP Sessions for a Single User on Windows Server”

PowerShell error: Running scripts is disabled on this system

The default script execution policy settings in Windows 10 and 11 prevent unsigned PowerShell scripts from running. This means that if you try to manually run a PS1 script file or a PSM1 module from the powershell.exe (or pwsh.exe) console, you get an error:

Continue reading “PowerShell error: Running scripts is disabled on this system”

Backup and Restore Group Policy Objects (GPOs) in Active Directory

This article is about the backup and recovery of Group Policy Objects (GPOs) in the Active Directory domain environment. If the GPO files in SYSVOL are modified, corrupted, or deleted, GPO backups allow you to revert to a previous version of the policy.
Continue reading “Backup and Restore Group Policy Objects (GPOs) in Active Directory”

Run a Windows Service with a Non-Admin User Account

In order to safely run third-party services in Windows, you can use a user account that doesn’t have local administrator permissions. To do this, you must change the local security policy settings to allow the user to log on as a service.

Continue reading “Run a Windows Service with a Non-Admin User Account”

Securing the Built-in Administrator Account in Windows

The built-in WindowsAdministrator account has unlimited rights on the computer and, if compromised, gives the attacker complete control over the system. In this article, we will look at some basic techniques that can help secure Windows’s built-in Administrator account.

Continue reading “Securing the Built-in Administrator Account in Windows”

Synchronizing Time with NTP Using Ntpdate in Linux

The ntpdate command is a simple client for synchronizing the local system clock with a remote NTP server. It allows you to verify that your host has the correct time and, if necessary, synchronize the time with the NTP source. Although the ntpdate tool is deprecated, it is often used in simple cases where it is necessary to check the accuracy of the time on a Linux host or to manually synchronize the time once.

Continue reading “Synchronizing Time with NTP Using Ntpdate in Linux”