I recently had to replace the keyboard on my HP Envy17 3D, and couldn't find instructions on the Internet for how to do it. I found some instructions in a video for a computer that was similar, though, and was able to figure it out. I'm posting pictures here so that if you have to do the same thing, you won't have to experiment as much as I did.
DISCLAIMER:
***WARNING: I am NOT a computer technician, and I am providing the information below simply to help you out. I claim no responsibility if you break your computer.***
SUPPLEMENTAL MATERIALS:
After writing most of this post, I dug through my email and found a link to instructions online. They're pretty good; look at them first, and check out my images below if you need additional help. The keyboard instructions start on page 50:
http://h10032.www1.hp.com/ctg/
There were also a couple of YouTube videos that I watched before attacking this. They're a bit long and contain a lot of information you don't need to know, but gave me some important details. They're also for an Envy of a different size with a design that's different, but, for what they're worth, here they are. The second one is probably more useful:
http://www.youtube.com/watch?v=aDxQ87QGxow
http://www.youtube.com/watch?v=l56Jr0nF3go
THE INSTRUCTIONS
Just to make sure, here's the computer I'm talking about:
Here are the steps to replacing the keyboard:
1) Turn the computer off.
2) Turn the computer upside down.
3) Remove the battery. Hopefully this is something that you do regularly to extend its life, but just in case, I've included a red arrow pointing at the battery release in the picture below.
4) Remove the compartment in the middle of the computer. Even though the image below shows more than that removed because I didn't know what had to be removed, only that compartment and the battery should need to be removed.
5) Remove the 4 screws circled in yellow in the image above. Only these screws need to be removed. They correspond to the 4 holes on the back of the keyboard, also circled in yellow, on the keyboard image below.
6) Remove the keyboard from the top of the computer. This is accomplished simply by carefully slipping a slim object, such as a very small screwdriver, between the edge of the keyboard and the rest of the top case of the computer. The keyboard snaps into and out of place, so once you've gotten a hold underneath the keyboard a little bit, carefully lift along the keyboard at various points to get it to snap out.
There are a couple of ribbons used to connect the keyboard to the computer, so be careful with the little clips that hold those in place.
7) Place the new keyboard and reattach everything. Attach the ribbons where they belong. Screw the screws into the new keyboard. Replace the middle compartment.
You're good to go. Good luck :)