Compressing Windows 2003 Profiles

Compressing Windows 2003 Profiles

After cleaning yet another Windows 2003 Terminal server for Excessive Registry Entries in the users HKCU caused by the HP universal Printer Driver, we noticed that the ntuser.dat file in there roaming profile still was very large up to 20 MB.

The reason for this is that even though we deleted all the registry entries which we didn’t need, this just gave a lot of blank spaces in the ntuser.dat file, so we needed a way to compress the file.

One tool I personally didn’t knew about is the Windows 2003 tool called cProfile, with cProfile we were able to compress all users ntuser.dat files in there roaming profiles so that many of them jumped from 20 MB to less than 1 MB.

cProfile information can be found here cProfile

Table of Contents

Share this post
Search blog posts
Modern Workplace consultant and a Microsoft MVP in Enterprise Mobility.
Modern Workplace consultant and a Microsoft MVP in Windows and Devices for IT.

Infrastructure architect with focus on Modern Workplace and Microsoft 365 security.

Cloud & security specialist with focus on Microsoft backend products and cloud technologies.

Cloud & Security Specialist, with a passion for all things Cybersecurity

Cloud and infrastructure security specialist with background in networking.

Infrastructure architect with focus on design, implementation, migration and consolidation.

Infrastructure consultant with focus on cloud solutions in Office365 and Azure.

follow us in feedly

Follow on SoMe