Hello all -
Long story short: My Dad's computer (an HP 2000 laptop running Windows 7 Home Premium) began acting up after a power outage a few weeks ago; it reverted to "User must login at Startup" mode and would not recognize his password, so he was effectively locked out of his own computer. (Trying to talk him through possible repairs by phone was a hell I cannot begin to describe. He still has trouble remembering what "desktop" or "icons" mean.)
I'm visiting my folks in person now, so with actual physical access to the computer I am able to try fixing the problem myself. As this was one of those "Windows is installed and licensed, but we won't include a system CD in the package" bargain deals, I was forced to use a hack I found online (on my phone, in case you're wondering) to reset his password and actually get to the desktop, which included accessing the command line from a Notepad link and using this trick:
"Lastly, select File - > Open - > Files of Type "All Files" - > Local Disk - > Windows - > System 32. We are almost done, once you have your system 32 folder open scroll down until you find the file "sethc" and rename it to anything, now scroll up until you find the application "cmd" and copy it, paste it and rename it to sethc. We are now done, what this has done is replaced the sticky keys function with a administrator privileged command prompt, in other words when you are at your log in screen press shift 5 times rapidly and a command prompt will open."
(The entire process may be seen here: http://www.lifepunch.net/forums/archive/index.php?thread-23249.html)
This worked perfectly - I'm on his laptop now and scanning it for malware to be safe - but now that I've renamed "cmd" to "sethc" (and sethc, whatever that is, to something else) the shortcut to cmd.exe in the Applications folder no longer works...and I cannot restore the original names of either of those files now that I'm in "Dad" user mode, which apparently is not the same as "Trusted Installer" mode.
(I did finally get the command window open when I remembered that cmd.exe is now called "sethc" so if it's something I need to fix from there, I can actually use the prompt.)
My question is this: Now that I've restored the password and disabled the "Login at Startup" setting, how do I restore the original names to these files so that I can access the command prompt from where I'm supposed to (and presumably un-bugger anything else that renaming them might have done)?
ADDENDUM: It occurs to me that I may have missed the "copy & paste" part of the process in my weary state last night and actually renamed the original cmd.exe rather than a duplicate of it! In any case, it seems to be a matter of permissions. Any ideas?
Thanks in advance for your assistance!
Edited by phasmos, 12 May 2014 - 10:09 AM.