|
||||||||
|
|
#1
|
|
Hello,
I have an old WIN 98 PC that am using to as a "server" for our office "In and Out" board. I don't know if the processor is dying or the hard drive is sticking but have found that if I restart it once a day it seems to work fine. I have found DOS command (runonce.exe -q) that will restart the PC but the "There are 20 users connected. Shutting down will disconnect them....." confirmation messages always pops up and you have to hit the YES to continue. QUESTION: Is there a way to disconnect all users with a DOS command first - with no confirmation prompt - and then use the other command to restart the PC? Any help appreciated. Frank Klassen FKlassen |
|
#2
|
|||
|
|||
|
Have you tried:
rundll32.exe shell32.dll,SHExitWindowsEx 4 The 4 at the end makes it "forced". For reference: "How to Exit Windows 98/Me Automatically Using a Batch File" rundll32.exe shell32.dll,SHExitWindowsEx n -- Gary S. Terhune MS-MVP Shell/User www.grystmill.com "FKlassen" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Hello, > > I have an old WIN 98 PC that am using to as a "server" for our office "In > and Out" board. > > I don't know if the processor is dying or the hard drive is sticking but > have found that if I restart it once a day it seems to work fine. > > I have found DOS command (runonce.exe -q) that will restart the PC but > the "There are 20 users connected. Shutting down will disconnect > them....." confirmation messages always pops up and you have to hit the > YES to continue. > > QUESTION: Is there a way to disconnect all users with a DOS command > first - with no confirmation prompt - and then use the other command to > restart the PC? > > Any help appreciated. > > Frank Klassen |
|
#3
|
|||
|
|||
|
Hi,
You know what - I had tried that and it didn't work - before posting to this news group I had googled for an answer and the example that I found had a space between the comma after Shell32.dll and the SHExitWindowEx n. When I saw your example I tried it without the space and sure enough...works like a charm. Does exactly what I want. Now if I can just get rid of he log on dialog it will be 100% automated. Thanks alot. Frank Klassen Calgary, Alberta "Gary S. Terhune" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Have you tried: > rundll32.exe shell32.dll,SHExitWindowsEx 4 > > The 4 at the end makes it "forced". > > For reference: > "How to Exit Windows 98/Me Automatically Using a Batch File" > rundll32.exe shell32.dll,SHExitWindowsEx n > > -- > Gary S. Terhune > MS-MVP Shell/User > www.grystmill.com > > "FKlassen" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... >> Hello, >> >> I have an old WIN 98 PC that am using to as a "server" for our office "In >> and Out" board. >> >> I don't know if the processor is dying or the hard drive is sticking but >> have found that if I restart it once a day it seems to work fine. >> >> I have found DOS command (runonce.exe -q) that will restart the PC but >> the "There are 20 users connected. Shutting down will disconnect >> them....." confirmation messages always pops up and you have to hit the >> YES to continue. >> >> QUESTION: Is there a way to disconnect all users with a DOS command >> first - with no confirmation prompt - and then use the other command to >> restart the PC? >> >> Any help appreciated. >> >> Frank Klassen > > |
|
#4
|
|||
|
|||
|
What logon dialogue? Where you have a username and password? Is there more
than one user? -- Gary S. Terhune MS-MVP Shell/User www.grystmill.com "FKlassen" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Hi, > > You know what - I had tried that and it didn't work - before posting to > this news group I had googled for an answer and the example that I found > had a space between the comma after Shell32.dll and the SHExitWindowEx n. > > When I saw your example I tried it without the space and sure > enough...works like a charm. Does exactly what I want. > > Now if I can just get rid of he log on dialog it will be 100% automated. > > Thanks alot. > > Frank Klassen > Calgary, Alberta > > > > "Gary S. Terhune" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... >> Have you tried: >> rundll32.exe shell32.dll,SHExitWindowsEx 4 >> >> The 4 at the end makes it "forced". >> >> For reference: >> "How to Exit Windows 98/Me Automatically Using a Batch File" >> rundll32.exe shell32.dll,SHExitWindowsEx n >> >> -- >> Gary S. Terhune >> MS-MVP Shell/User >> www.grystmill.com >> >> "FKlassen" <(E-Mail Removed)> wrote in message >> news:(E-Mail Removed)... >>> Hello, >>> >>> I have an old WIN 98 PC that am using to as a "server" for our office >>> "In and Out" board. >>> >>> I don't know if the processor is dying or the hard drive is sticking but >>> have found that if I restart it once a day it seems to work fine. >>> >>> I have found DOS command (runonce.exe -q) that will restart the PC but >>> the "There are 20 users connected. Shutting down will disconnect >>> them....." confirmation messages always pops up and you have to hit the >>> YES to continue. >>> >>> QUESTION: Is there a way to disconnect all users with a DOS command >>> first - with no confirmation prompt - and then use the other command to >>> restart the PC? >>> >>> Any help appreciated. >>> >>> Frank Klassen >> >> > |
|
#5
|
|||
|
|||
|
Only one user - and not even one when you consider it's simply acting as a
server for a simple program. No password but you still have to hit the enter key to go past it. It's been so long since I had to work on Win 98 PCs that I can't remember how to get rid of the log on dialog. FK "Gary S. Terhune" <(E-Mail Removed)> wrote in message news:%(E-Mail Removed)... > What logon dialogue? Where you have a username and password? Is there more > than one user? > > -- > Gary S. Terhune > MS-MVP Shell/User > www.grystmill.com > > "FKlassen" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... >> Hi, >> >> You know what - I had tried that and it didn't work - before posting to >> this news group I had googled for an answer and the example that I found >> had a space between the comma after Shell32.dll and the SHExitWindowEx n. >> >> When I saw your example I tried it without the space and sure >> enough...works like a charm. Does exactly what I want. >> >> Now if I can just get rid of he log on dialog it will be 100% automated. >> >> Thanks alot. >> >> Frank Klassen >> Calgary, Alberta >> >> >> >> "Gary S. Terhune" <(E-Mail Removed)> wrote in message >> news:(E-Mail Removed)... >>> Have you tried: >>> rundll32.exe shell32.dll,SHExitWindowsEx 4 >>> >>> The 4 at the end makes it "forced". >>> >>> For reference: >>> "How to Exit Windows 98/Me Automatically Using a Batch File" >>> rundll32.exe shell32.dll,SHExitWindowsEx n >>> >>> -- >>> Gary S. Terhune >>> MS-MVP Shell/User >>> www.grystmill.com >>> >>> "FKlassen" <(E-Mail Removed)> wrote in message >>> news:(E-Mail Removed)... >>>> Hello, >>>> >>>> I have an old WIN 98 PC that am using to as a "server" for our office >>>> "In and Out" board. >>>> >>>> I don't know if the processor is dying or the hard drive is sticking >>>> but have found that if I restart it once a day it seems to work fine. >>>> >>>> I have found DOS command (runonce.exe -q) that will restart the PC but >>>> the "There are 20 users connected. Shutting down will disconnect >>>> them....." confirmation messages always pops up and you have to hit the >>>> YES to continue. >>>> >>>> QUESTION: Is there a way to disconnect all users with a DOS command >>>> first - with no confirmation prompt - and then use the other command to >>>> restart the PC? >>>> >>>> Any help appreciated. >>>> >>>> Frank Klassen >>> >>> >> > > |
|
#6
|
|||
|
|||
|
"How to Prevent a Windows 95, Windows 98, or Windows Me Logon Prompt at
Startup" http://support.microsoft.com/kb/152104/en-us -- Gary S. Terhune MS-MVP Shell/User www.grystmill.com "FKlassen" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Only one user - and not even one when you consider it's simply acting as a > server for a simple program. > No password but you still have to hit the enter key to go past it. > It's been so long since I had to work on Win 98 PCs that I can't remember > how to get rid of the log on dialog. > > FK > > > > "Gary S. Terhune" <(E-Mail Removed)> wrote in message > news:%(E-Mail Removed)... >> What logon dialogue? Where you have a username and password? Is there >> more than one user? >> >> -- >> Gary S. Terhune >> MS-MVP Shell/User >> www.grystmill.com >> >> "FKlassen" <(E-Mail Removed)> wrote in message >> news:(E-Mail Removed)... >>> Hi, >>> >>> You know what - I had tried that and it didn't work - before posting to >>> this news group I had googled for an answer and the example that I found >>> had a space between the comma after Shell32.dll and the SHExitWindowEx >>> n. >>> >>> When I saw your example I tried it without the space and sure >>> enough...works like a charm. Does exactly what I want. >>> >>> Now if I can just get rid of he log on dialog it will be 100% automated. >>> >>> Thanks alot. >>> >>> Frank Klassen >>> Calgary, Alberta >>> >>> >>> >>> "Gary S. Terhune" <(E-Mail Removed)> wrote in message >>> news:(E-Mail Removed)... >>>> Have you tried: >>>> rundll32.exe shell32.dll,SHExitWindowsEx 4 >>>> >>>> The 4 at the end makes it "forced". >>>> >>>> For reference: >>>> "How to Exit Windows 98/Me Automatically Using a Batch File" >>>> rundll32.exe shell32.dll,SHExitWindowsEx n >>>> >>>> -- >>>> Gary S. Terhune >>>> MS-MVP Shell/User >>>> www.grystmill.com >>>> >>>> "FKlassen" <(E-Mail Removed)> wrote in message >>>> news:(E-Mail Removed)... >>>>> Hello, >>>>> >>>>> I have an old WIN 98 PC that am using to as a "server" for our office >>>>> "In and Out" board. >>>>> >>>>> I don't know if the processor is dying or the hard drive is sticking >>>>> but have found that if I restart it once a day it seems to work fine. >>>>> >>>>> I have found DOS command (runonce.exe -q) that will restart the PC >>>>> but the "There are 20 users connected. Shutting down will disconnect >>>>> them....." confirmation messages always pops up and you have to hit >>>>> the YES to continue. >>>>> >>>>> QUESTION: Is there a way to disconnect all users with a DOS command >>>>> first - with no confirmation prompt - and then use the other command >>>>> to restart the PC? >>>>> >>>>> Any help appreciated. >>>>> >>>>> Frank Klassen >>>> >>>> >>> >> >> > |
|
#7
|
|||
|
|||
|
Worked like a charm.
Thanks a million. Frank Klasen "Gary S. Terhune" <(E-Mail Removed)> wrote in message news:ul1$(E-Mail Removed)... > "How to Prevent a Windows 95, Windows 98, or Windows Me Logon Prompt at > Startup" > http://support.microsoft.com/kb/152104/en-us > -- > Gary S. Terhune > MS-MVP Shell/User > www.grystmill.com > > "FKlassen" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... >> Only one user - and not even one when you consider it's simply acting as >> a server for a simple program. >> No password but you still have to hit the enter key to go past it. >> It's been so long since I had to work on Win 98 PCs that I can't remember >> how to get rid of the log on dialog. >> >> FK >> >> >> >> "Gary S. Terhune" <(E-Mail Removed)> wrote in message >> news:%(E-Mail Removed)... >>> What logon dialogue? Where you have a username and password? Is there >>> more than one user? >>> >>> -- >>> Gary S. Terhune >>> MS-MVP Shell/User >>> www.grystmill.com >>> >>> "FKlassen" <(E-Mail Removed)> wrote in message >>> news:(E-Mail Removed)... >>>> Hi, >>>> >>>> You know what - I had tried that and it didn't work - before posting to >>>> this news group I had googled for an answer and the example that I >>>> found had a space between the comma after Shell32.dll and the >>>> SHExitWindowEx n. >>>> >>>> When I saw your example I tried it without the space and sure >>>> enough...works like a charm. Does exactly what I want. >>>> >>>> Now if I can just get rid of he log on dialog it will be 100% >>>> automated. >>>> >>>> Thanks alot. >>>> >>>> Frank Klassen >>>> Calgary, Alberta >>>> >>>> >>>> >>>> "Gary S. Terhune" <(E-Mail Removed)> wrote in message >>>> news:(E-Mail Removed)... >>>>> Have you tried: >>>>> rundll32.exe shell32.dll,SHExitWindowsEx 4 >>>>> >>>>> The 4 at the end makes it "forced". >>>>> >>>>> For reference: >>>>> "How to Exit Windows 98/Me Automatically Using a Batch File" >>>>> rundll32.exe shell32.dll,SHExitWindowsEx n >>>>> >>>>> -- >>>>> Gary S. Terhune >>>>> MS-MVP Shell/User >>>>> www.grystmill.com >>>>> >>>>> "FKlassen" <(E-Mail Removed)> wrote in message >>>>> news:(E-Mail Removed)... >>>>>> Hello, >>>>>> >>>>>> I have an old WIN 98 PC that am using to as a "server" for our office >>>>>> "In and Out" board. >>>>>> >>>>>> I don't know if the processor is dying or the hard drive is sticking >>>>>> but have found that if I restart it once a day it seems to work fine. >>>>>> >>>>>> I have found DOS command (runonce.exe -q) that will restart the PC >>>>>> but the "There are 20 users connected. Shutting down will disconnect >>>>>> them....." confirmation messages always pops up and you have to hit >>>>>> the YES to continue. >>>>>> >>>>>> QUESTION: Is there a way to disconnect all users with a DOS command >>>>>> first - with no confirmation prompt - and then use the other command >>>>>> to restart the PC? >>>>>> >>>>>> Any help appreciated. >>>>>> >>>>>> Frank Klassen >>>>> >>>>> >>>> >>> >>> >> > > |
|
#8
|
|||
|
|||
|
You're welcome.
-- Gary S. Terhune MS-MVP Shell/User www.grystmill.com "FKlassen" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Worked like a charm. > > Thanks a million. > > Frank Klasen > > > > "Gary S. Terhune" <(E-Mail Removed)> wrote in message > news:ul1$(E-Mail Removed)... >> "How to Prevent a Windows 95, Windows 98, or Windows Me Logon Prompt at >> Startup" >> http://support.microsoft.com/kb/152104/en-us >> -- >> Gary S. Terhune >> MS-MVP Shell/User >> www.grystmill.com >> >> "FKlassen" <(E-Mail Removed)> wrote in message >> news:(E-Mail Removed)... >>> Only one user - and not even one when you consider it's simply acting as >>> a server for a simple program. >>> No password but you still have to hit the enter key to go past it. >>> It's been so long since I had to work on Win 98 PCs that I can't >>> remember how to get rid of the log on dialog. >>> >>> FK >>> >>> >>> >>> "Gary S. Terhune" <(E-Mail Removed)> wrote in message >>> news:%(E-Mail Removed)... >>>> What logon dialogue? Where you have a username and password? Is there >>>> more than one user? >>>> >>>> -- >>>> Gary S. Terhune >>>> MS-MVP Shell/User >>>> www.grystmill.com >>>> >>>> "FKlassen" <(E-Mail Removed)> wrote in message >>>> news:(E-Mail Removed)... >>>>> Hi, >>>>> >>>>> You know what - I had tried that and it didn't work - before posting >>>>> to this news group I had googled for an answer and the example that I >>>>> found had a space between the comma after Shell32.dll and the >>>>> SHExitWindowEx n. >>>>> >>>>> When I saw your example I tried it without the space and sure >>>>> enough...works like a charm. Does exactly what I want. >>>>> >>>>> Now if I can just get rid of he log on dialog it will be 100% >>>>> automated. >>>>> >>>>> Thanks alot. >>>>> >>>>> Frank Klassen >>>>> Calgary, Alberta >>>>> >>>>> >>>>> >>>>> "Gary S. Terhune" <(E-Mail Removed)> wrote in message >>>>> news:(E-Mail Removed)... >>>>>> Have you tried: >>>>>> rundll32.exe shell32.dll,SHExitWindowsEx 4 >>>>>> >>>>>> The 4 at the end makes it "forced". >>>>>> >>>>>> For reference: >>>>>> "How to Exit Windows 98/Me Automatically Using a Batch File" >>>>>> rundll32.exe shell32.dll,SHExitWindowsEx n >>>>>> >>>>>> -- >>>>>> Gary S. Terhune >>>>>> MS-MVP Shell/User >>>>>> www.grystmill.com >>>>>> >>>>>> "FKlassen" <(E-Mail Removed)> wrote in message >>>>>> news:(E-Mail Removed)... >>>>>>> Hello, >>>>>>> >>>>>>> I have an old WIN 98 PC that am using to as a "server" for our >>>>>>> office "In and Out" board. >>>>>>> >>>>>>> I don't know if the processor is dying or the hard drive is sticking >>>>>>> but have found that if I restart it once a day it seems to work >>>>>>> fine. >>>>>>> >>>>>>> I have found DOS command (runonce.exe -q) that will restart the PC >>>>>>> but the "There are 20 users connected. Shutting down will disconnect >>>>>>> them....." confirmation messages always pops up and you have to hit >>>>>>> the YES to continue. >>>>>>> >>>>>>> QUESTION: Is there a way to disconnect all users with a DOS command >>>>>>> first - with no confirmation prompt - and then use the other command >>>>>>> to restart the PC? >>>>>>> >>>>>>> Any help appreciated. >>>>>>> >>>>>>> Frank Klassen >>>>>> >>>>>> >>>>> >>>> >>>> >>> >> >> > |
|
#9
|
|||
|
|||
|
Sorry! I pasted in the wrong line. The link should be:
"How to Exit Windows 98/Me Automatically Using a Batch File" http://support.microsoft.com/kb/234216 -- Gary S. Terhune MS-MVP Shell/User www.grystmill.com "Gary S. Terhune" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > Have you tried: > rundll32.exe shell32.dll,SHExitWindowsEx 4 > > The 4 at the end makes it "forced". > > For reference: > "How to Exit Windows 98/Me Automatically Using a Batch File" > rundll32.exe shell32.dll,SHExitWindowsEx n > > -- > Gary S. Terhune > MS-MVP Shell/User > www.grystmill.com > > "FKlassen" <(E-Mail Removed)> wrote in message > news:(E-Mail Removed)... >> Hello, >> >> I have an old WIN 98 PC that am using to as a "server" for our office "In >> and Out" board. >> >> I don't know if the processor is dying or the hard drive is sticking but >> have found that if I restart it once a day it seems to work fine. >> >> I have found DOS command (runonce.exe -q) that will restart the PC but >> the "There are 20 users connected. Shutting down will disconnect >> them....." confirmation messages always pops up and you have to hit the >> YES to continue. >> >> QUESTION: Is there a way to disconnect all users with a DOS command >> first - with no confirmation prompt - and then use the other command to >> restart the PC? >> >> Any help appreciated. >> >> Frank Klassen > > |
![]() |
| Tags |
| disconnect, restart, shares |
| Thread Tools | |
| Display Modes | |
|
|