NtCompactkeys, NtreplaceKey

Can anyone please give me sample code to use NtCompactkeys and/or
NtreplaceKey

Why do you think that you need to use these? What’s your actual end goal here?

  • S

From: Chandan Garg
Sent: Wednesday, April 15, 2009 04:18
To: Windows System Software Devs Interest List
Subject: [ntdev] NtCompactkeys, NtreplaceKey

Can anyone please give me sample code to use NtCompactkeys and/or NtreplaceKey

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Chandan Garg wrote:

Can anyone please give me sample code to use NtCompactkeys and/or
NtreplaceKey

Why? What problem do you think these undocumented APIs are going to solve?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

On Wed, Apr 15, 2009 at 4:47 PM, Chandan Garg wrote:

> Can anyone please give me sample code to use NtCompactkeys and/or
> NtreplaceKey
>
I want to use them to defrag registry (Will reduce the size of hives also ).