"HeyBub" <
heybub@gmail.com> wrote in message
news:
OnSTgN67JHA.1196@TK2MSFTNGP03.phx.gbl...
> Pegasus [MVP] wrote:
>> "creative22" <
creative22@discussions.microsoft.com> wrote in message
>> news:
EEC7B03F-9E75-48B4-B288-F45491105464@microsoft.com...
>>> Hi friends!
>>>
>>> I have two operating systems(Windows XP SP3 and Window Vista) on my
>>> computer, I would change some parts of a file content named
>>> "advapi32.dll" which is located in "/Windows/System32/" directory of
>>> Windows XP SP3. So, I run Windows Vista and changed this dll's content
>>> through a
>>> software called "HxD"(Hex Editor).
>>> But unfortunately, I forgot to take a backup of it and changed it
>>> inappropriately!!
>>> Now, my Windows XP isn't loaded!
>>> I want to repair my Windows XP through "Recovery Console" and
>>> retrieve this
>>> dll file from Window XP's CD to fix this problem;
>>> But, I don't know which command of "Recovery Console" should use to
>>> solve this case!
>>>
>>> Could you help me about this?!
>>> I really don't have enough time to reinstalling XP!!!
>>>
>>> One another question!
>>> How can I change a file's content (for example, this "advapi32.dll")
>>> in Recovery Console? (i.e. with which command?)
>>> I want to see it's contents in Recovery Console and can change the
>>> values present in some Offsets!
>>> Please help me!!!
>>>
>>> Thanks in Advance.
>>>
>>
>> Use the same process: Boot into Vista, then retrieve the file from
>> c:\windows\system32\dllcache. You will probably also find it in the
>> folder c:\windows\ServicePackFiles\i386.
>>
>> When you *must* replace files then a far safer method would be to
>> rename the old file to advapi32.old. However, unless you really know
>> what you're doing, you should not replace system files. Doing so is
>> asking for trouble.
>
> Won't Windows detect that a crucial system file has been bothered and
> automatically replace it?
Windows will align files between the System32 and the dllcache folder.
Anyway, isn't this pretty much what you did the first time?