Question Locked

Automating setting of machine power options on a domain.

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I am looking for some advise on how I can set the displays on machines connected to the domain to power down after 15 minutes of inactivity. I would also like to standardise users screensavers.

I currently use a login script to map network drives. Could I use the login script to set the power options?

Many thanks,

Chris

5 replies

by dedlbug

I don't know if you can do this with a logon script. (Probably, but I've never done it) You can however use a group policy to enforce screen saver options. In the Policy: "User Configuration" - "Administrative Templates" - "Control Panel" - "Display" There you see a few options regarding Screen Saver. One option is to define the actual screen saver excutable, and another would be to remove the tab that provides the option to change it.

I don't know if there is a work around from an end-user standpoint, but this might be a good place to start.

Let us know if you need help applying the policy. =]

by kipper_1

Setting group policy is ideal.

How do I go about setting up these group policies using Microsoft SBS 2003. I have access to the Group Policy Management Console on the server but do not understand where in the tree or how to setup these policies.

I have found a utility that allows administrators to control power management through group policy. A small executable is installed on client machines and a policy templated is provided to install on the server. Once again I do not know how/where to install the template. The utility is available at:
http://www.energystar.gov/index.cfm?c=power_mgt.pr_pm_ez_gpo

Many thanks,

Chris.

by dedlbug

http://technet2.microsoft.com/WindowsServer/f/?en/library/b9cb929b-4c2f-4754-ad31-d154bb8105771033.mspx

Group Policy in theory is simple. Configuring it can be difficult, especially in complex environments. The article above is great reading, but here is a basic "jist" of the operation: (Again, this is the simple way to start understanding)

Open up "Group Policy Management Console". Expand "Your Domain" and "Group Policy Objects". Notice that items under "your domain", are "Link Enabled" to the the Objects that are located in the Group Policy Objecs section. This basically means that the policies defined in your domain exist under the Group Policy Object section, but get enabled by creating links to them. What you should do is create a copy of your "Default Domain Policy" and paste it back into your Group Policy Objects. Give it a new name. This will be the policy that we will want to edit. (Never a good idea to edit the default policy, because it can be difficult to undo changes later).

Now you should have a new group pol object. Under the "Domain section" (yourdomain.local), Right-click and select "Link an existing GPO" and select the object you just created. To make this easier, for now, right-click on the Default Domain Policy and Uncheck "Link Enabled". What we are trying to do here is make the default Domain Policy the Object you created.

Now, go down to the Group Policy Objects, and right-click on your newly created policy object...select "Edit". This will bring up a MMC window that provides options regarding this policy. Here is where you navigate to the correct variable and change the options. Go down to "User Configuration" - "Administrative Templetes" - "Control Panel" - "Display". Notice the options you can change here. Just "right-click" on any one and select "Properties" There is even an explaination of the variable so you can easily understand what occurs when changed. Once you make your changes, close the Group Policy Object Editor. Refresh your Group Policy Management Console.

Now under "yourdomain.local", select the link enabled object. On the right hand side of the screen, you see four tabs. Select the Settings tab. Notice that you can use this tool to view the active changes to the policy without looking through unchanged items. Click the links to see if the changes you made are reflected here. If they are, your new policy should be working. Reboot the workstation and check to see if your changes are present.

Once again, this is a simple (I tried to make it simple anyway) version of how to edit a policy object. There is much more to consider on big environments, but the article in the link should help there. NOW, regarding your tool that you found...I have not used this before and can't comment on how it is used. BUT it appears to create a templete that can be edited in the group policy. The downside is, it looks like it has to be installed on the workstations locally. Maybe not a big deal, not sure.

I hope this helps. Make sure your backups are working before you proceed as always, and let me know if I need to clarify any particular part of this process. =]

by kipper_1

That's a fantastic help thank you.

I will let you know how I get on.

Chris.

This discussion is closed to new replies.