1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

WIN98 Restart

Discussion in 'Legacy Windows' started by jammer, 2004/01/19.

Thread Status:
Not open for further replies.
  1. 2004/01/19
    jammer

    jammer Well-Known Member Thread Starter

    Joined:
    2002/02/06
    Messages:
    141
    Likes Received:
    0
    Really basic problem w/WIN98 'Restart' on my IBM2158 APTIVA....how do I get the PC to restart w/o completely shutting down? I hit 'START- SHUTDOWN-RESTART', but the PC shuts down completely!!
    Tx...
     
  2. 2004/01/19
    KevinSaul

    KevinSaul Inactive

    Joined:
    2002/01/07
    Messages:
    425
    Likes Received:
    0
    I don't know exactly how to fix this but I can offer a workaround.

    First let's make sure I understand the problem. As I understand it you click on Start > Shutdown select Restart and click OK and it shutsdown the computer instead of restarting it?

    If that's what's happening then you can work around it by creating a new desktop short cut and using the following for the command line:

    C:\WINDOWS\RUNDLL32 SHELL32.DLL,SHExitWindowsEx n

    Where n is one of the following values, depending on the task you want to accomplish:

    n=0 LOGOFF: Shuts down all running processes, logs the user off, then restarts the Windows shell. (Same as Logoff on the Start Menu.)

    n=1 SHUTDOWN: Shuts down the system to a point at which it is safe to turn off the power. All file buffers have been flushed to disk, and all running processes have stopped.

    n=2 REBOOT: Shuts down the system, then restarts it. (Same as Start Menu - Shutdown - Restart.)

    n=4 FORCE: Forces all processes to terminate - in effect, shuts down all running programs. When this flag is set, Windows does not query running applications to inform them that Windows is shutting down. This can cause the applications to lose data, therefore, you should only use this flag in an emergency.

    n=8 POWEROFF: Exits Windows, then turns off the computer's power (provided the computer supports the power-off feature).

    n=-1 RESTART EXPLORER: Quickly closes Explorer (i.e., the Windows desktop), then lets it restore itself.
     

  3. to hide this advert.

  4. 2004/01/19
    goddez1

    goddez1 Inactive

    Joined:
    2002/01/12
    Messages:
    2,975
    Likes Received:
    49
  5. 2004/01/20
    gammaepsilon

    gammaepsilon Inactive

    Joined:
    2003/04/27
    Messages:
    267
    Likes Received:
    0
    jammer

    Can you recall when the problem did not exist, if ever?

    Very often the answer to that is the answer to the problem.

    You may have a corrupted shell32.dll. Make a copy of the existing file and put it somewhere out of harms way. Replace the existing file with the System File Checker. If the problem is solved then delete the copy.
     
  6. 2004/01/20
    jammer

    jammer Well-Known Member Thread Starter

    Joined:
    2002/02/06
    Messages:
    141
    Likes Received:
    0
    Tx y'all for the inputs.....no joy....KS: couldn't create shortcut...seems as form of command not right? Ge: tried to replace via Sys File Ckr...no joy...godd: looked at a few...NJ....tx anyway...
     
  7. 2004/01/20
    gammaepsilon

    gammaepsilon Inactive

    Joined:
    2003/04/27
    Messages:
    267
    Likes Received:
    0
    Strewth!

    As regards my input you'll find shell32.dll on Win98SE CD in Win98_41.cab. Just click on the cab file and extract shell32.dll. For FE it's in Win98_38.cab.

    If no CD then go here for a copy.
     
  8. 2004/01/21
    jammer

    jammer Well-Known Member Thread Starter

    Joined:
    2002/02/06
    Messages:
    141
    Likes Received:
    0
    GammaE.....tx, I'm almost at 'JOY'....I found the WIN98_38.cab containing shell32.dll....which is different from the shell32.dll in my WINDOWS-SYSTEM folder!! However, the system won't allow me to replace the existing SYS file w/ the CAB file... any suggestions???
     
  9. 2004/01/21
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    Use SFC to replace the file. Start>run, type sfc. Type in the name of the file and point it to the cd. You'll be prompted to restart the computer. The other alternative would be to extract it from the cabfile, boot to a dos prompt and copy it to the windows\system folder from there.
     
  10. 2004/01/21
    gammaepsilon

    gammaepsilon Inactive

    Joined:
    2003/04/27
    Messages:
    267
    Likes Received:
    0
    Hmmm, I wonder how different. The link in my last post gives V 4.72.3612.1700 the same as in my Win98_41.cab file. The file in use is, however, V4.72.3812.600 and no doubt dropped in on a Windows update or IE update.

    Since you mention Win98_38.cab then you're running FE so if your in use file is the latest then replacing it with the FE CD ROM may cause a problem. If you have been updating your system over the years then I'd be inclined to get a copy from the link above which will either be the same as your CD or a later version but not as late as my in use version. :confused:

    I am probably being paranoid but as a hobbyist programmer that comes with the territory.

    Your shell32.dll was probably in use when your tried to replace it so the system rejected the action.

    Firstly, make a copy of your current file and put it outside of the System folder.

    Now, have a look in your Windows folder for Wininit.ini. If you find one with a [rename] section then add, via loading into Notepad, to that section the following line:

    c:\windows\system\shell32.dll=c:\temp\shell32.dll

    where c:\temp\shell32.dll is the location of your cab extracted file or the file from the link above.

    If Wininit.ini does not exist then create in Notepad the following:

    [rename]
    c:\windows\system\shell32.dll=c:\temp\shell32.dll

    and Save As Wininit.ini into your Windows folder.

    When you Restart you'll see the 'Windows is updating...' line. The temp copy will replace the system copy without any prompting.

    At a later date go here for more info on Wininit.
     
  11. 2004/01/21
    gammaepsilon

    gammaepsilon Inactive

    Joined:
    2003/04/27
    Messages:
    267
    Likes Received:
    0
    Beat me to it Zander!

    jammer, you are now spoilt for choice!

    I, sadly, enjoy going into DOS but if I can do something in Windows I will and I have a love, hate relationship with SFC so tend to favour Wininit.

    Take your pick. ;)
     
  12. 2004/01/21
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    I may have beat you to it, but you brought up a good point in your last post that I hadn't thought about. Most likely the version of the file is different because of windows update. Quite a while back there was a security update that involved shell32.dll. Perhaps you remember the minor problem it caused. Installing it caused you to lose the ability to remove the little arrow on shortcuts using TweakUI. My guess would be that that's why it's a different version.
     
  13. 2004/01/21
    gammaepsilon

    gammaepsilon Inactive

    Joined:
    2003/04/27
    Messages:
    267
    Likes Received:
    0
    Thanks for that Zander.

    In that case if the link gives a later version to that on the FE CD then I'd go for the link version. We can worry, if needs be, about the very latest at a later date.

    I hope this works for jammer otherwise I can imagine fur being spit my way. :D Just kidding.
     
  14. 2004/01/22
    jammer

    jammer Well-Known Member Thread Starter

    Joined:
    2002/02/06
    Messages:
    141
    Likes Received:
    0
    Tx folks for your insightful suggestions.....but before I continue with your last suggestions (Zander & GammE), let me relate the following: from 'FIND' WIN98_38.cab, I get to shell32.dll V 4.72.3110.6; from WIN-SYS file, I get shell32.dll V 4.72.3812.600; the WIN98SE ver =4.72.3612.1700;which ver do I want in .cab file? in WIN SYS file? ....PS: I didn't get a WIN98 CD w/PC...is this a problem? Tx again...
     
  15. 2004/01/22
    gammaepsilon

    gammaepsilon Inactive

    Joined:
    2003/04/27
    Messages:
    267
    Likes Received:
    0
    jammer

    Get a copy of MD5File.exe from here

    After unzipping put a copy into C:\.

    Run DOS-Prompt and execute the following line:

    C:\>md5file.exe c:\windows\system\shell32.dll

    If the output gives a 32 character string equal to:

    D994BDF2837A2EBA26066490E07E5E6C

    then your 'WIN-SYS' 4.72.3812.600 version is not corrupt.

    The odds of getting that string and having a corrupt file is 10^19.3 to 1 against. The System File Checker's similar method gives odds of 10^4.9 to 1 against.

    Question: Is your 'WIN-SYS' version corrupt?

    If not then forget about replacing it.

    If Yes then use 4.72.3612.1700 as your next best version available to you.
     
    Last edited: 2004/01/22
  16. 2004/01/22
    markp62

    markp62 Geek Member Alumni

    Joined:
    2002/05/01
    Messages:
    4,012
    Likes Received:
    16
  17. 2004/01/24
    jammer

    jammer Well-Known Member Thread Starter

    Joined:
    2002/02/06
    Messages:
    141
    Likes Received:
    0
    Tx again...still have basic question: why are shell32.dll versions different in win98_38.cab file & win systems file?
    ...GammaE: I probably didn't use prompt correctly... get "bad command' alert when trying to open 'C:\...etc.'...also installed q313829 per mark62....no joy....I guess I'll just leave well-enuff alone for now...tx for all your help..
     
  18. 2004/01/24
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    It's most likely a different version because of the security update I mentioned before. The update involved shell32.dll and the update contained a newer version of the file.
     
  19. 2004/01/24
    gammaepsilon

    gammaepsilon Inactive

    Joined:
    2003/04/27
    Messages:
    267
    Likes Received:
    0
    jammer

    “I probably didn't use prompt correctly... get "bad command' alert when trying to open 'C:\...etc.' "

    Well, there is a simple solution to that - use prompt correctly!

    If you are at C:\> and then type md5file.exe c:\windows\system\shell32.dll followed by Enter then it will work. I've just used md5file.exe on several files.

    You had a problem with KevinSaul's post saying "couldn't create shortcut...seems as form of command not right? "

    There was nothing wrong with that post unless you didn't follow it to the letter by typing 'n' instead of replacing it with one of the subroutine numbers - 2 for a Restart.

    I've had 'bad command' many times and 99% of the time I've made a typing error.

    dll version changes are common. I've just moved some of my own programs up a version as someone input something which hadn't occurred to me and the program fell over - it won't now, it will advise on the correct input. A dll vunerable to attack may get updated after an attack has been reported. The dlls functionality will otherwise be the same.
     
  20. 2004/01/24
    gammaepsilon

    gammaepsilon Inactive

    Joined:
    2003/04/27
    Messages:
    267
    Likes Received:
    0
    Zander

    You pipped me to the post. You did that the other day didn't you? Either I type slow or I ramble too much :D
     
  21. 2004/01/25
    jammer

    jammer Well-Known Member Thread Starter

    Joined:
    2002/02/06
    Messages:
    141
    Likes Received:
    0
    It appears the anomaly may be resolved....as a result of all your suggestions & additional sites to get info, I wound up running 'msconfig'...deleted all start files, except 'procsys.ini'...& reactivated them one-x-one....the PC restarted correctly from the first try, & continued for the remainder of the reactivations...as I was reactivating the 'startup' files, I came across two listings of the same file--LOAD PWR PROFILE--- altho I don't know if this was indeed the problem, I deleted the second duplicate...the PC is still shutting down correctly!?!
    Tx again for all your help...
     
    Last edited: 2004/01/25
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.