If you have questions I will check back, but seem that this might be the best alternative for what you wanted. I tested on my husband's XP and it worked. Hope this helps.. This uses the DACL (discretionary access control list) to make the appropriate groups have the appropriate rights. This gives her restricted access only and makes the computer more secure.
Under computer management create a group called ?shut down? or whatever, add the members that can shut it down the computer and to that group using the properties page (right click and choose properties). Make a user account for the user u need to restrict next go to the properties(right click and choose properties) for that user and remove the users group and the guest group only. Next, remember to disable the guest account by right clicking on the user account guest and selecting the disabled button, I also always rename it. This doesn?t remove the group---so you aren?t defeating your purpose, you will use that group in the next step?
Open the local security policy and locate ?user right assessment?and edit the ?shut down system? emove ?users? group using the property sheet (right click and choose properties) IMPORTANT you must now add the users you want to have this ability?so put the new group of users you made into a group in the step above, or just list the users names if you wish?that is the ones that CAN shut down the system.
What this will do is to make the ?shut down? button only allow the user to log off?it will still say shut down, however, it will only give the option for the user to log off.