Prevent Shutdown but Allow Restart in XP

Hello experts. Is there anyway I can set XP to users have the ability to log off AND restart but NOT to Shut Down?
I found that you can remove the "Standby" button in the shutdown menu but have not found a way to remove shutdown while keeping restart. Here is how you remove "Standby":

Remove "Standby"
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\ACPI\Parameters.
Right-click in the right-hand pane and choose New | DWORD Value.
Name the value Attributes.
Double-click it to set its data.
Making sure Hexadecimal is selected, enter 70.

I thought maybe there was a similar reg hack to remove shutdown. The picture below shows what I am trying to do...I would to make the shutdown menu so only "restart" shows
JohnnyD74Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ChelconeCommented:
Go to Start --> Run and type secpol.msc

Navigate to user rights assignment in the left pane and then user rights assignments.

you will find an option in there saying shut down the system. you can remove that and it will stop users that you select from being able to shut down.

That should do the trick.
0
JohnnyD74Author Commented:
Hi Chelcone,
Will users still be able to restart using your method? I belive I tried that and could not restart using that method. I want to be able to have the restart option as show below to users can still restart
Capture.GIF
0
Sector5Commented:
Hi Chelcone,

You can try the following: http://support.microsoft.com/kb/292504 as it removes the "Turn Off" button from your menu. Just be careful as it is a registry entry change.
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

ChelconeCommented:
Looking at the group policy editor it would seem that the group policys for start menu changes disable both the Shut Down button and the restart button. However in the event that you install a program or update that needs an update it will still allow it.

What it the reason you want the users to be able to restart the machine?
0
ChelconeCommented:
to correct myself: However in the event that you install a program or update that needs a restart it will still allow it.
0
JohnnyD74Author Commented:
He Chelcone,
I am setting up a network for a client consisting of virtual machine Zero client desktops (Pano Logic) and want users to be able to reboot if their virtual machine gets squirly but not shutdown because they won't be able to turn the machine back on.
0
JohnnyD74Author Commented:
Sector5,

Your suggestion removes the turn off button from the start menu...but not the shut down menu as shown in the picture...but thanks.
0
Sector5Commented:
Hi, Another suggestion? If you follow these steps, remove the Shutdown, restart buttons from the start menu (http://www.online-tech-tips.com/windows-xp/xp-prevent-shutdown/) , Create a batch file called "restart" which you place on the desktop, so if users need to restart their VM's etc. they can use the batch file instead. (shutdown -r -t 15 for example.)
0
JohnnyD74Author Commented:
Sector5, Yes...that was my initial idea but my users don't have local admin rights...which you need to run the script to reboot.
0
1UpTechCommented:
How about group policy? See attached file for a sample of one that I created. This is just a report so you can easily see it. Look at the Start menu section. Also keep in mind that anything you can do with group policy you can do directly by editing the registry.
Restricted.htm
0
JohnnyD74Author Commented:
Thanks but there is not a group policy way of disabling shutdown while enabling restart that I know of.
0
andrewrnzCommented:
Why do users need local admin to run a batch script? I thought that sector5's answer would do the trick. If not, why not copy shutdown.exe to somewhere that your users have full rights to and call the exe from there in your script?
0
1UpTechCommented:
Doing research on this I found someone else who was attempting to do the same exact thing. He opened a support ticket with Microsoft and they told him it wasn't possible. Don't believe it. Just thought it was interesting.

I have uploaded a .zip to my server for download. It contains a program called resource hack. It's a free program that allows you to open .exe's and .dll's among other things and modify their values. Do this to shutdown.exe or shell32.dll and you may find what you are looking for.

http://1uptek.com/programs/ResHack.zip
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JohnnyD74Author Commented:
Thanks guys...the batch file idea will not work for me because you need local admin rights to run shutdown.exe and my users to not have local admin rights. I will give the reshack program a try...thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.