Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
|
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 21st, 2006, 08:10 AM
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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Welcome to Power User Contest-design works flash2004 Javascript How-To 1 July 5th, 2005 09:11 AM
SQL Server Problem after power failure. Jane SQL Server 2000 1 December 9th, 2004 09:00 PM
Chart in power point Using VBA Bhavna Agrawal Excel VBA 1 July 11th, 2003 07:39 AM
Power to the Programmers! James C Forum and Wrox.com Feedback 14 June 15th, 2003 10:26 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.