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