thanks for the reply, I know how to manually do these tasks, but I set up a lot of new computers and I normally disable hibernation on them.
What I'm trying to do is create Registry scripts for configuring settings on new computers when I set them up or for optimizing computers currently in use.