Reputation: 41
What options for registry virtualization exist that will work with all Windows versions starting from XP? Basically what I need is a way to hijack some registry reads for a particular application and returned "virtualized" values.
Something that might add to the complexity of the solution need is the fact that this application can spawn additional processes, which also need to be virtualized.
Upvotes: 2
Views: 567
Reputation: 1141
There is only one solution - to use boxedapp. it's sdk for creating virtual registry. It must help you. Goodluck.
Upvotes: 0
Reputation: 5035
I am afraid that there is no readily available Registry virtualization APIs or framework in Windows XP. You need to build one by making use of user mode or kernel mode Registry API hooks. Some approaches are:
- User mode hooking of RegXxxx APIs by using SDKs like Microsoft Detours or MadCodeHook.
- Kernel mode hooking (SSDT or inline) of ZwXxx or NtXxx APIs. Sysinternals Regmon and now Sysinternals Process Monitor does this to monitor system-wide Registry calls.
Upvotes: 2