Hey there...
Is there a way to change the default power settings with a vbs script?

Marc

RE: Power Settings by lukezhan

lukezhan
Thu Nov 13 21:02:27 CST 2003

Hi Marc,

I think you may achieve this with WMI. You may refer to following click to
see if it will help:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/
controlling_hardware_and_software.asp?frame=true

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/
power_management_event_provider.asp

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Re: Power Settings by Torgeir

Torgeir
Fri Nov 14 05:20:27 CST 2003

MSFT wrote:

> I think you may achieve this with WMI. You may refer to following click to
> see if it will help:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/
> controlling_hardware_and_software.asp?frame=true
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/
> power_management_event_provider.asp

Hi

As far as I know, you can't change the power settings with WMI...


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter



Re: Power Settings by MDS

MDS
Fri Nov 14 10:00:35 CST 2003

Any other way?

The registry is change as USER and Local machine...its HARD to code (maybe
impossible)

Marc

"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:3FB4BA7B.30E23406@hydro.com...
> MSFT wrote:
>
> > I think you may achieve this with WMI. You may refer to following click
to
> > see if it will help:
> >
> >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/