Networking Forums

Networking Forums > Computer Networking > Windows Networking > Automatic Shut Down

Reply
Thread Tools Display Modes

Automatic Shut Down

 
 
IC_Clearly
Guest
Posts: n/a

 
      12-27-2006, 04:27 PM
I am attempting to set up an automatic shut down of windows. I am using the
following with the scheduler:
rundll32.exe shell32.dll,SHExitWindowsEx 2

Here's the problem. The utility runs at the designated time, BUT it will
not close down the shared network connections. The computer waits on a
manual entry to okay the network disconnects. So, the auto shut down will
not complete the process.

Does anyone have a suggestion?

Thanks.

--
IC


 
Reply With Quote
 
 
 
 
Ingeborg
Guest
Posts: n/a

 
      12-27-2006, 06:26 PM
IC_Clearly wrote:

> I am attempting to set up an automatic shut down of windows. I am
> using the following with the scheduler:
> rundll32.exe shell32.dll,SHExitWindowsEx 2
>
> Here's the problem. The utility runs at the designated time, BUT it
> will not close down the shared network connections. The computer
> waits on a manual entry to okay the network disconnects. So, the auto
> shut down will not complete the process.
>
> Does anyone have a suggestion?
>


Have a look here:
<http://www.shareup.com/dadioh/reboot-shut-down-shortcuts.html>

SHExitWindowsEx 2 should reboot your computer. To shutdown it, forcing all
apps to close, use SHExitWindowsEx 5
 
Reply With Quote
 
IC_Clearly
Guest
Posts: n/a

 
      12-27-2006, 08:56 PM
