-11
2
Help! I'm going to get fired if I can't figure out how to do this by tomorrow.
Microsoft Windows stores its registry databases (known as "registry hives" there's actually a backstory to the origin of this name, but I digress) in a proprietary binary format.
Answer this correctly or you lose your job:
Let H-sub-A be the registry hive of Computer A, and let H-sub-B be the registry hive of Computer B.
Create a registry hive H-sub-A-prime (in the native binary format) that contains all of the registry keys and values in both H-sub-A and H-sub-B. If there is overlap, let the value from H-sub-B overwrite the value in H-sub-A.
Sure, you can import a text-based patch file (e.g., "FOO.REG") to modify the registry, but can you merge two registry hives in their native binary format?
Answers that involve exporting the registry to a text file (e.g., "FOO.REG") will receive no credit. You may only use software included with Microsoft Windows (any version) and / or third-party tools that are free of charge.
Dear downvoter who left neither a comment nor an answer: if you're going to burn your own karma, you might as well leave an explanation. – Registrar – 2012-10-11T00:24:37.757
2-1 Question shows no research effort, and also seems fairly contrived (thus not likely to be useful to the SuperUser audience). And FYI @Registrar, downvoting questions does not expend reputation, unlike downvoting answers. – Indrek – 2012-10-11T00:44:29.540
1I sort of wonder who the op annoyed to get such an ultimatum – Journeyman Geek – 2012-10-11T04:17:15.360
1
To the OP: This looks like an attempt to create an excuse to eliminate employees from your company by making it appear that it is your fault if you get "fired", rather than accepting the negative publicity that could result from layoffs. While I am not a lawyer, you may want to file a "wrongful termination" lawsuit against your employer if you do end up getting fired. Good luck.
– bwDraco – 2012-10-11T04:26:23.2902"... no credit ..."? A contrived homework/exam question, for sure. – kreemoweet – 2012-10-11T05:38:19.317