Are there any tools that will allow me to compact an offline registry? i.e. the NTUSER.DAT file located in the user's roaming profile directory. I remember there being useful tools to do that but Google searching only gives me results for commercial products which only work for local installations.
I've already deleted a huge section of his hive (faulty software making unnecessary additions to its own key), but the file size hasn't reduced automatically, so I need to compact this, and do it for quite a lot of users, so something that works from the command line would be great.
I'd also be happy if it was vbscript.
Needs to work for Windows 2008 R2 SP1 (64 bit), and Windows 7 SP1 (64 bit)