View Single Post
  #1 (permalink)  
Old November 21st, 2006, 08:10 AM
Sebastiaan Sebastiaan is offline
Authorized User
 
Join Date: Jun 2003
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default GPO and Power Management

Hi,

I'd like to have some help on 2 issues. Would like VBscripting to do the following:

1. Change Power Management/Screensaver settings during a Windows session. We are creating an installation of certain applications, the install runs about 35 minutes while the screensaver and power management start affecting at about 15 minutes. Is there a way on how to do this in VBscript?

2. I'd like to query the GPO for certain computer policy group membership. Basically, you can check this using the DOS command GPRESULT. So, I was looking in the WMI reference, but cannot find the information I need. Basically we want to query the Active Directory PC account on policy group memership. If it is available, the installation can continue. Something like that.

If someone please can help me on this? Thanks.

Sebastiaan.
Reply With Quote