How about restoring the file that that key is in and loading it in regedit and 
reading the value from there.



Sent from my Verizon Wireless 4G LTE DROID


Michael Leone <[email protected]> wrote:

I had the strangest restore request I've ever gotten. Somehow, one of
my developers screwed up the "path" on one of our servers, and now
(they say) the "path" is empty. And that is causing problems (we use
PeopleSoft, which apparently needs to find things through the path, as
many applications do (or did)).

No, I have no idea how they did that. Or why (well, I do know why -
they thought they were fixing some problem or other. But they just
made things exponentially worse)

But now, if I go to that Win2008 R2 VM, and bring up a command prompt,
the "path" just shows as "C;\Program Files\Java\jre7\bin". And nothing
else.

I recommended going through the list of installed program locations,
and adding those to the path. This was rejected. They think they might
miss something that way ...

Where exactly is the path stored? Used to be, it was in the
autoexec.bat. And so I could restore an earlier version of that file,
and fix it from that. But that doesn't exist anymore, right? Isn't the
path constructed from the registry on boot these days? From here:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment


What I don't want to do:
Perform a full BMR restore to a new VM (I don't want to take a chance
with screwing up the current VM, even as crippled as it is); boot the
new VM (presuming that it boots); read the path from there.

(we use EMC Networker for backup, BTW)

I don't think it's possible to restore just a specific hive from a
registry, and then read it, correct? I'd need to restore the whole VM.

How would I even set the path, once I did know it? I know how to set
it via a GUI, after logging in as a specific user. But will that set
it for every user who logs in to the server? It should, right?



Reply via email to