1 Reply Latest reply on Jun 3, 2016 3:56 AM by MarXtar

    Is there a way to disable the USB selective suspend setting within LANDesk Power Management?

    rdittman Apprentice

      Is there a way to control USB selective suspend setting LANDesk Power Settings?

       

      We are having problems with devices and the fix has been to change this setting. If we manually change it the setting appears to change but we have too many devices to change for it to be done manually. Have looked at registry settings but it seemed to take a bit more work than it initially appeared to make the change that way.

       

       

       

       

         

        • 1. Re: Is there a way to disable the USB selective suspend setting within LANDesk Power Management?
          MarXtar ITSMMVPGroup

          I found this thread : https://social.technet.microsoft.com/Forums/windows/en-US/d6fb2f71-4fac-4c9c-8383-ee9976893f98/disable-usb-selective-suspend-setting-for-windows-7-via-gporegistry?forum=w7itprogeneral

           

          There is lots about the registry keys involved but also a PowerCfg.exe command line that might work (haven't tried myself). Here is the extract:

           

          Extract

          To Change a single setting in a Windows 7 power plan for AC mode run:

          PowerCfg.exe -setacvalueindex (Guid of Power Plan) (Guid of Category) (Guid of Setting) (Value)

          To Change a single setting in a Windows 7 power plan for DC/Battery mode run:

          PowerCfg.exe -setdcvalueindex (Guid of Power Plan) (Guid of Category) (Guid of Setting) (Value)

          My power plan is set to the out-of-box High Performance profile.

          I run PowerCfg.exe /L to list the guids of my power plans.

          I run PowerCfg.exe /Q to list the categories, settings, and values available in the power plans.

          This yields:
          8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High Performance)
          2a737441-1930-4402-8d77-b2bebba308a3  (USB settings)
          48e6b7a6-50f5-4782-a5d4-53bb8f07e226  (USB selective suspend setting)

          So, for me, to Disable selective suspend on Windows 7 in the High Performance Power plan when plugged in, I run:

          Powercfg.exe -setacvalueindex 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0

          I ran ProcMon while running this and found it creates a single registry entry:
          [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\2a737441-1930-4402-8d77-b2bebba308a3\48e6b7a6-50f5-4782-a5d4-53bb8f07e226]
          "ACSettingIndex"=dword:00000000

           

          I ASSUME you can create similar settings for HKLM\system\currentcontrolset\control\power\user\powerschemes\(guid of power plan)\(guid of category)\(guidofsetting), but I strongly suggest you run your own ProcMon and find the Registry SET events on your machine(s) specifically.

           

          So nothing specific in LANDESK that I am aware of but you should be able to create something to distribute via LANDESK.

          If you are using 2016 then the new Actions you can send would allow you to set these registry keys quite easily.

          Mark McGinn

          MarXtar Ltd/MarXtar Corporation

          http://landeskone.marxtar.co.uk

          LANDESK One Development Partner

           

          Try MarXtar State Management for LANDESK to Better Understand and Manage your Assets