none
Adjust for best performance

Tutte le risposte

  • Hi,

    I think this is a good selection. But this is the wrong forum for your question. Because it doesn´t concern to Powershell.

    Please use the windows Forum for it.


    regards Thomas Paetzold visit my blog on: http://sus42.wordpress.com


    • Modificato Peddy1st domenica 24 giugno 2012 14:09
    domenica 24 giugno 2012 14:08
  • All of these items are individually settable, as you will see if you run the following code:

    cd hkcu:\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects
    gi *
    

    However, there doesn't seem to be a registry entry to select between the radio buttons on the above graphic.

    Grant Ward, a.k.a. Bigteddy

    domenica 24 giugno 2012 16:23
  • I have found, by experimenting, that if you create a DWORD entry directly off the VisualEffects key, with a value of 2, it sets the computer to best performance setting:


    Grant Ward, a.k.a. Bigteddy

    domenica 24 giugno 2012 16:48
  • My Powershell answer:

    $path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects'
    try {
        $s = (Get-ItemProperty -ErrorAction stop -Name visualfxsetting -Path $path).visualfxsetting 
        if ($s -ne 2) {
            Set-ItemProperty -Path $path -Name 'VisualFXSetting' -Value 2  
            }
        }
    catch {
        New-ItemProperty -Path $path -Name 'VisualFXSetting' -Value 2 -PropertyType 'DWORD'
        }
       


    Grant Ward, a.k.a. Bigteddy

    domenica 24 giugno 2012 17:27
  • Hi,

    Thank you for the script,

    It is really checks the "Adjust for best performance" radio button and uncheck all options, but....

    It is not take an effect. I checked that in some machines.

    But by trying to implement that manually and click on the "Ok" button, then it will take effect.

    I tried also to reboot the machine in order to check if that helps, but it is not.

    Can you please help me solve the above problem,

    Regards,

    Bader


    • Modificato Nadim2522 lunedì 25 giugno 2012 13:40
    lunedì 25 giugno 2012 13:39
  • Yes, I also found that although the settings show as changed, the effect is not changed.  I can't explain this.

    Grant Ward, a.k.a. Bigteddy

    lunedì 25 giugno 2012 17:12
  • Hi,

    oh sorry, but is missunstood you. You asked for assistance changing the power control setting configuring directly the registry.

    The registry mentioend by bigteddy seems to be wrong as this Microsoft KB article says:

    http://support.microsoft.com/kb/935799

    Have a look at the section called: "How to use the registry to set the preferred power plan"

    Hope this helps.

    Kind regards

      Thomas


    regards Thomas Paetzold visit my blog on: http://sus42.wordpress.com

    lunedì 25 giugno 2012 17:47
  • Hi,

    oh sorry, but is missunstood you. You asked for assistance changing the power control setting configuring directly the registry.


    No, I don't think the OP is looking to change the Power Plan options. (Although that's a useful link you gave).  As you can see in the first post, the OP wants to change the visual effects.  It is strange that the registry mod that I suggested seems to work, and yet doesn't really.

    Grant Ward, a.k.a. Bigteddy

    lunedì 25 giugno 2012 17:53
  • Hi Bigteddy,

    but this is quite normal that changing the registry doesn´t perform instantly. Because registry is red by system during the logon process. If you change the key in a running session you need a process to read the changed value again and "execute it". I think if you change the setting changing the registry key and after that starting the dektop application and close it without changing then the key is interpreted by the system. right? This is the same behavior like changing other settings .

    Some time ago I tried to change the screensaver the same way (configuring during registry changes) but the changes took affekt after the next logon.


    regards Thomas Paetzold visit my blog on: http://sus42.wordpress.com

    lunedì 25 giugno 2012 20:11
  • Hi,

    any upopdates? If your question is answered it would be nice if you mark it accordiongly because this may help others.

    Kind regards

      Thomas


    regards Thomas Paetzold visit my blog on: http://sus42.wordpress.com

    giovedì 28 giugno 2012 04:12
  • I've done some fairly extensive testing with Windows 7 and Server 2008 R2.  The "VisualFXSetting" solution appears to have no actual impact on the "Adjust for best performance" system option.  In none of my testing did that registry key have an impact on performance settings, and modifying the performance settings via the GUI did not write any changes to that key.

    I've seen this suggestion posted on many sites, but it appears to be inaccurate.

    I used regshot to capture the registry changes when modifying this setting via the GUI, and there were 143 modifications to the registry when I switched from letting Windows manage it, to selecting "adjust for best performance"

    It would be really great if there were an option to apply these settings with GPO, or powershell, or  a commandline exe, but I've been unable to find anything like that. 

    mercoledì 26 dicembre 2012 20:54
  • Have just spent most of my morning trying to crack this. 

    Download this - http://www.msfn.org/board/index.php?app=core&module=attach&section=attach&attach_id=3726

    It works flawlessly every time. Have tested on XP, Windows 7 & Windows 8 machines.

    The original compiled code can be found here - http://www.msfn.org/board/topic/31999-adjust-for-best-performance-through-command-line/

    I grabbed AutoIt, and pasted the code in, making sure to change the following below, to provide a separate script for 'Adjust for best appearance'.

    ;click on "Adjust for best performance"
    WinWaitActive("classname=#32770")
    ControlClick("","","Button3")
     

    So glad I came across this, thought it might make a few more people happy.

    mercoledì 12 giugno 2013 11:56
  • Hello, I'm used this for the same at a smart way:

    best_performance.reg:

    Windows Registry Editor Version 5.00

    ; ###
    ; Visual Effects
    ; ###

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects]
    "VisualFXSetting"=dword:00000002

    ; Do not Animate windows when minimizing and maximizing
    [HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
    "MinAnimate"="0"

    ; Disable Animations in Taskbar and Start Menu
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "TaskbarAnimations"=0
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "TaskbarAnimations"=-

    ; Disable desktop composition
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]
    "CompositionPolicy"=0

    ; Enable transparent glass
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]
    "ColorizationOpaqueBlend"=0

    ; Disable Taskbar Thumbnail Previews
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]
    "AlwaysHibernateThumbnails"=dword:00000000

    ; Disable Explorer Thumbnails (All Users)
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "DisableThumbnails"=dword:00000001

    ; Disable translucent selection rectangle
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "ListviewAlphaSelect"=0

    ; Dont show window contents while dragging
    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "DragFullWindows"=0

    ; Dont smooth Edges of Screen Fonts
    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "FontSmoothing"="0"

    ; Use drop shadows for icon labels on the desktop
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "ListviewShadow"=0

    ; Disable visual styles on windows and buttons
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager]
    "ThemeActive"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ThemeManager]
    "ThemeActive"=-

    ; Disable following:
    ; * Animate controls and elements inside windows
    ; * Smooth-scroll list boxes
    ; * Slide open combo boxes
    ; * Fade or slide menus into view
    ; * Show shadows under mouse pointer
    ; * Fade or slide ToolTips into view
    ; * Fade out menu items after clicking
    ; * Show shadows under windows
    ; * Use Visual styles on windows and buttons
    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "UserPreferencesMask"=hex:90,12,01,80,10,00,00,00

    And finally, restart Themes(English) or Temas(Spanish) Service, for changes take effect:

    used in .cmd or .bat file:

    @Echo off
    echo "Restart Themes/Temas Service ..."

    net stop themes
    net start themes

    giovedì 29 agosto 2013 07:35