Quantcast
Channel: Ivanti User Community : Document List - Power Management
Viewing all articles
Browse latest Browse all 68

How to remove a LANDesk Power Management Scheme

$
0
0

LDMS 9.0 has a removal task that can be created

 

pmremove.png

 

Turn power management off globally or by group

 

 

 

 

This article describes how to remove a LANDesk 8.8 Power Management Policy from a client computer.

 

Understanding the processes that LANDesk Power Management uses will make it easier to understand the removal process.

 

For details about how Power Management works, see How Power Management Works.

 

 

There are two options to remove the LANDesk Power Policy.

 

Option 1:

 

Redeploy the LANDesk Management Suite agent with the component "Power Management" unchecked.   This will remove the LANDesk Power Management Component and set the client Power Scheme back to the default Windows policy.   However, to use LANDesk Power Management again in the future, the Agent must be reinstalled with the Power Management component option.

 

Option 2:

 

In order to remove the LANDesk Power Policy and Scheme and return control over to the standard Windows Power Schemes, the Local Scheduler Policy must be removed, and a different power scheme set as the active scheme.

 

In order to remove the Local Scheduler Policy, the command "PWMCFG /CLEAR_SCHEDULE" must be run.

 

In order to change the active power scheme from the LANDesk PWM Scheme to another scheme, the Windows powercfg.exe command must be run.

 

 

This can be easily scripted using LANDesk Scripts or Batch files.

 

In either case, the script or batch file should be edited to suit your needs.

 

A seperate script for Windows XP and Windows Vista clients may be necessary as the PowerCFG.exe utility in Windows Vista differes from the PowerCFG.EXE utility in Windows XP.

 

Examples of batch files follow:

 

Windows XP

@echo off
REM - XP Power Management Rollback

"C:\Program Files\LANDesk\LDClient\PWMCfg.exe" /clear_schedule

C:\windows\system32\powercfg /setactive "Home/Office Desk"

 

Windows Vista

@echo off
REM - Vista Power Management Rollback

"C:\Program Files\LANDesk\LDClient\PWMCfg.exe" /clear_schedule

C:\windows\system32\powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

 

Examples of LANDesk Scripts follow:

 

 

 

Windows XP


[MACHINES_WIN]

REMEXEC1=<qt/>%LDMS_CLIENT_DIR%\PWMCfg.exe<qt/> /clear_schedule

REMEXEC2=C:\windows\system32\powercfg /setactive "Home/Office Desk"

 

 

Windows Vista

 

[MACHINES_WIN]

REMEXEC1=<qt/>%LDMS_CLIENT_DIR%\PWMCfg.exe<qt/> /clear_schedule

REMEXEC2=C:\windows\system32\powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

 

Note: These batch files and scripts need to be run as the local user, as the power scheme settings are set per user.

 

 

After removing a power scheme, if you go back to the regular Windows Power Scheme, the inventory information for the power scheme may not display correctly in inventory until after a sync inventory scan is run.   A regular inventory scan will process changes however it will not remove data.

InventoryInformation.png

In the example above, the area circled in red shows the inventory information for a LANDesk Power Policy - the last deployed date, and the last deployed policy name.

 

If the power settings gathered by inventory do not show the area circled in red and simply show the settings below this area, this is the default Windows power policy information.

 

When removing a LANDesk Power Scheme and going back to a default Windows Power Scheme, the area circled in red will not be updated until a full sync inventory scan is run.   This can be done by adding a "/sync" at the end of the inventory scanner command line.


Viewing all articles
Browse latest Browse all 68

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>