A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows 98 » General
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

A way to remove "Shut down" and leave "Restart"?



 
 
Thread Tools Display Modes
  #1  
Old June 24th 04, 11:21 PM
TonyR do not reply to - unread mailbox
external usenet poster
 
Posts: n/a
Default A way to remove "Shut down" and leave "Restart"?

I know about the "NoClose" Win98 registry key to remove the "Shut
Down..." selection from the Start menu.

I would like to know if there is a way to leave "Shut Down..."
available from the Start menu, but remove "Shut down" or disable it in
the "Shut Down Windows" dialog box so my users can "Restart" their
computer but not turn it off.

I haven't had much luck searching the web for this. Any help or ideas
would be greatly appreciated!!!
  #2  
Old June 25th 04, 12:38 AM
AlmostBob
external usenet poster
 
Posts: n/a
Default A way to remove "Shut down" and leave "Restart"?

Restart shortcut: C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 2
create new desktop shortcut with this as the target, and remove shutdown from
start menu or place the shortcut in the start menu as "shutdown"

--
Adaware http://www.lavasoft.de
spybot http://security.kolla.de
AVG free antivirus http://www.grisoft.com
Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools http://www.pandasoftware.com/download/utilities/
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before use
Grateful thanks to the authors/webmasters

"TonyR do not reply to - unread mailbox" wrote in
message om...
| I know about the "NoClose" Win98 registry key to remove the "Shut
| Down..." selection from the Start menu.
|
| I would like to know if there is a way to leave "Shut Down..."
| available from the Start menu, but remove "Shut down" or disable it in
| the "Shut Down Windows" dialog box so my users can "Restart" their
| computer but not turn it off.
|
| I haven't had much luck searching the web for this. Any help or ideas
| would be greatly appreciated!!!


  #3  
Old June 25th 04, 09:09 PM
TonyR do not reply to - unread mailbox
external usenet poster
 
Posts: n/a
Default A way to remove "Shut down" and leave "Restart"?

Thank you very much AB!!!

