Re: Setting system startup time?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Chuck,

thanks a lot! These are starting points I will try. I never used WMI up to
now, thus I din't know what it can do and what it cannot - I´ll look into
it.

Christian

"Chuck Chopp" <ChuckChopp@xxxxxxxxxxx> wrote in message
news:uW1tOvZSFHA.1476@xxxxxxxxxxxxxxxxxxxxxxx
Christian Kaiser wrote:

Hi,

I don't know a better group - sorry. Who can give me some hints on how to
set the system's startup time (usually stored somewhere in the BIOS) from
inside Windows?

I do a program that measures several parameters of solar collector
systems,
and I want it to be able to shutdown in the evening (easy) and restart at
the next morning (that's the problem) to avoid energy waste.

If I'm understanding your question properly, then from within a Win32
application you want to be able to modify the automatic wakeup time that
is
stored in the BIOS such that after your application initiates a O.S.
shutdown & power-off, the BIOS will wake up & reboot the system at some
time
in the future?

Is that correct?

If so, I think your best bet is going to be to investigate the somewhat
murky & complex world of WMI [Windows Management Instrumentation]. It is
one of the few components of the O.S. that I've seen that can interact
with
the BIOS at all, and there may very well be a WMI object with a method
that
can allow you to get/set this value in the BIOS. Lacking the availability
of WMI, of if WMI simply turns out not to be able to do this, then there
may
still be hope. DMI [Desktop Management Instrumentation? Desktop
Management
Interface?] was an earlier specification for getting & setting BIOS
information, especially monitoring stuff like the fan sensors & CPU
temperature sensors, and monitoring the failure prediction status of
S.M.A.R.T. enabled hard drives. However, each motherboard & BIOS
manufacturer was responsible for developing their own DMI tools for each
O.S. that would run on their hardware, so not every mobo/BIOS combo would
necessarily support DMI. I recall that IBM and a few other major PC
manufacturers also had DMI kits that were somewhat far reaching in their
support of mobo/BIOS combos from other manufacturers if the hardware had
DMI
support built into the BIOS. Researching DMI further might net you some
useful result.

Finally, if I'm not completely up to date in my knowledge of power
management API functions in Windows, given a system with an ATX power
supply
& motherboard, there may very well be an API function or WMI object/method
that can modify this particular BIOS value for you as part of the system
power management functionality.


HTH,

Chuck
--
Chuck Chopp

ChuckChopp (at) rtfmcsi (dot) com http://www.rtfmcsi.com

RTFM Consulting Services Inc. 864 801 2795 voice & voicemail
103 Autumn Hill Road 864 801 2774 fax
Greer, SC 29651

Do not send me unsolicited commercial email.


.



Relevant Pages

  • Re: Setting system startup time?
    ... I never used WMI up to ... > stored in the BIOS such that after your application initiates a O.S. ... DMI [Desktop Management Instrumentation? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Setting system startup time?
    ... Who can give me some hints on how to set the system's startup time (usually stored somewhere in the BIOS) from inside Windows? ... I think your best bet is going to be to investigate the somewhat murky & complex world of WMI [Windows Management Instrumentation]. ... It is one of the few components of the O.S. that I've seen that can interact with the BIOS at all, and there may very well be a WMI object with a method that can allow you to get/set this value in the BIOS. ... However, each motherboard & BIOS manufacturer was responsible for developing their own DMI tools for each O.S. that would run on their hardware, so not every mobo/BIOS combo would necessarily support DMI. ...
    (microsoft.public.win32.programmer.kernel)
  • RE: SBS Restore and Exchange Error
    ... An error occurred during a call to Windows Management Instrumentation ID ... no: 80041010 Exchange System Manager ... WMI is really complex and time-consuming. ...
    (microsoft.public.windows.server.sbs)
  • Re: Retrieving BIOS password information
    ... In a VC MFC application we are using WMI class 'Win32_ComputerSystem' to ... Power On Password status and Keyboard ... Is it possible that some BIOS might treat Administrative Password ... value of 'AdminPasswordStatus' property from WMI ...
    (microsoft.public.vc.mfc)
  • Re: Hi really annoying problem with WMI
    ... management infrastructure to the Windows Family. ... WMI Test Engineer ... >> In the right pane of the Computer Management console, ...
    (microsoft.public.windowsxp.wmi)