Large Archive Extraction Freezing in Windows Server Shell

Neha Kapoor 20 Reputation points
2026-07-15T04:05:53.3033333+00:00

We’ve automated backup extraction scripts that rely on the native ZIP, 7z, and TAR integration built into the modern Windows Server shell. The issue is that whenever we attempt to open or expand an archive larger than 500 GB, the process freezes indefinitely , no progress, no error, just a hang.

A 300 GB TAR archive expands successfully, but a 520 GB ZIP file stalls the shell completely, forcing us to kill the process.

This makes it impossible to handle heavy backup archives in production ?

Windows for business | Windows 365 Business
0 comments No comments

Answer accepted by question author
VPHAN 43,820 Reputation points Independent Advisor
2026-07-15T04:43:44.9766667+00:00

Hi Neha Kapoor,

The process hang is caused by using the Windows Shell (explorer.exe and zipfldr.dll) for automated tasks. The shell is designed for interactive GUI usage, not high-volume background data processing; attempting to extract 500+ GB archives causes thread exhaustion and process instability.

To resolve this, you must migrate your automation to native, headless command-line utilities that interface directly with the file system:

For TAR archives: Utilize the native C:\Windows\System32\tar.exe binary.

For ZIP archives: Use the native PowerShell Expand-Archive cmdlet.

This shift eliminates GUI overhead, stabilizes resource allocation, and allows your automation scripts to accurately capture exit codes and error logs for better production monitoring.

Hope this answer has brought you some useful information. If it did, please hit “accept answer”. Should you have any questions, feel free to leave a comment.

VPHAN

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.