beautypg.com

Sample power plan deployment, Sample power plan – Lenovo ThinkVantage (Power Manager Deployment) User Manual

Page 61

background image

IF .%%2.==.Error. SET CTLERROR=TRUE

)

IF .%CTLERROR%.==.TRUE. goto ERROR_CTL

goto DELEND

:ERROR_IMP

goto END

:ERRPR_CTL

goto END

:DELEND

DEL /F %ResultFile%

:END

ENDLOCAL

Sample power plan deployment

This section provides instructions on how to deploy the power plan step by step.

To deploy the power plan step by step, do the following:

1. On the IT administrator computer, do the following:

a. Export the power plan and save it as the PPD_PLAN.ini file. See “Exporting the power plan”

on page 51.

b. Create the logon script and save it as the PowerPlanDeployment.bat file. See “Sample script”

on page 54.

2. On the server, do the following:

a. Set up the Active Directory domain on the Windows server.

b. Create a folder on the server and set the folder to be shared.

c. Move the PPD_PLAN.ini file that you created on the IT administrator computer to the shared folder

on the server.

d. Click Start Administrative Tools Active Directory Users and Computers. The Active

Directory Users and Computers window opens.

e. Create a user with the name “Pwr01” and a group with the name “PwrGroup”. Then, add the Pwr01

user to the PwrGroup group.

f. Click Start Administrative Tools Server Manager. The Server Manager window opens.

g. Under Features, click Group Policy Management Forest: YOURDOMAIN Domains. Then,

right-click the subitem YOURDOMAIN and select Create a GPO in this domain, and Link it here.
The New GPO window opens.

h. Type "PwrGPO" in the Name field and click OK. A new item PwrGpo is created under

YOURDOMAIN.

i.

Click PwrGPO. A message box is displayed, prompting you that you have selected a link to a Group
Policy Object (GPO). Click OK and the PwrGPO window opens.

j.

On the Scope tab, click Add in the Security Filtering area.

k. Type "PwrGroup" in the Enter the object name to select field and click OK. A new item PwrGroup

is created in the Security Filtering area.

l.

Select Authenticated Users in the Security Filtering area and click Remove. A message box is
displayed, prompting you that whether you want to remove the item. Click OK. The Authenticated
Users
item is removed.

Chapter 4

.

Deploying the power plan with the power plan deployment function

55