Thanks for the tip, BUT that will not work. I can do a forced shut down
(#5) but when I do a forced shut down Windows will not close completely
down. The desktop will go away and the W98 screen will appear with a
message at the bottom that Windows Is Shutting Down. Problem is Windows
*never* shuts down. I must hit the power button to complete the shut down.
Then when I restart the system does a scan and there are always temp files
after a forced shut down that must be manually attended to. I am trying to
do a restart in a *complete* unattended mode.

IC

"Ingeborg" <(E-Mail Removed)> wrote in message
news:Xns98A6D01D2D2BDabinvalid@127.0.0.1...
> IC_Clearly wrote:
>
> > I am attempting to set up an automatic shut down of windows. I am
> > using the following with the scheduler:
> > rundll32.exe shell32.dll,SHExitWindowsEx 2
> >
> > Here's the problem. The utility runs at the designated time, BUT it
> > will not close down the shared network connections. The computer
> > waits on a manual entry to okay the network disconnects. So, the auto
> > shut down will not complete the process.
> >
> > Does anyone have a suggestion?
> >

>
> Have a look here:
> <http://www.shareup.com/dadioh/reboot-shut-down-shortcuts.html>
>
> SHExitWindowsEx 2 should reboot your computer. To shutdown it, forcing all
> apps to close, use SHExitWindowsEx 5



 
Reply With Quote
 
Ingeborg
Guest
Posts: n/a

 
      12-28-2006, 10:34 AM
IC_Clearly wrote:
> Ingeborg wrote in message
>> IC_Clearly wrote:
>>
>> > I am attempting to set up an automatic shut down of windows. I am
>> > using the following with the scheduler:
>> > rundll32.exe shell32.dll,SHExitWindowsEx 2
>> >
>> > Here's the problem. The utility runs at the designated time, BUT
>> > it will not close down the shared network connections. The
>> > computer waits on a manual entry to okay the network disconnects.
>> > So, the auto shut down will not complete the process.
>> >
>> > Does anyone have a suggestion?
>> >

>>
>> Have a look here:
>> <http://www.shareup.com/dadioh/reboot-shut-down-shortcuts.html>
>>
>> SHExitWindowsEx 2 should reboot your computer. To shutdown it,
>> forcing all apps to close, use SHExitWindowsEx 5

>
> Thanks for the tip, BUT that will not work. I can do a forced shut
> down (#5) but when I do a forced shut down Windows will not close
> completely down. The desktop will go away and the W98 screen will
> appear with a message at the bottom that Windows Is Shutting Down.
> Problem is Windows *never* shuts down. I must hit the power button to
> complete the shut down. Then when I restart the system does a scan and
> there are always temp files after a forced shut down that must be
> manually attended to. I am trying to do a restart in a *complete*
> unattended mode.


I see. You can try to execute a 'net stop' or 'net stop workstation',
maybe with the '/YES' switch, before you call SHExitWindowsEx. This
should shutdown all network connections.


 
Reply With Quote
 
IC_Clearly
Guest
Posts: n/a

 
      12-28-2006, 10:43 PM
That may just work. When I enter the command at the run box (log off /yes)
I get an error from DOS that says "Error 3547: You cannot do this from
within an MS-DOS window. Any suggestions?

Thanks.

IC

"Ingeborg" <(E-Mail Removed)> wrote in message
news:Xns98A77FFD4892Eabinvalid@127.0.0.1...
> IC_Clearly wrote:
> > Ingeborg wrote in message
> >> IC_Clearly wrote:
> >>
> >> > I am attempting to set up an automatic shut down of windows. I am
> >> > using the following with the scheduler:
> >> > rundll32.exe shell32.dll,SHExitWindowsEx 2
> >> >
> >> > Here's the problem. The utility runs at the designated time, BUT
> >> > it will not close down the shared network connections. The
> >> > computer waits on a manual entry to okay the network disconnects.
> >> > So, the auto shut down will not complete the process.
> >> >
> >> > Does anyone have a suggestion?
> >> >
> >>
> >> Have a look here:
> >> <http://www.shareup.com/dadioh/reboot-shut-down-shortcuts.html>
> >>
> >> SHExitWindowsEx 2 should reboot your computer. To shutdown it,
> >> forcing all apps to close, use SHExitWindowsEx 5

> >
> > Thanks for the tip, BUT that will not work. I can do a forced shut
> > down (#5) but when I do a forced shut down Windows will not close
> > completely down. The desktop will go away and the W98 screen will
> > appear with a message at the bottom that Windows Is Shutting Down.
> > Problem is Windows *never* shuts down. I must hit the power button to
> > complete the shut down. Then when I restart the system does a scan and
> > there are always temp files after a forced shut down that must be
> > manually attended to. I am trying to do a restart in a *complete*
> > unattended mode.

>
> I see. You can try to execute a 'net stop' or 'net stop workstation',
> maybe with the '/YES' switch, before you call SHExitWindowsEx. This
> should shutdown all network connections.
>
>



 
Reply With Quote
 
Ingeborg
Guest
Posts: n/a

 
      12-29-2006, 10:24 AM
IC_Clearly wrote:

> That may just work. When I enter the command at the run box (log off
> /yes) I get an error from DOS that says "Error 3547: You cannot do
> this from within an MS-DOS window. Any suggestions?
>


Maybe I should stop answering W98 questions, while not running W98 myself.
Another try: When your system has got an IP address by DHCP you can try
'ipconfig /release'. This should reset the IP address, breaking all
connections. (Unless you're using another protocol in your LAN...)
 
Reply With Quote
 
IC_Clearly
Guest
Posts: n/a

 
      12-29-2006, 01:58 PM
No, don't stop answering W98 questions! Your suggestions worked. The
command ipconfig /release_all did the trick.

Thanks much.

--
IC


"Ingeborg" <(E-Mail Removed)> wrote in message
news:Xns98A87E3EE2315abinvalid@127.0.0.1...
> IC_Clearly wrote:
>
> > That may just work. When I enter the command at the run box (log off
> > /yes) I get an error from DOS that says "Error 3547: You cannot do
> > this from within an MS-DOS window. Any suggestions?
> >

>
> Maybe I should stop answering W98 questions, while not running W98 myself.
> Another try: When your system has got an IP address by DHCP you can try
> 'ipconfig /release'. This should reset the IP address, breaking all
> connections. (Unless you're using another protocol in your LAN...)



 
Reply With Quote
 
 
 
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bthomehub shut down tehtarek Broadband 1 09-05-2006 11:31 PM
Log on and shut down problems =?Utf-8?B?SGVtaW4=?= Windows Networking 0 08-09-2005 06:50 PM
Shut down Jimmy Windows Networking 2 07-25-2005 09:35 AM
shut down options? =?Utf-8?B?YWtlbg==?= Windows Networking 1 05-30-2004 07:48 AM
shut down CHRIS 159 Home Networking 14 09-05-2003 12:26 PM



1 2 3 4 5 6 7 8 9 10 11