Resolving Crackling, Throttling, and "Ultmate Performance Option" in Lenovo Thinkpad P16 (Gen 2)

Even I should be able to follow that.

Thank you!

Jeff

Another dumb (quick) question.

I am copying the location (right click).

Should I select:

Copy Address

or

Copy Address as Text

Jeff

(My bit of research suggests the ā€œas textā€ option, or else it inserts additional language that should not be included. But, I figure I will wait for confirmination).

Okay, I think I did exactly as you suggested. (sorry about all the ā€œhand holdingā€)

I get a reply as follows:

& : The term `C:\music\utility scripts’ is not recognized as the name of a cmdlet, function, script file, or operable program…

I had copied and pasted the location as text and it looks exactly like you wrote (I even recreated that same file name and structure).

Then I thought maybe the problem was the path had to include the file name (including .psi), so I tried that and got this response:

& : The term `C:\music\utility scripts\SetSafeUltimate.psi’ is not recognized as the name of a cmdlet, function, script file, or operable program…

I tried again with .psi at the end. Now I get:

& : File C:\music\utility scripts\SetSafeUltimate.psi cannot be loaded. The file C:\music utility scripts\SetSafeUltimate.psi is not digitally signed. You cannot run this script on the current system.

Then it gave a Microsoft link regarding Execution Policies

Jeff

It should be .ps1 not .psi

About the execution policy: right click on the SetSafeUltimate.ps1:

In the popup menu click ā€˜properties’. Probably at the bottom there’s a message about the file being blocked, because it’s from the internet. Remove the block and try again.

Maybe post a screenshot in this thread of the powershell window with the command executed (or having failed to execute)

Thank you, Frank.

I checked off ā€œunblockā€. I will let you know how it goes.

Jeff

It seems to work! Let’s see if crackling occurs. It shows a bunch of deletions (makes sense).

We’ll open up GP and see if I get crackling now.

Then (if there is no crackling), will see if we get crackling after shutting down and restarting.

Thanks for your patience,

Jeff

Update, no crackling this session. We’ll see if it sticks.

Update: I closed everything down, waited a few hours, and restarted the computer and GP (without running anything in Powershell). No crackling!

I’ll check again in am.

1 Like

Final Post on this topic (hopefully).

I have restarted the computer twice, including after shutting it down overnight.

There is no crackling. (I did not run through the Powershell process each time).

So, Frank’s script (seemingly) not only cleared out the old registration entries and fixed the crackling until the next start up, it seems like it permanently changed my laptop to the Ultimate Power setting and fixed the issue. (If it comes back, let’s say after an Windows update, I’ll just run the script again).

Thanks to everyone in the Community for helping me with this. As far as I am concerned, this Community itself is worth the price of admission. I don’t see how I would have fixed this without this forum.

And special thanks to Frank for all the help (above and beyond) to get this resolved.

Jeff

3 Likes

Glad you got it sorted! Sorry if this has already been discussed, just wanted to mention make sure your laptop is plugged in. Lenovo especially throttles the CPU when not plugged in.

Thx, ztones, yes, always plugged in.:slight_smile:

I figure I would add to this about another issue that could pop up (probably for users who are not in the computer field).

I was having difficult getting Frank’s script to work on my backup laptop (Lenovo Thinkpad P.16 (Gen 2) with Windows 11.

See this link if you get an error about a restricted execution policy: windows server 2008 r2 - PowerShell says "execution of scripts is disabled on this system." - Stack Overflow

And you can check out this link for more discussion: Power options on Asus Vivobook - #6 by npudar

Hello, I’m looking for support on this issue. I have a windows 11 thinkpad t14 and, following the optimization guide, I can’t seem to create the ā€œulimate power planā€. So I found myself on this thread. I’ve downloaded @Frank1119 s zip file used the & ā€˜file location’ in command prompt but get the following response:

is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:3

  • & ā€˜C:\Users\westo\Documents\Gig Performer\SetSafeUltimate.ps1’
  • + CategoryInfo          : ObjectNotFound: (C:\Users\westo\...afeUltimate.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

This might not be helpful, but I can tell you the two laptops I did this with (both Lenovo Thinkpad P16 Gen 2) I had to try multiple times to get it right.

I think some of the times, there was something imperfect about the file path. I felt I was sure it was right, but I think I got the above message several times.

Then another time a got the message about it being blocked. Maybe this can help:

Then there was another issue in Windows 11 about a restricted execution policy:

But, it looks like your message is because there is something imperfect about the file path.

Oh, make sure you have Admin privileges.

And also, I think I have an issue when I located the file in in a location under my user name. (Don’t ask me why).

But, I kept trying (and bothered Frank when I needed to!).

If I were you I would keep trying and carefully look at the above issues and whether the file path is perfect.

Then if you get another error message, you can look into the other issues.

Good luck!

People migrate from one platform to another. There are users migrating from macOS to Windows (Jett Durham, for example).

It all depends on your needs, money, time, and knowledge.

[blog] Cross-platform usage and moving from one platform to another

1 Like

Wrong quotes.

Use 'straight ones' instead of ā€˜nice ones’

Websites tend to mangle the quotes. :exploding_head:

1 Like

I use Windows about 30 years, give or take. The first years, especially the bit versions were really troublesome, but I can’t complain about its stability for the last 10 years.

One thing I learned: do only the needed amount of tweaking. Overdoing it usually leads to systems with unexpected side effects.

I don’t think all fat is trimmed off of macos.

Btw: I don’t want to start a war about mac vs. Windows. Both have their merits and the best thing someone can do is using what works for him/her/*.

Just my two cents. :beers:

3 Likes

Did you get this fixed?

As usual, I think Frank had the answer

Jeff

Thanks for asking, I haven’t had the chance to try. How does one change to straight quotes? I’m only aware of the ’ key next to the ; key.

I found this:

https://answers.microsoft.com/en-us/msoffice/forum/all/how-do-you-type-single-and-double-quotes-used-in/ddf6bbf8-1b6b-4cbe-b215-dbebcb4c7d4f

(Maybe Frank will chime in. :))

Maybe copy and paste this line doesthe trick?:

& 'C:\Users\westo\Documents\Gig Performer\SetSafeUltimate.ps1'

(Sorry it took so long. I’ve been rather busy)