I tested and this has the effect that I want. Two things that I would
like (but will live without if they can't be done):

#1 - Is there a way to make this bring up a confirmation box?

#2 - Is there a way to place the shortcut at the bottom of the Start
menu like the "real" Shut Down... button?

Thanks again and TIA!



"AlmostBob" wrote in message ...
Restart shortcut: C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 2
create new desktop shortcut with this as the target, and remove shutdown from
start menu or place the shortcut in the start menu as "shutdown"


"TonyR" wrote in
message om...
| I know about the "NoClose" Win98 registry key to remove the "Shut
| Down..." selection from the Start menu.
|
| I would like to know if there is a way to leave "Shut Down..."
| available from the Start menu, but remove "Shut down" or disable it in
| the "Shut Down Windows" dialog box so my users can "Restart" their
| computer but not turn it off.
|
| I haven't had much luck searching the web for this. Any help or ideas
| would be greatly appreciated!!!

  #4  
Old June 28th 04, 10:05 PM
TonyR do not reply to - unread mailbox
external usenet poster
 
Posts: n/a
Default Start Menu control

A follow-up to a question posted earlier...

Is there a way to place a shortcut in the Start menu and make it
appear at the bottom (i.e. to replace "Shut Down...")?

TIA!!!



If anyone is interested, instead of using only the rundll32 command by
itself, I found a way to confirm a restart with a vbs/wsh script:
http://www.borncity.com/WSHBazaar/WSHExitWin3.htm

I only used the following lines:
************************************************** ********************
* Option Explicit
*
* Dim Shell, Title, obj
*
* Title = "Shut Down Windows"
*
* Set Shell = WScript.CreateObject ("Shell.Application")
* Set obj = WScript.CreateObject("WScript.Shell")
*
* If (MsgBox("Shutdown Windows?", _
* vbYesNo + vbQuestion, Title) = vbYes) Then
* obj.Run "RunDll32.exe Shell32.dll,SHExitWindowsEx 0x02"
* End if
************************************************** ********************



(TonyR) wrote in message om...
Thank you very much AB!!!

I tested and this has the effect that I want. Two things that I would
like (but will live without if they can't be done):

#1 - Is there a way to make this bring up a confirmation box?

#2 - Is there a way to place the shortcut at the bottom of the Start
menu like the "real" Shut Down... button?

Thanks again and TIA!



"AlmostBob" wrote in message ...
Restart shortcut: C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 2
create new desktop shortcut with this as the target, and remove shutdown from
start menu or place the shortcut in the start menu as "shutdown"


"TonyR" wrote in
message om...
| I know about the "NoClose" Win98 registry key to remove the "Shut
| Down..." selection from the Start menu.
|
| I would like to know if there is a way to leave "Shut Down..."
| available from the Start menu, but remove "Shut down" or disable it in
| the "Shut Down Windows" dialog box so my users can "Restart" their
| computer but not turn it off.
|
| I haven't had much luck searching the web for this. Any help or ideas
| would be greatly appreciated!!!

  #5  
Old June 29th 04, 02:30 AM
AlmostBob
external usenet poster
 
Posts: n/a
Default Start Menu control

Thank you Tony

"TonyR do not reply to - unread mailbox" wrote in
message om...
| A follow-up to a question posted earlier...
|
| Is there a way to place a shortcut in the Start menu and make it
| appear at the bottom (i.e. to replace "Shut Down...")?
|
| TIA!!!
|
|
|
| If anyone is interested, instead of using only the rundll32 command by
| itself, I found a way to confirm a restart with a vbs/wsh script:
| http://www.borncity.com/WSHBazaar/WSHExitWin3.htm
|
| I only used the following lines:
| ************************************************** ********************
| * Option Explicit
| *
| * Dim Shell, Title, obj
| *
| * Title = "Shut Down Windows"
| *
| * Set Shell = WScript.CreateObject ("Shell.Application")
| * Set obj = WScript.CreateObject("WScript.Shell")
| *
| * If (MsgBox("Shutdown Windows?", _
| * vbYesNo + vbQuestion, Title) = vbYes) Then
| * obj.Run "RunDll32.exe Shell32.dll,SHExitWindowsEx 0x02"
| * End if
| ************************************************** ********************
|
|
|
| (TonyR) wrote in message
om...
| Thank you very much AB!!!
|
| I tested and this has the effect that I want. Two things that I would
| like (but will live without if they can't be done):
|
| #1 - Is there a way to make this bring up a confirmation box?
|
| #2 - Is there a way to place the shortcut at the bottom of the Start
| menu like the "real" Shut Down... button?
|
| Thanks again and TIA!
|
|
|
| "AlmostBob" wrote in message
...
| Restart shortcut: C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 2
| create new desktop shortcut with this as the target, and remove shutdown
from
| start menu or place the shortcut in the start menu as "shutdown"
|
|
| "TonyR" wrote in
| message om...
| | I know about the "NoClose" Win98 registry key to remove the "Shut
| | Down..." selection from the Start menu.
| |
| | I would like to know if there is a way to leave "Shut Down..."
| | available from the Start menu, but remove "Shut down" or disable it in
| | the "Shut Down Windows" dialog box so my users can "Restart" their
| | computer but not turn it off.
| |
| | I haven't had much luck searching the web for this. Any help or ideas
| | would be greatly appreciated!!!


  #6  
Old June 29th 04, 02:33 AM
Ron Badour
external usenet poster
 
Posts: n/a
Default Start Menu control

Not unless there is some third party software that will do it. All added
shortcuts on the first menu pane are added above programs.

--
Regards

Ron Badour, MS MVP for W98
Tips: http://home.satx.rr.com/badour
Knowledge Base Info:
http://support.microsoft.com/default.aspx?pr=kbinfo

"TonyR do not reply to - unread mailbox" wrote in
message om...
A follow-up to a question posted earlier...

Is there a way to place a shortcut in the Start menu and make it
appear at the bottom (i.e. to replace "Shut Down...")?

TIA!!!



If anyone is interested, instead of using only the rundll32 command by
itself, I found a way to confirm a restart with a vbs/wsh script:
http://www.borncity.com/WSHBazaar/WSHExitWin3.htm

I only used the following lines:
************************************************** ********************
* Option Explicit
*
* Dim Shell, Title, obj
*
* Title = "Shut Down Windows"
*
* Set Shell = WScript.CreateObject ("Shell.Application")
* Set obj = WScript.CreateObject("WScript.Shell")
*
* If (MsgBox("Shutdown Windows?", _
* vbYesNo + vbQuestion, Title) = vbYes) Then
* obj.Run "RunDll32.exe Shell32.dll,SHExitWindowsEx 0x02"
* End if
************************************************** ********************



(TonyR) wrote in message

om...
Thank you very much AB!!!

I tested and this has the effect that I want. Two things that I would
like (but will live without if they can't be done):

#1 - Is there a way to make this bring up a confirmation box?

#2 - Is there a way to place the shortcut at the bottom of the Start
menu like the "real" Shut Down... button?

Thanks again and TIA!



"AlmostBob" wrote in message

...
Restart shortcut: C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 2
create new desktop shortcut with this as the target, and remove

shutdown from
start menu or place the shortcut in the start menu as "shutdown"


"TonyR" wrote in
message om...
| I know about the "NoClose" Win98 registry key to remove the "Shut
| Down..." selection from the Start menu.
|
| I would like to know if there is a way to leave "Shut Down..."
| available from the Start menu, but remove "Shut down" or disable it

in
| the "Shut Down Windows" dialog box so my users can "Restart" their
| computer but not turn it off.
|
| I haven't had much luck searching the web for this. Any help or

ideas
| would be greatly appreciated!!!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.