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”

Creating a Self-Signed Certificate in Linux with OpenSSL

You can use self-signed certificates for internal use or testing of HTTPS web services. This means you don’t need to buy a certificate from a commercial CA or generate a free Let’s Encrypt certificate. This article describes how to use the OpenSSL tool to issue a self-signed certificate in Linux, bind it to the Nginx web server and add it to the trusted certificate list on the user’s computer.

Continue reading “Creating a Self-Signed Certificate in Linux with OpenSSL”