→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
svap
Engaged Sweeper III
hello

please add a report to display powerplan settings (high performance or balanced) per server or let me know how to make that

many thanks in advance

peter

1 ACCEPTED SOLUTION
Daniel_B
Lansweeper Alumni
This information isn't scanned by default. You could use custom scanning to read this from the registry and generate a report afterwards.

- Under Configuration\Custom scanning, section Registry Scanning, hit Add registry key to scan
- Rootkey: HKEY_LOCAL_MACHINE
- Regpath: SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes
- Regvalue: ActivePowerScheme
- Rescan your assets (open their asset page or select all server from the Assets tab and hit Rescan)
- Run a report like the following to list the active power schemes


Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
Case tblRegistry.Value
When '381b4222-f694-41f0-9685-ff5bb260df2e' Then 'Balanced'
When '8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c' Then 'High Performance'
When 'a1841308-3541-4fab-bc81-f71556f20b4a' Then 'Power Saver'
Else 'Unknown/Custom' End As [Power plan],
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblRegistry On tblAssets.AssetID = tblRegistry.AssetID
Where tblAssetCustom.State = 1 And tblRegistry.Valuename = 'ActivePowerScheme'


For instructions on how to run a report, please refer to this note.

View solution in original post

3 REPLIES 3
Susan_A
Lansweeper Alumni
This may not be implemented as a built-in report to be honest. We don't generally add files/keys to file/registry scanning by default, as not all customers may be interested in the reports and we could end up scanning a lot of unnecessary data. We'll add this report to the report center however.
svap
Engaged Sweeper III
exactly what i need
thank you! lansweeper rocks

imo that should be included as a report, because the powerplan might affect the server/workstation performance, featurerequest?
Daniel_B
Lansweeper Alumni
This information isn't scanned by default. You could use custom scanning to read this from the registry and generate a report afterwards.

- Under Configuration\Custom scanning, section Registry Scanning, hit Add registry key to scan
- Rootkey: HKEY_LOCAL_MACHINE
- Regpath: SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes
- Regvalue: ActivePowerScheme
- Rescan your assets (open their asset page or select all server from the Assets tab and hit Rescan)
- Run a report like the following to list the active power schemes


Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
Case tblRegistry.Value
When '381b4222-f694-41f0-9685-ff5bb260df2e' Then 'Balanced'
When '8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c' Then 'High Performance'
When 'a1841308-3541-4fab-bc81-f71556f20b4a' Then 'Power Saver'
Else 'Unknown/Custom' End As [Power plan],
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblRegistry On tblAssets.AssetID = tblRegistry.AssetID
Where tblAssetCustom.State = 1 And tblRegistry.Valuename = 'ActivePowerScheme'


For instructions on how to run a report, please refer to this note.

Reports & Analytics

Ask about reports you're interested in and share reports you've created. Subscribe to receive daily updates of reports shared in the Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now