How to automatically under-volt in XTU without opening it

Discussion in '2015+ Alienware 13 / 15 / 17' started by ThatOldGuy, Mar 3, 2017.

  1. bennycooly

    bennycooly Notebook Enthusiast

    Reputations:
    8
    Messages:
    27
    Likes Received:
    21
    Trophy Points:
    6
    Hey, thanks for the useful thread! I made a few changes to the script so that it waits for the undervolts to apply rather than calling sleep:

    $xtu = "C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\XTUCli.exe"
    $status = get-service -name "XTU3SERVICE" | Select-Object {$_.status} | format-wide
    if ($status -ne "Running") { start-service -name "XTU3SERVICE"}
    $procs = $( Start-Process -FilePath $xtu -PassThru -WindowStyle Hidden -ArgumentList "-t", "-id", "34", "-v", "-100";
    Start-Process -FilePath $xtu -PassThru -WindowStyle Hidden -ArgumentList "-t", "-id", "83", "-v", "-100")
    $procs | Wait-Process
    exit

    This way, we don't need to wait for the entire 4 seconds. Then, in Task Scheduler, simply choose to execute PowerShell.exe and then with the following arguments:
    -WindowStyle Hidden PATH_TO_SCRIPT\xtu.ps1

    The -WindowStyle Hidden basically runs the script without opening a window at all. I checked with reboots, shutdown, and wake from sleep, and it looks like these settings will stick.

    Hope this helps!
     
  2. Matthias Mahler

    Matthias Mahler Newbie

    Reputations:
    0
    Messages:
    4
    Likes Received:
    6
    Trophy Points:
    6
    Hey guys.

    First of all big thanks for the informations to auto apply the intel XTU Setting.

    I want to auto apply this settings to undervolt my 4790K (HTPC):

    [​IMG]
    Which IDs is for the setting:
    Turbo Boost Max = "78 W"
    Processor Current Limit: = "78 A"
    Turbo Boost Short Power Max ="85 W"
    CPU VCore Offset = "- 0.950"
    Turbo All Cores

    Big thanks for help.
     
    Last edited: Jun 4, 2018
    hmscott likes this.
  3. Matthias Mahler

    Matthias Mahler Newbie

    Reputations:
    0
    Messages:
    4
    Likes Received:
    6
    Trophy Points:
    6
    This helped me guys to load your Profile of XTU!: https://gist.github.com/michael-baker/f3962ba8d21ebd680b8e76c20eaa48c1

    01. Start Intel XTU & set & apply your own Profile.
    02. Start cmd.exe and write "cd C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility"
    03. Write into cmd.exe "XtuCLI.exe -i all"
    04. After that, go to path (windows explorer) "C:\XTU_xmlFiles" and open the file "Tuning.txt".
    05. Now you see all ids for your custom profile and take the informations for your own script.

    Have fun & good luck ^^
     
    Last edited: Jun 5, 2018
    hmscott and Mr. Fox like this.
  4. Mr. Fox

    Mr. Fox Undefiled BGA-Hating Elitist

    Reputations:
    24,633
    Messages:
    33,016
    Likes Received:
    47,975
    Trophy Points:
    931
    Thanks for sharing. Welcome to the community.
     
    hmscott and Matthias Mahler like this.
  5. Matthias Mahler

    Matthias Mahler Newbie

    Reputations:
    0
    Messages:
    4
    Likes Received:
    6
    Trophy Points:
    6
    hmscott likes this.
  6. Matthias Mahler

    Matthias Mahler Newbie

    Reputations:
    0
    Messages:
    4
    Likes Received:
    6
    Trophy Points:
    6
    Thank you for the welcome and this great community and the great and also the professional reviews!
     
    hmscott and Mr. Fox like this.
  7. 6.|THE|1|BOSS|.9

    6.|THE|1|BOSS|.9 Notebook Consultant

    Reputations:
    328
    Messages:
    255
    Likes Received:
    461
    Trophy Points:
    76
    Seems like to share this ps1 code here in case someone wanted to play with BCLK for 6700HQ as TS doesn't provide an option to change BCLK ..only XTU provide this option :) simply copy it on a notepad and then rename the extension file from .txt to .ps1 :)

    Here :) :-
    $status = get-service -name "XTU3SERVICE" | Select-Object {$_.status} | format-wide
    if ($status -ne "Running") { restart-service -name "XTU3SERVICE"}
    & 'C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\XTUCli.exe' -t -id 34 -v -155
    & 'C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\XTUCli.exe' -t -id 1 -v 102.700
    & 'C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\XTUCli.exe' -t -id 79 -v -155
    & 'C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\XTUCli.exe' -t -id 59 -v 11,5
    sleep 2
    stop-service -name "XTU3SERVICE"
    sleep 4
    stop-process -id $PID -force

    Thanks to @ThatOldGuy for providing this amazing idea :)
     
    Vasudev, ThatOldGuy and hmscott like this.
  8. Mer-One S. Bolinto Jr.

    Mer-One S. Bolinto Jr. Newbie

    Reputations:
    0
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    Hello sir. Im sorry to ask. But how do you exactly do step 4?
     
  9. Sen7inel

    Sen7inel Notebook Consultant

    Reputations:
    242
    Messages:
    140
    Likes Received:
    90
    Trophy Points:
    41
    1. Thank you for this powershell script!

    2. In order for this to work I had to Set-ExecutionPolicy Unrestricted in Powershell, otherwise the .ps1 woudn't execute through Task Scheduler.

    3. I had to stick my .ps1 in a path containing folders named without spaces. Tried single and double quotes around my path, no dice.

    Hopefully this helps someone
     
  10. zjones22

    zjones22 Newbie

    Reputations:
    0
    Messages:
    1
    Likes Received:
    1
    Trophy Points:
    6
    Cant i just go into XTU and go into pairing and automatically have it sync with powershell.exe and then have XTU open when computer starts up in task manager, makes it easier. Would this possibly be bad for the computer, so far i have found luck, only time i didnt is when i went to update to 1803 for windows. but i just did it all over again
     
    hmscott likes this.
Loading...

Share This Page