Windows Server 2025 SMB Compression #ws2025 #winserv #SMB – Robert Smit MVP Blog


Table of Contents

Unlocking the Power of SMB Compression in Windows Server 2025

In the ever-evolving landscape of IT infrastructure, efficient data transfer is paramount. Windows Server 2025 introduces a game-changing feature: SMB Compression. This innovation is designed to streamline data transfers, reduce network congestion, and enhance overall system performance.

What is SMB Compression?

SMB (Server Message Block) Compression allows files to be compressed as they are transferred over the network. This eliminates the need to manually compress files before transfer and decompress them afterward. The result? Faster and more efficient data transfers, especially beneficial for networks with limited bandwidth.

Key Features of SMB Compression

  1. Multiple Compression Algorithms: Windows Server 2025 supports several compression algorithms, including XPRESS (LZ77), XPRESS Huffman (LZ77+Huffman), LZNT1, and the newly supported LZ4. This flexibility ensures optimal performance across different scenarios.
  2. Enhanced Network Efficiency: By compressing files during transfer, SMB Compression reduces the amount of data sent over the network. This is particularly useful for congested or slower networks, such as 1 Gbps Ethernet or Wi-Fi.
  3. Compatibility and Security: SMB Compression supports SMB signing and encryption, ensuring that compressed data remains secure during transfer. It also works seamlessly with SMB over QUIC and SMB Multichannel.

So how to configure this, I have 2 vm’s both server 2025 and I’m not using WAC for this time.

Create a folder on the file server and create the share with powershell as there is no option to set this in the GUI as the trick is in the CompressData $true

New-SmbShare -Name “MVPData” -Path “C:\mvpdata” -CompressData $true

Now On the Domain joined Client we need to create a net use to make sure the compression is used.

SMB Compression is particularly effective in environments with large volumes of data and limited network bandwidth. For instance, organizations with extensive file shares or remote offices can benefit significantly from reduced transfer times and lower network congestion.

now On the client use powershell or net use to add the share

New-SmbMapping -LocalPath “q:” -RemotePath “\WIN-BQB4LBSM99E.mvp.local\mvpdata” -CompressNetworkTraffic $true

NET USE * \WIN-BQB4LBSM99E.mvp.local\mvpdata /REQUESTCOMPRESSION:YES

In this case I copy the Windows 2025 installation folder over 3 times 16,7GB as copy this only one time will not give me enough time to create a snaphot.

So first a normal copy to the C$

now 4 times more data.

As you can see less bandwidth bit more CPU but massive speed. just on copy files As it was not one big file.

If you are using Windows server 2025 as a file server and your clients are up to date you could bennefit from this.

While SMB Compression in Windows Server 2025 offers many benefits, there are some potential downsides to consider:

  1. Increased CPU Usage: Compressing and decompressing data requires additional processing power. This can lead to higher CPU usage on both the server and client machines, potentially affecting performance, especially if the hardware is not robust.
  2. Latency: The process of compressing and decompressing data can introduce latency. This added delay might impact applications or scripts that rely on quick data access.
  3. Compatibility Issues: Not all third-party tools and applications support SMB Compression. This can limit its use in environments that rely on specific software for data transfer.
  4. Network Conditions: While SMB Compression is beneficial for slower or congested networks, it might not provide significant advantages on high-speed networks. In some cases, the overhead of compression and decompression might outweigh the benefits.
  5. Complexity in Configuration: Setting up and managing SMB Compression might require additional configuration and monitoring, which can add complexity to the IT infrastructure.

Despite these potential downsides, SMB Compression can still be a valuable feature, especially in environments where network bandwidth is a limiting factor. It’s important to evaluate your specific use case and test the feature to determine its impact on your system.

See what is new in Server 2025

Hope it was helpful thanks for visiting my blog.

Follow Me on Twitter X @ClusterMVP

Follow My blog https://robertsmit.wordpress.com

Linkedin Profile Http://nl.linkedin.com/in/robertsmit

Author: Robert Smit [MVP]

Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009.
Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries.
Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals
who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications:
MCT – Microsoft Certified Trainer, MCTS – Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization.
Follow Robert on Twitter @ClusterMVP
Or follow his blog https://robertsmit.wordpress.com
Linkedin Profile Http://nl.linkedin.com/in/robertsmit

Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues.

A customer says ” Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. ”

Details of the Recommendation: “I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project
View all posts by Robert Smit [MVP]




Share this content:

I am a passionate blogger with extensive experience in web design. As a seasoned YouTube SEO expert, I have helped numerous creators optimize their content for maximum visibility.

Leave a Comment