UNSOLVED

Scopeedit

updated

21 years ago

S

Scopeedit

13 Posts

0

25079

February 12th, 2005 00:00

THE ANSWER : Poweredge 2600 rebooot after power restored

After over a YEAR,  I have not seen anyone answer this question correctly,   not even Dell,  despite numerous  PowerEdge users posting Questions on how to make theire Server  re-boot  when power is applied after a UPS shutdown.
 
Firstly,  Dells reply, that it is DESIGNED this way,  to stop you blowing fuses, is total RUBBISH.
Whoever at Dell came up with that one should be canned !!
 
Neither is the problem cause by something lacking in the BIOS.....   despite the fact that there is no option in the Bios to  set the POWER ON  action  ( ON,  OFF, Last state  ).
 
The Dell defaults to LAST STATE,  which in fact is fine.
 
The problem is WINDOWS 2003 Server,   and it is dissapointing that after over a year,  none of the Updates for W2003  have addressed this problem.
 
The reason that your Poweredge 2600 does NOT restart automatically after a  UPS shutdown, is a W2003 Bug,  in connection with ExitWindowsEx or the InitiateSystemShutdownEx  Functions.
 
For more a full technical description see:-
  • Knowledge Base Article 819038
    Computer with Uninterruptible Power Supply Does Not Start After Power Loss Even After AC Power Is Restored.
  • Knowledge Base Article 819037
    Computer Powers Off Unexpectedly If a Program Calls the ExitWindowsEx() Function
  • Knowledge Base Article 819760Windows Turns Off the Power After It Shuts Down the Computer If a Program Calls the ExitWindowsEx or the InitiateSystemShutdownEx Function.
  • --------------------------------------------------------------------------------------------------------------
  • OK,  so bottom line,  "How do you fix it  !!"
  • You need to run the Un-Supported Microsoft patch program for W2003 called WindowsServer2003-KB819760-x86-ENU.exe
  • You can either contact Microsoft for this --  if this is all you want, and have the time to  negotiate their phone tech support, explain all this to the support guy,  and don't ask for anything else,  you can get it for FREE.
  • Other wise,  you can do a GOGGLE search, and you will probbaly find it.
  • At the time of writting,  it was on a HP Support page, with details on how to use it.
  • Despite it being on a HP  support page,   the solution is GENERIC  for W2003  Server, and nothing specific to HP servers.
  • After runing the patch, and a reboot,   run gpedit.msc, and edit  as decribed in the above link.
  • If the link has gone, but you can still find the patch,  the edit instructions are :-
  • After rebooting, the following steps must be performed on the machine:
  • Click Start, click Run, and then type gpedit.msc.

    Under Local Computer Policy, expand Computer Configuration, expand Administrative Templates, and then expand System.

    Double-click Do not turn off system power after a Windows system shutdown has occurred.

    Click the Setting tab, click Enabled, and then click OK.

            ====================================================

            Now, when your UPS shuts down your W2003 server,   the Computer does NOT immediatly POWER OFF,  but instead displays the screen  that "you may now turn off your computer".

            After a time,  your UPS should remove power from the Server, and it is now OFF,  but the difference is, at the time the power was removed,  its last state was RUNNING  (not powered off)

            So,  when the UPS Puts the power back onto the Server,  the server STARTS & BOOTS,  because  "RUNNING"  was the last state of the machine  when the power was removed.

            ========================================================

            So,  I don't know why, after over a year  of releasing the Poweredge 2600  with Windows 2003 server installed on it,  DELL  has not figured this out and made the informatiuon freely available to its customers  (like HP have done).

            Maybe DELL might consider doing as HP have done,  and making this information and the Patch File availabe to its Poweredge / W20003  customers, on the Dell Website

            ============================================================

            I have done the above to my Poweredge 2600 - Windows 2003 server machine, and it now works as required with the APC UPS, and re-boots  when power is re-applied.  No more trips to the Office at  2 am  !!!

            Note: You now have the option to edit "Do not turn off system power after a Windows system shutdown has occurred",  (in gpedit.msc)  should you require the server to  NOT restart  !!!

            Hope this helps  you Poweredge guys   ---

             

            • zkent

              30 Posts

              563

              0

              Posted July 23rd, 2005 21:00

              I am having this problem on a 2600 and two 2650s. I downloaded the patch from HP but when installing it tells me that the version on my system is newer than the patch and wont install. This original post was back in 2003. According to the Microsoft Knowledge Base article 819038, a workaround is to set the BIOS to "Always On" in the section dealing with UPS power but the 2650 don't seem to have that setting.

              Any ideas?
            • Scopeedit

              13 Posts

              563

              0

              Posted July 26th, 2005 13:00



              @zkent wrote:
              I am having this problem on a 2600 and two 2650s. I downloaded the patch from HP but when installing it tells me that the version on my system is newer than the patch and wont install. This original post was back in 2003. According to the Microsoft Knowledge Base article 819038, a workaround is to set the BIOS to "Always On" in the section dealing with UPS power but the 2650 don't seem to have that setting.

              Any ideas?

              As in the previous post,  the solution is NOT to look for a missing BIOS setting.

              Neither is the problem cause by something lacking in the BIOS.....   despite the fact that there is no option in the Bios to  set the POWER ON  action  ( ON,  OFF, Last state  ).
               
              The Dell defaults to LAST STATE,  which in fact is fine.
               
              The problem is WINDOWS 2003 Server,   and it is dissapointing that after over a year,  none of the Updates for W2003  have addressed this problem.
               
              The reason that your Poweredge 2600 does NOT restart automatically after a  UPS shutdown, is a W2003 Bug,  in connection with ExitWindowsEx or the InitiateSystemShutdownEx  Functions.
               
              For more a full technical description see:-
              • Knowledge Base Article 819038
            • zkent

              30 Posts

              563

              0

              Posted July 28th, 2005 14:00

              Yes Yes, I have read the KB article.  But I find it hard to imagine that niether MS or Dell have come up with a solution to the problem.  I realize that most datacenters are staffed 24/7 but most small business are not.  I live 60 miles from my servers and if I get messages from my UPS that Power has been restored to the UPS, I'd like to know that my servers are back online too.   Worse yet, I dont want to come in at night or a weekend to restart them.  It seems like if you spend thousands of dollars on server hardware, operating systems, and backup systems that you could at least have the reassurance that all of it will continue running.  Its kind of embarrasing to go to the president of the company and tell him that all of the expensive stuff he bought is not smart enough to come back on after a power failure.  And furthermore, there's nothing that can be done about it.

              Message Edited by zkent on 07-28-2005 11:51 AM

            • zkent

              30 Posts

              563

              0

              Posted July 29th, 2005 19:00

              Dude, I could give you a hug!  I found the setting and I'm gonna run some more simulated power outages this weekend.  Kudos to you!  I called Dell and they were clueless on this matter.   I think I'm gonna blog it as well.

            • Scopeedit

              13 Posts

              563

              0

              Posted July 29th, 2005 19:00

                    • Click Start, click Run, and then type gpedit.msc.

                      Under Local Computer Policy, expand Computer Configuration, expand Administrative Templates, and then expand System.

                      Double-click Do not turn off system power after a Windows system shutdown has occurred.

                      Click the Setting tab, click Enabled, and then click OK.
                    • -----------------------------------------------------------------------------------------------
                    • If you have the patch already installed,  then you should be able to access the above option setting.
                    • TRY
                    • The secret of getting this to work is the patch to fix the error  in the shutdown call.
                    •  You indicate that the patch will not install, which may indicate that effectively your system already has been patched.
                    • So-- see if you can "Double-click Do not turn off system power after a Windows system shutdown has occurred"
                    • Scopeedit

                      13 Posts

                      563

                      0

                      Posted July 29th, 2005 23:00

                      You sound almost as happy as I was when I got my Server to restart automatically after a UPS shutdown, when power was restored.     ---
                       
                    • Birchwood

                      2 Posts

                      563

                      0

                      Posted January 7th, 2006 22:00

                      Sorry - I didn't see the full thread about the Policy setting, but that didn't help. I'd already been to the local group policy setting and set it appropriately. I didn't know that setting was possibly not available until after the SP was applied, but it didn't work anyway. I'm still searching for a solution. The BIOS settings are correct as far as anyone can tell...
                    • Birchwood

                      2 Posts

                      563

                      0

                      Posted January 7th, 2006 22:00

                      All of these steps seem to be the right fix, unless you have upgraded the OS by applying the Microsoft service pack that presumably already contains the fix. If that's the case, the file will detect a later version in place and won't install. The service pack doesn't fix the problem and the fix won't install if the service pack is installed... great, just great...

                      If anyone has any suggestions besides trying to uninstall the service pack... I'm sure that would be fun, I'd love to hear them.

                      Thanks...