β οΈ Security changes to RDP after the April updates: Microsoft adds warning when running RDP files in Windows 11/10
The recent April security updates for Windows 11 (and Windows 10 with ESU) changed the default behavior when opening saved .rdp files.
Now, each RDP connection triggers a security warning about potential phishing risks. More importantly, local resource redirection (clipboard, printers, drives) is disabled by default for saved pre-configured RDP files.
As a result, users who donβt carefully review the prompt may end up in a remote session without clipboard, printers, or local drives, since resource redirection must now be explicitly re-enabled on each connection.
π« Temporary workaround (behavior may change in future cumulative updates). You can restore the previous behavior and disable the security warning for RDP files by setting the following registry key:
β Recommended approach: sign RDP files
A more secure and reliable solution is to digitally sign the RDP file using a code-signing certificate.
1οΈβ£ Create a self-signed certificate:
2οΈβ£ Copy the certificate thumbprint and sign the RDP file:
3οΈβ£ Install the certificate into Trusted Publishers / Trusted Root stores
4οΈβ£ Add the certificate thumbprint to the GPO setting: Specify SHA1 thumbprints of certificates representing trusted .rdp publishers
After that, the RDP file will open without any warnings, and the redirection of local resources will work as before.
β‘οΈ RDP security warnings after April Windows updates: what changed and how to fix it
The recent April security updates for Windows 11 (and Windows 10 with ESU) changed the default behavior when opening saved .rdp files.
Now, each RDP connection triggers a security warning about potential phishing risks. More importantly, local resource redirection (clipboard, printers, drives) is disabled by default for saved pre-configured RDP files.
As a result, users who donβt carefully review the prompt may end up in a remote session without clipboard, printers, or local drives, since resource redirection must now be explicitly re-enabled on each connection.
π« Temporary workaround (behavior may change in future cumulative updates). You can restore the previous behavior and disable the security warning for RDP files by setting the following registry key:
REG ADD "HKLM\Software\Policies\Microsoft\Windows NT\Terminal Services\Client" /v "RedirectionWarningDialogVersion" /t REG_DWORD /d "1" /F
β Recommended approach: sign RDP files
A more secure and reliable solution is to digitally sign the RDP file using a code-signing certificate.
1οΈβ£ Create a self-signed certificate:
New-SelfSignedCertificate -Subject "WOSHUB Cert for RDP file Signingβ -Type CodeSigningCert -CertStoreLocation cert:\LocalMachine\My
2οΈβ£ Copy the certificate thumbprint and sign the RDP file:
rdpsign.exe /v /sha256 <thumbprint> .\Desktop\my_rdp_app.rdp
3οΈβ£ Install the certificate into Trusted Publishers / Trusted Root stores
4οΈβ£ Add the certificate thumbprint to the GPO setting: Specify SHA1 thumbprints of certificates representing trusted .rdp publishers
After that, the RDP file will open without any warnings, and the redirection of local resources will work as before.
β‘οΈ RDP security warnings after April Windows updates: what changed and how to fix it
β€5π₯4π3
Windows OS Hub for SysAdmins
β οΈ Security changes to RDP after the April updates: Microsoft adds warning when running RDP files in Windows 11/10 The recent April security updates for Windows 11 (and Windows 10 with ESU) changed the default behavior when opening saved .rdp files. Now,β¦
Microsoftβs latest Windows 11 security update has now changed how that experience works when users open an .rdp file. Remote Desktop shows the requested connection settings before connecting, with each setting turned off by default, and a one-time security warning appears the first time an .rdp file is opened on a device. The change is tied to CVE-2026-26151, a Remote Desktop spoofing vulnerability.
https://www.youtube.com/watch?v=AykyiZcbZac
Please open Telegram to view this post
VIEW IN TELEGRAM
YouTube
Remove the Security Warning When Opening an RDP File in Windows 11 After April 2026 Update
# β Windows RDP file security warnings after the April updates: Microsoft adds warning when running RDP files in Windows 11/10
## β How to disable Remote Desktop security warnings and sign RDP files
β€ π https://woshub.com/security-warnings-opening-rdp-filesβ¦
## β How to disable Remote Desktop security warnings and sign RDP files
β€ π https://woshub.com/security-warnings-opening-rdp-filesβ¦
π₯4π4β€2
π‘Secure Boot is a UEFI security feature that is designed to prevent the execution of unsigned or malicious code before the operating system is initialized. The certificates used in the Secure Boot trust chain (Microsoft Corporation UEFI CA 2011) were issued in 2011 and will begin expiring in June 2026.
β‘οΈ Microsoft has been rolling out updates via Windows Update for supported OS versions in order to replace certificates that will expire in 2026. These updates will replace legacy Secure Boot certificates automatically with ones signed by Windows UEFI CA 2023. In some cases, a UEFI firmware update may also be required.
π Check if UEFI Secure Boot is enabled:
π Here's how to check if Windows has applied the new Secure Boot certificates:
β This article explains how to manually initiate the update of Secure Boot certificate and the Windows bootloader signed with the Windows UEFI CA 2023, without waiting for automatic updates.
β‘οΈ Updating Windows Secure Boot UEFI certificates expiring in June 2026
β‘οΈ Microsoft has been rolling out updates via Windows Update for supported OS versions in order to replace certificates that will expire in 2026. These updates will replace legacy Secure Boot certificates automatically with ones signed by Windows UEFI CA 2023. In some cases, a UEFI firmware update may also be required.
β What would happen if you didn't update the certificates before they expired?
If your computer doesn't receive the update for some reason, or if the new certificates are not installed before the old ones expire, this will not cause problems with Windows boot or prevent machines with old certificates from being used. However, Secure Boot will lose a valid trust chain and will no longer provide full protection for the boot process. As a result:
πΉSystems become vulnerable to bootkit attacks
πΉDevices may miss future boot-level security updates
π Check if UEFI Secure Boot is enabled:
Confirm-SecureBootUEFI
π Here's how to check if Windows has applied the new Secure Boot certificates:
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI -Name db).Bytes) -match "Windows UEFI CA 2023"
β This article explains how to manually initiate the update of Secure Boot certificate and the Windows bootloader signed with the Windows UEFI CA 2023, without waiting for automatic updates.
β‘οΈ Updating Windows Secure Boot UEFI certificates expiring in June 2026
π5β€4π₯3π3
Windows OS Hub for SysAdmins
π Multiple Concurrent Remote Desktop Sessions in Windows 11 or 10 Desktop editions of Windows support only one active RDP session at a time, which prevents multiple remote users from simultaneously accessing their desktops on the same machine. Several workaroundsβ¦
https://www.youtube.com/watch?v=QmPAQaOYzbg
Please open Telegram to view this post
VIEW IN TELEGRAM
YouTube
Enable Multiple RDP Sessions on Windows 11 | RDPWrapper & termsrv.dll Patching
# β How to Enable Multiple RDP Sessions on Windows 11 and 10
Windows 11 natively restricts Remote Desktop (RDP) to one active user session. To allow multiple concurrent RDP sessions on desktop Windows versions, you must use third-party tools like RDP Wrapperβ¦
Windows 11 natively restricts Remote Desktop (RDP) to one active user session. To allow multiple concurrent RDP sessions on desktop Windows versions, you must use third-party tools like RDP Wrapperβ¦
π₯5β€4π₯°2
π Testing Disk Performance in Windows Using WinSAT (WEI)
Many remember the Windows Experience Index (WEI), a built-in tool from the Windows Vista, 7, and 8 era that rated system performance on a scale from 1.0 to 9.9. Although the WEI GUI was removed starting with Windows 8.1, the underlying assessment tools are still available in all newer Windows versions.
For example, you can use PowerShell to retrieve the results of the last WEI assessment:
While these scores donβt accurately reflect the performance of modern hardware (the test algorithms havenβt been updated in years), the tool is still useful for some quick checks.
β Quick disk performance test
The built-in WinSAT.exe command allows you to quickly measure disk read/write performance:
This runs a series of sequential and random I/O tests against a specific disk and returns the results:
πΉ Throughput (MB/s)
πΉ Latency (ms)
πΉ A WEI-based performance score
β‘οΈ How to Measure Disk Performance on Windows: Throughput, Latency, and IOPS
Many remember the Windows Experience Index (WEI), a built-in tool from the Windows Vista, 7, and 8 era that rated system performance on a scale from 1.0 to 9.9. Although the WEI GUI was removed starting with Windows 8.1, the underlying assessment tools are still available in all newer Windows versions.
For example, you can use PowerShell to retrieve the results of the last WEI assessment:
Get-CimInstance Win32_WinSAT
While these scores donβt accurately reflect the performance of modern hardware (the test algorithms havenβt been updated in years), the tool is still useful for some quick checks.
β Quick disk performance test
The built-in WinSAT.exe command allows you to quickly measure disk read/write performance:
winsat disk -drive C
This runs a series of sequential and random I/O tests against a specific disk and returns the results:
πΉ Throughput (MB/s)
πΉ Latency (ms)
πΉ A WEI-based performance score
β οΈ To perform real load testing on the
storage subsystem, it is better to use specialized tools, such as DiskSpd. However, for quick validation (e.g., checking whether a disk meets expected performance), winsat disk is a simple and effective option.
β‘οΈ How to Measure Disk Performance on Windows: Throughput, Latency, and IOPS
π6β€4π₯2π₯°1
π Stop Disabling IPv6 in Windows
β οΈ When anomalous network or application behavior is encountered, many admins have the practice of disabling IPv6 in the network adapter properties. In the majority of cases, this action is not only unnecessary but may actually degrade system performance.
πΉ Microsoft explicitly states: βWe do not test Windows Server without IPv6.β
Many Windows components rely on IPv6 (including link-local addresses) for internal communication.
πΉ Even if IPv6 is disabled, Windows will still attempt to resolve AAAA DNS records, wait for a timeout, and only then fall back to IPv4 (A records). This results in additional connection delays when accessing the network resource.
π‘ What to do instead
If youβre dealing with a legacy app that doesnβt support IPv6, avoid disabling the protocol entirely. Instead, prioritize IPv4 over IPv6 by adjusting the prefix policy via the registry:
β This approach only changes the address selection preference while ensuring that IPv6 remains fully functional within the OS kernel.
β‘οΈ Key considerations for properly disabling IPv6 in Windows
https://woshub.com/disabling-ipv6-windows/
β οΈ When anomalous network or application behavior is encountered, many admins have the practice of disabling IPv6 in the network adapter properties. In the majority of cases, this action is not only unnecessary but may actually degrade system performance.
πΉ Microsoft explicitly states: βWe do not test Windows Server without IPv6.β
We don't recommend unbinding IPv6 from an Ethernet or WiFi network adapter without a justifiable need. Windows is tested with, and some products and features expect, IPv6 to be bound and functional. Unbinding IPv6 from a network adapter can result in an unsupported Windows configuration.
Many Windows components rely on IPv6 (including link-local addresses) for internal communication.
πΉ Even if IPv6 is disabled, Windows will still attempt to resolve AAAA DNS records, wait for a timeout, and only then fall back to IPv4 (A records). This results in additional connection delays when accessing the network resource.
π‘ What to do instead
If youβre dealing with a legacy app that doesnβt support IPv6, avoid disabling the protocol entirely. Instead, prioritize IPv4 over IPv6 by adjusting the prefix policy via the registry:
reg add HKLM\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0x20
β This approach only changes the address selection preference while ensuring that IPv6 remains fully functional within the OS kernel.
β‘οΈ Key considerations for properly disabling IPv6 in Windows
https://woshub.com/disabling-ipv6-windows/
π8β€2π2π₯1
π How to Uninstall Any Program in Windows Using PowerShell or CMD
This post covers several methods for uninstalling apps in Windows 11 using PowerShell and the command line, including:
πΉ PackageManagement module β can be used to uninstall MSI, Win32, and MSU packages:
πΉ Removing Microsoft Store apps using the
πΉ Uninstall apps using the WinGet Package Manager. It can be used to uninstall apps that were not originally installed using Winget:
πΉ Legacy WMI-based methods to uninstall apps:
Using
πΉ Extract the software
πΉ (Video): https://www.youtube.com/watch?v=QXLIMPSGGWc
π° (Post): https://woshub.com/uninstall-apps-with-powershell-windows/
This post covers several methods for uninstalling apps in Windows 11 using PowerShell and the command line, including:
πΉ PackageManagement module β can be used to uninstall MSI, Win32, and MSU packages:
Get-Package -Name "*Notepad++*" | Uninstall-Package
πΉ Removing Microsoft Store apps using the
Remove-AppxPackage and Remove-AppxProvisionedPackage cmdletsπΉ Uninstall apps using the WinGet Package Manager. It can be used to uninstall apps that were not originally installed using Winget:
winget uninstall --name 7zip.7zip
πΉ Legacy WMI-based methods to uninstall apps:
Using
wmic and PowerShell cmdlets Get-WmiObject/ Get-CimInstance -Class Win32_Product πΉ Extract the software
UninstallString value from the registryPlease open Telegram to view this post
VIEW IN TELEGRAM
YouTube
How to Uninstall Apps Using PowerShell in Windows 11
β *Uninstall Software in Windows 11 Using PowerShell or CMD (Step by Step for Sysadmins)*
This video explains how to properly uninstall a program in Windows 11 using the PowerShell or command-line tools. The guide covers uninstalling both MSI-based appsβ¦
This video explains how to properly uninstall a program in Windows 11 using the PowerShell or command-line tools. The guide covers uninstalling both MSI-based appsβ¦
π6π2β€1π₯1
π How to Force Remove Apps that Won't Uninstall Using the Usual Methods
This post covers methods for properly removing applications in Windows when the standard removal tools fail (via
Although the post primarily focuses on applications deployed via Windows Installer (
βοΈ Common causes that prevent software uninstallation include:
- Missing or corrupted original MSI installer files in the system cache
- Missing or broken registry entries in the
We will explore how to:
πΉ Extract the correct UninstallString value from the registry
πΉ Find the source MSI package that was used to install the app
πΉ Use the Microsoft Program Install and Uninstall Troubleshooter to scan and fix the registry, and repair installer dependencies
β How to Force Uninstall Any Program in Windows That Won't Delete
This post covers methods for properly removing applications in Windows when the standard removal tools fail (via
ms-settings:appsfeatures, appwiz.cpl, or PowerShell).Although the post primarily focuses on applications deployed via Windows Installer (
MSI) packages, though many of the techniques discussed can also be used to remove software installed using custom installers.βοΈ Common causes that prevent software uninstallation include:
- Missing or corrupted original MSI installer files in the system cache
(%windir%\Installer) - Missing or broken registry entries in the
Uninstall registry key that contain application metadata.We will explore how to:
πΉ Extract the correct UninstallString value from the registry
πΉ Find the source MSI package that was used to install the app
πΉ Use the Microsoft Program Install and Uninstall Troubleshooter to scan and fix the registry, and repair installer dependencies
β How to Force Uninstall Any Program in Windows That Won't Delete
π8β€2π1
π‘ Protecting Windows Against Brute-Force and DDoS Attacks with IPBan
The open-source IPBan tool is essentially the Windows equivalent of the popular Linux tool Fail2Ban.
Install the IPBan service in Windows:
βΉοΈ Out of the box, IPBan monitors sign-in logs of:
- RDP
- OpenSSH
- Microsoft SQL
- Exchange
- RDWeb
- RRAS
IP addresses associated with repeated authentication failures or brute-force password attempts are automatically blocked.
IPBan can also be configured to analyze logs from any Windows service or application that writes access events to text log files or Event Viewer.
β This article demonstrates how IPBan can be used to mitigate a real DDoS attack on an IIS web server running on Windows Server.
The guide covers:
πΉ Identifying anomalies in IIS logs
πΉ Creating custom regular expression (
πΉ Automatically block suspicious IP addresses using Windows Firewall rules
As a result, the configured IPBan policies automatically blacklisted around 3,000 unique IP addresses, effectively mitigating the attack.
β‘οΈ https://woshub.com/protect-windows-ddos-brute-force-attacks-ipban/
The open-source IPBan tool is essentially the Windows equivalent of the popular Linux tool Fail2Ban.
IPBan can analyze application log files and/or Windows Event Logs, detect suspicious or unwanted activity, extract IP addresses from logs, and temporarily block those IPs using Windows Firewall.
Install the IPBan service in Windows:
$ProgressPreference = 'SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/DigitalRuby/IPBan/master/IPBanCore/Windows/Scripts/install_latest.ps1'))βΉοΈ Out of the box, IPBan monitors sign-in logs of:
- RDP
- OpenSSH
- Microsoft SQL
- Exchange
- RDWeb
- RRAS
IP addresses associated with repeated authentication failures or brute-force password attempts are automatically blocked.
IPBan can also be configured to analyze logs from any Windows service or application that writes access events to text log files or Event Viewer.
β This article demonstrates how IPBan can be used to mitigate a real DDoS attack on an IIS web server running on Windows Server.
The guide covers:
πΉ Identifying anomalies in IIS logs
πΉ Creating custom regular expression (
RegEx) detection patterns for IPBanπΉ Automatically block suspicious IP addresses using Windows Firewall rules
As a result, the configured IPBan policies automatically blacklisted around 3,000 unique IP addresses, effectively mitigating the attack.
β‘οΈ https://woshub.com/protect-windows-ddos-brute-force-attacks-ipban/
π₯4β€3π2π1
βοΈ Monitoring File Changes in a Folder with PowerShell
βοΈ One of my production tasks required me to monitor a specific folder on a computer for changes and automatically run an handler when a new file appears. This can be implemented quickly and efficiently in Windows using PowerShell and the built-in .NET class, FileSystemWatcher.
β‘οΈ Here is an example PowerShell script for monitoring new files, logging events, and triggering custom processing:
β When a new file appears in
π« To stop monitoring:
π The article explains how to monitor file creation, deletion, renaming and modification events using FileSystemWatcher from PowerShell.
β‘οΈ Monitoring file changes in a directory with PowerShell and FileSystemWatcher class
βοΈ One of my production tasks required me to monitor a specific folder on a computer for changes and automatically run an handler when a new file appears. This can be implemented quickly and efficiently in Windows using PowerShell and the built-in .NET class, FileSystemWatcher.
β‘οΈ Here is an example PowerShell script for monitoring new files, logging events, and triggering custom processing:
$fs_watch = New-Object System.IO.FileSystemWatcher
$fs_watch.IncludeSubdirectories = $true
$fs_watch.Path = "C:\Reports"
$fs_watch.EnableRaisingEvents = $true
# Event handler triggered when a file is created
$action = {
$changeType = $Event.SourceEventArgs.ChangeType
$path = $Event.SourceEventArgs.FullPath
$date = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
# Create a properly formatted log entry
$logLine = "[$date] $changeType: $path"
# Append the entry to the log file
$logLine | Out-File -FilePath "$env:USERPROFILE\watch.log" -Append
}
# Bind the action to the Created event
Register-ObjectEvent -InputObject $fs_watch -EventName "Created" -Action $action
β When a new file appears in
C:\Reports directory, the actions defined in $action are executed automatically. The monitoring works in real time and reacts to file system events without continuously polling the directory contents.π« To stop monitoring:
Unregister-Event -SourceIdentifier FSCreate
π The article explains how to monitor file creation, deletion, renaming and modification events using FileSystemWatcher from PowerShell.
β‘οΈ Monitoring file changes in a directory with PowerShell and FileSystemWatcher class
π₯8π5β€2
π Installing Remote Server Administration Tools (RSAT) in Windows
The Remote Server Administration Tools (RSAT) package includes a set of MMC snap-ins, command-line tools, and PowerShell modules used for remote administration of Windows Server roles and features from another machine, including Windows workstations.
π Starting with Windows 10 version 1809, RSAT components are distributed as Features on Demand (FoD) and downloaded online from Windows Update servers.
In isolated environments where there is no Internet access or when using WSUS, installing RSAT features on a management machine can become problematic.
β This article covers all available methods for installing RSAT on Windows 10/11 and Windows Server, including offline installation from the Languages and Optional Features ISO image containing FoD components.
β‘οΈ How to Install Remote Server Administration Tools (RSAT) on Windows 11 and Windows Server
The Remote Server Administration Tools (RSAT) package includes a set of MMC snap-ins, command-line tools, and PowerShell modules used for remote administration of Windows Server roles and features from another machine, including Windows workstations.
π Starting with Windows 10 version 1809, RSAT components are distributed as Features on Demand (FoD) and downloaded online from Windows Update servers.
In isolated environments where there is no Internet access or when using WSUS, installing RSAT features on a management machine can become problematic.
β This article covers all available methods for installing RSAT on Windows 10/11 and Windows Server, including offline installation from the Languages and Optional Features ISO image containing FoD components.
β‘οΈ How to Install Remote Server Administration Tools (RSAT) on Windows 11 and Windows Server
β€4π3π2π₯1
π Restricting User Logons to Specific Computers in Active Directory
By default, Active Directory users are permitted to sign in locally to any domain-joined computer within their domain. This works because all newly created AD users are automatically assigned to the Domain Users group, which in turn is added to the local Users group on domain-joined machines.
Administrators may restrict the specific computers to which users are allowed to log on to by using:
πΉ The
πΉ Group Policy settings:
- Allow log on locally
- Deny log on locally
β This article covers practical scenarios for configuring allowed logon workstations, as well as restricting user logon times using the
β‘οΈ How to allow or deny user logons to specific computers in an Active Directory domain
By default, Active Directory users are permitted to sign in locally to any domain-joined computer within their domain. This works because all newly created AD users are automatically assigned to the Domain Users group, which in turn is added to the local Users group on domain-joined machines.
Administrators may restrict the specific computers to which users are allowed to log on to by using:
πΉ The
userWorkstations attributeπΉ Group Policy settings:
- Allow log on locally
- Deny log on locally
β This article covers practical scenarios for configuring allowed logon workstations, as well as restricting user logon times using the
logonHours attribute.β‘οΈ How to allow or deny user logons to specific computers in an Active Directory domain
π₯4π3β€2
π₯ Duplicate SID Issues in Windows (Sysprep-less Cloning Environments)
πFor over a decade, a common IT shortcut was to clone a hard drive image across thousands of machines without running Sysprep to randomize the machine local security identifier (SID). This shortcut was historically brushed off as a harmless "myth" because Active Directory assigns each machine its own unique domain SID.
β‘οΈ In my environment, I have not encountered this issue, likely because the business context does not involve direct workstation-to-workstation access. However, it is still easy to run into this scenario, especially given the widespread misconceptions about local SID uniqueness.
The situation is further complicated by the fact that the only officially supported Microsoft method for changing a local machine SID is running Sysprep with the
This post covers how to:
πΉ Find computers with duplicate local machine SIDs in the Active Directory.
πΉ Apply a temporary workaround to disable SID uniqueness checks and allow network access between affected machines.
πΉ Regenerate the local SID and update dependent registry entries and ACLs using the third-party tool SIDCHG64 (not supported by Microsoft and not recommended for production environments β οΈ)
Duplicate SIDs Cause Authentication Failures in Windows 11 and Windows Server 2025
πFor over a decade, a common IT shortcut was to clone a hard drive image across thousands of machines without running Sysprep to randomize the machine local security identifier (SID). This shortcut was historically brushed off as a harmless "myth" because Active Directory assigns each machine its own unique domain SID.
In autumn 2025, Microsoft released security updates for Windows 11 25H2, 24H2, and Windows Server 2025 that enforce block Kerberos/NTLM authentication and network communication between machines sharing security identifiers (SIDs).
These Microsoft updates enforce strict SID uniqueness for security compliance during network authentication handshakes. This means that computers cloned from the same image (captured without using Sysprep /generalize ), which have identical SIDs, will fail to authenticate via NTLM or Kerberos. This prevents affected devices from accessing each other's network file shares, Remote Desktops or network printers, or from being managed via remote administrative tools.
β‘οΈ In my environment, I have not encountered this issue, likely because the business context does not involve direct workstation-to-workstation access. However, it is still easy to run into this scenario, especially given the widespread misconceptions about local SID uniqueness.
The situation is further complicated by the fact that the only officially supported Microsoft method for changing a local machine SID is running Sysprep with the
/generalize option, which, while not equivalent to a full OS reinstallation, is close in terms of operational overhead and the post-configuration effort required to restore usability for end users.This post covers how to:
πΉ Find computers with duplicate local machine SIDs in the Active Directory.
πΉ Apply a temporary workaround to disable SID uniqueness checks and allow network access between affected machines.
πΉ Regenerate the local SID and update dependent registry entries and ACLs using the third-party tool SIDCHG64 (not supported by Microsoft and not recommended for production environments β οΈ)
Duplicate SIDs Cause Authentication Failures in Windows 11 and Windows Server 2025
β€6π3π₯3
π Restricting the directions and data types that can be copied via RDP session clipboard
π Clipboard redirection in Remote Desktop session allows users to copy and paste content, such as text, images, and files between the user's device and the remote session in either direction.
Windows admins can disable clipboard redirection in RDP sessions to prevent data leakage or the transfer of potentially malicious files.
In previous Windows versions, clipboard redirection could only be fully enabled or disabled using the GPO setting Do not allow Clipboard redirection or the
π Starting with Windows 11 and Windows Server 2022, Microsoft introduced new Group Policy options that provide granular control over clipboard usage in Remote Desktop sessions. These policies allow administrators to restrict clipboard access by direction. For example:
- Allow copying only from the local client to the remote session
- Allow copying only from the remote session back to the client
- Completely block clipboard redirection in one direction
The new policies are located under:
Computer Configuration (or User Configuration) β Policies β Administrative Templates β Windows Components β Remote Desktop Services β Remote Desktop Session Host β Device and Resource Redirection:
πΉ Restrict clipboard transfer from client to server
πΉ Restrict clipboard transfer from server to client
π In addition to directional restrictions, administrators can now define which data types are allowed to be copied through the clipboard. For example, you could only allow plain text to be copied, but not graphics or hidden metadata.
Available options:
β Disable clipboard transfers from client to server
β Allow plain text only (most secure option)
β Allow plain text and images
β Allow text, images, and RTF formatting
β Allow all formats, including HTML
This functionality allows the risk of data leakage to be reduced while maintaining limited RDP clipboard functionality for users.
β‘οΈ Configure clipboard redirection over the Remote Desktop Protocol
π Clipboard redirection in Remote Desktop session allows users to copy and paste content, such as text, images, and files between the user's device and the remote session in either direction.
Windows admins can disable clipboard redirection in RDP sessions to prevent data leakage or the transfer of potentially malicious files.
In previous Windows versions, clipboard redirection could only be fully enabled or disabled using the GPO setting Do not allow Clipboard redirection or the
fDisableClip registry parameter.π Starting with Windows 11 and Windows Server 2022, Microsoft introduced new Group Policy options that provide granular control over clipboard usage in Remote Desktop sessions. These policies allow administrators to restrict clipboard access by direction. For example:
- Allow copying only from the local client to the remote session
- Allow copying only from the remote session back to the client
- Completely block clipboard redirection in one direction
The new policies are located under:
Computer Configuration (or User Configuration) β Policies β Administrative Templates β Windows Components β Remote Desktop Services β Remote Desktop Session Host β Device and Resource Redirection:
πΉ Restrict clipboard transfer from client to server
πΉ Restrict clipboard transfer from server to client
π In addition to directional restrictions, administrators can now define which data types are allowed to be copied through the clipboard. For example, you could only allow plain text to be copied, but not graphics or hidden metadata.
Available options:
β Disable clipboard transfers from client to server
β Allow plain text only (most secure option)
β Allow plain text and images
β Allow text, images, and RTF formatting
β Allow all formats, including HTML
This functionality allows the risk of data leakage to be reduced while maintaining limited RDP clipboard functionality for users.
β‘οΈ Configure clipboard redirection over the Remote Desktop Protocol
π3π₯3β€2
π Monitoring Windows Hosts with Zabbix Agent
Weβve updated our guide on basic Windows host monitoring using Zabbix, starting from agent installation and connecting a Windows machine to the Zabbix server, to collecting advanced metrics, configuring triggers and alerts.
βοΈ The guide also explains how to collect custom data from a Windows machine using PowerShell scripts, and how to process this data as Zabbix monitoring metrics.
Custom PowerShell commands or scripts that return the required values can be defined through
This approach allows you to integrate virtually any PowerShell-based check into Zabbix monitoring.
β‘οΈ Monitoring Windows Infrastructure with Zabbix Agent
Weβve updated our guide on basic Windows host monitoring using Zabbix, starting from agent installation and connecting a Windows machine to the Zabbix server, to collecting advanced metrics, configuring triggers and alerts.
βοΈ The guide also explains how to collect custom data from a Windows machine using PowerShell scripts, and how to process this data as Zabbix monitoring metrics.
Custom PowerShell commands or scripts that return the required values can be defined through
UserParameter in the Zabbix agent configuration file:UserParameter=custom_metric_name,powershell -NoProfile -ExecutionPolicy bypass -File "C:\Program Files\Zabbix Agent 2\Script\sample_script.ps1"
This approach allows you to integrate virtually any PowerShell-based check into Zabbix monitoring.
β‘οΈ Monitoring Windows Infrastructure with Zabbix Agent
β€6π5π₯3π₯°1
Windows OS Hub for SysAdmins
π Installing PowerShell Modules Offline (Without Internet Access) PowerShell modules can be installed online from the official PowerShell Gallery (https://www.powershellgallery.com/). using the PSGallery repository, which is enabled by default in Windows.β¦
βΆοΈ (Video): Using Offline PowerShell Repository in Disconnected Environments
https://www.youtube.com/watch?v=FwJ1wp7H4eY
https://www.youtube.com/watch?v=FwJ1wp7H4eY
YouTube
Installing PowerShell Modules without Internet (Offline) from NUPKG Package
# β How to Install PowerShell Modules in the Offline Windows Environment
There is a Windows 11 machine or Windows Server in a completely disconnected network (no internet, no direct access to PowerShell Gallery, firewalled systems or air-gapped setups).β¦
There is a Windows 11 machine or Windows Server in a completely disconnected network (no internet, no direct access to PowerShell Gallery, firewalled systems or air-gapped setups).β¦
π₯4π3β€2
π Viewing Active TCP Connections and Open Ports with PowerShell
As an alternative to the classic
πΉ View listening TCP ports:
πΉ Display TCP sessions with a specific local port:
πΉ Count the number of active TCP sessions.
πΉ Display the name of the process that is listening on a specific TCP port and the name of the user running the process:
πΉ The top 10 remote IP addresses, ordered by the number of active connections:
πΉ Continuous monitoring of connections to a specific port:
β The article covers these and other practical examples of using Get-NetTCPConnection to view active TCP sessions, enumerate open ports, and identify the processes responsible for network activity in Windows.
β‘οΈ Exploring the Powershell Alternative to NetStat: Get-NetTCPConnection & Get-NetUDPEndpoint
As an alternative to the classic
netstat CLI command, PowerShell provides the Get-NetTCPConnection cmdlet for viewing active TCP sessions and open ports and the Get-NetUDPEndpoint for UDP protocol endpoints.Unlike Netstat, which returns plain text that requires parsing with text filters, PowerShell returns structured objects. This makes it much easier to filter, sort, group, and automate the analysis of network connections with PowerShell pipelines πͺ.
πΉ View listening TCP ports:
Get-NetTCPConnection -State Listen
πΉ Display TCP sessions with a specific local port:
Get-NetTCPConnection -LocalPort 443 | Format-Table -AutoSize
πΉ Count the number of active TCP sessions.
(Get-NetTCPConnection -LocalPort 443 -State Established).Count
πΉ Display the name of the process that is listening on a specific TCP port and the name of the user running the process:
Get-Process -Id (Get-NetTCPConnection -LocalPort 8080).OwningProcess -IncludeUserName
πΉ The top 10 remote IP addresses, ordered by the number of active connections:
Get-NetTCPConnection -State Established |
Group-Object RemoteAddress |
Sort-Object Count -Descending |
Select-Object -First 10 Count, Name
πΉ Continuous monitoring of connections to a specific port:
while ($true) {
Clear-Host
Get-NetTCPConnection -LocalPort 443 -State Established
Start-Sleep -Seconds 5
}β The article covers these and other practical examples of using Get-NetTCPConnection to view active TCP sessions, enumerate open ports, and identify the processes responsible for network activity in Windows.
β‘οΈ Exploring the Powershell Alternative to NetStat: Get-NetTCPConnection & Get-NetUDPEndpoint
π5π₯4π3π1
βοΈ Windows Sandbox: Built-in Sandboxed Environment in Windows 11
Windows 11 includes Windows Sandbox, a native feature utilizing containerization technology to operate a lightweight virtual machine within an isolated environment. The sandbox environment leverages a Dynamic Base Image that references the host's existing system files, thereby achieving significantly reduced disk space and resource consumption compared to traditional virtual machines.
β Windows Sandbox is ideal for running untrusted or unknown software, testing application behavior, and validating deployment scripts in a clean environment. A Hyper-V NAT virtual switch is automatically generated on the host system, permitting the Sandbox to access the network and the Internet.
β οΈ Any modifications made within the sandbox are discarded upon closure. Each time Windows Sandbox is launched, it initializes from a clean, pristine state.
To enable Windows Sandbox, run rhe following PowerShell command:
π The sandbox window behaves much like an RDP session. Clipboard redirection is supported, local folders can be mapped into the sandbox, and GPU acceleration can be enabled.
β Only one Windows Sandbox instance can run at a time. However, by using WSB configuration files, you can create multiple sandbox profiles with different settings and environments. The article includes a sample WSB configuration file and startup scripts for automatically installing WinGet and any other required applications upon sandbox launch.
Windows Sandbox in Windows 11: How to Enable and Configure It
Windows 11 includes Windows Sandbox, a native feature utilizing containerization technology to operate a lightweight virtual machine within an isolated environment. The sandbox environment leverages a Dynamic Base Image that references the host's existing system files, thereby achieving significantly reduced disk space and resource consumption compared to traditional virtual machines.
β Windows Sandbox is ideal for running untrusted or unknown software, testing application behavior, and validating deployment scripts in a clean environment. A Hyper-V NAT virtual switch is automatically generated on the host system, permitting the Sandbox to access the network and the Internet.
β οΈ Any modifications made within the sandbox are discarded upon closure. Each time Windows Sandbox is launched, it initializes from a clean, pristine state.
To enable Windows Sandbox, run rhe following PowerShell command:
Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -Online
π The sandbox window behaves much like an RDP session. Clipboard redirection is supported, local folders can be mapped into the sandbox, and GPU acceleration can be enabled.
β Only one Windows Sandbox instance can run at a time. However, by using WSB configuration files, you can create multiple sandbox profiles with different settings and environments. The article includes a sample WSB configuration file and startup scripts for automatically installing WinGet and any other required applications upon sandbox launch.
Windows Sandbox in Windows 11: How to Enable and Configure It
π₯5π4β€2
Device Lockdown with Unified Write Filter (UWF) in Windows
π Unified Write Filter (UWF) is a built-in feature available in the Enterprise editions of Windows 10 and Windows 11 that can protect a protect a partition against write accesses and therefore unintentional system changes. When UWF is enabled, all changes to files and folders are redirected to a virtual overlay stored in RAM (or on disk). This works because the UWF driver intercepts all write operations to the file system and transparently redirects them to the overlay. Any changes made during a user session are discarded after a reboot when the overlay is cleared.
Add the UWF feature in Windows using PowerShell:
UWF is managed through the
Enable UWF protection and protect a volume from writes:
View the current UWF configuration and status:
You can add specific files, folders, or registry keys to the UWF exclusion list. Changes to these objects will persist across reboots:
If you need to permanently commit changes to a specific file without disabling UWF:
Disable UWF protection:
β UWF allows you to "freeze" the state of a Windows device while still permitting normal operation. Any files, settings, or changes made by users are automatically removed after a restart. Typical use cases include public kiosks, training labs, embedded systems, and shared computers that need protection from accidental misconfiguration or unwanted user changes.
Unified Write Filter (UWF): Disk Write Protection for Windows
π Unified Write Filter (UWF) is a built-in feature available in the Enterprise editions of Windows 10 and Windows 11 that can protect a protect a partition against write accesses and therefore unintentional system changes. When UWF is enabled, all changes to files and folders are redirected to a virtual overlay stored in RAM (or on disk). This works because the UWF driver intercepts all write operations to the file system and transparently redirects them to the overlay. Any changes made during a user session are discarded after a reboot when the overlay is cleared.
Add the UWF feature in Windows using PowerShell:
Enable-WindowsOptionalFeature -Online -FeatureName "Client-UnifiedWriteFilter" βAll
UWF is managed through the
uwfmgr.exe command-line tool.Enable UWF protection and protect a volume from writes:
uwfmgr.exe filter enable
uwfmgr.exe volume protect c:
View the current UWF configuration and status:
uwfmgr.exe get-config
You can add specific files, folders, or registry keys to the UWF exclusion list. Changes to these objects will persist across reboots:
Uwfmgr.exe file add-exclusion c:\labs\report.docx
If you need to permanently commit changes to a specific file without disabling UWF:
uwfmgr file commit C:\Labs\MyApp.log
Disable UWF protection:
uwfmgr.exe volume unprotect C:
uwfmgr.exe filter disable
The UWF is not suitable for continuous operation (24/7). The overlay will grow continually up to the maximum preset size even in excluded areas. If the overlay run full the system will automatically be restarted by Windows.
β UWF allows you to "freeze" the state of a Windows device while still permitting normal operation. Any files, settings, or changes made by users are automatically removed after a restart. Typical use cases include public kiosks, training labs, embedded systems, and shared computers that need protection from accidental misconfiguration or unwanted user changes.
Unified Write Filter (UWF): Disk Write Protection for Windows
β€2π2π₯2π1