RE: Auto shutdown of Oracle for Windows reboot

From: Yong Huang <>
Date: Wed, 14 May 2008 13:54:48 -0700 (PDT)
Message-ID: <>

Sorry. I didn't read your email carefully.

I just did a pure Windows test. Created c:\temp\test.bat that just has 3 lines: time /t >> c:\temp\test
sleep 300
time /t >> c:\temp\test
Launched gpedit.msc and added this file to Computer config -> Windows -> Scripts -> Shutdown. I typed the command shutdown -r -t 0. The test file is immediately created in c:\temp. Five minutes later, the system shutdown. During the shutdown period, the console (not terminal service window) says "Running shutdown script". So it appears shutdown.exe does run the group policy Windows shutdown script.

When you run shutdown.exe, do you see "Running shutdown script" on console?

Yong Huang

  • "Allen, Brandon" <> wrote:

> Thanks Yong, but I already read that note as mentioned in my original
> post - I'm trying to use the "Workaround" provided in that note to
> execute "net stop" commands in the Windows Group Policy shutdown script
> and that's where I'm having trouble.
> Regards,
> Brandon
> -----Original Message-----
> From:
> [] On Behalf Of Yong Huang
> Brandon, see Note:231495.1. It seems that even if you shutdown Windows
> cleanly, the DB shutdown behavior set by the Oracle registry is still
> not guaranteed.
> > From: "Allen, Brandon" <>
> >
> > I followed Metalink note 231495.1 . . .

Received on Wed May 14 2008 - 15:54:48 CDT

Original text of this message