It is currently July 4th, 2022, 5:58 am

Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

A package of skins with a "theme" or by a single author
Kaboloy
Posts: 10
Joined: December 21st, 2019, 8:27 pm

Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

Post by Kaboloy »

Good Morning!
Sorry - a error:
PowerShell3.png
There seems to be a problem with "&" (syntax error).
HWiNFO is installed by default (v7.24 by Chocolatey).
The Path to the script is correct (copied from the explorer address bar).
You do not have the required permissions to view the files attached to this post.
User avatar
SilverAzide
Rainmeter Sage
Posts: 1923
Joined: March 23rd, 2015, 5:26 pm

Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

Post by SilverAzide »

Kaboloy wrote: May 26th, 2022, 3:26 am Good Morning!
Sorry - a error:
PowerShell3.png
There seems to be a problem with "&" (syntax error).
HWiNFO is installed by default (v7.24 by Chocolatey).
The Path to the script is correct (copied from the explorer address bar).
You need to open a Powershell window to run Powershell scripts. From looking at your screenshot, you opened a Command window (DOS), so the "&" syntax is invalid.
Gadgets Wiki GitHub More Gadgets...
Kaboloy
Posts: 10
Joined: December 21st, 2019, 8:27 pm

Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

Post by Kaboloy »

Oh man, sorry! I told you, I doesn't care for PowerShell and scripts made with it :?
The following error now occurred:
PowerShell4.png
That means, amateurish translated:

Code: Select all

& : The file "C:\Users\Kino\Documents\PowerShell\RunRainmeterElevated.ps1" cannot be loaded. The file
& : The file "C:\Users\Kino\Documents\PowerShell\RunRainmeterElevated.ps1" is not digitally signed.
You cannot run this script in the current system. For more information about how to run scripts and set the
execution policy, see about_Execution_Policies (https:/go.microsoft.com/fwlink/?LinkID=135170).
In line:1 characters:3
+ & "C:\Users\Kino\Documents\PowerShell\RunRainmeterElevated.ps1"
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo             : SecurityError:     (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.2
Unfortunately, I do not understand the explanations on the MS page.
You do not have the required permissions to view the files attached to this post.
Last edited by Kaboloy on May 26th, 2022, 2:53 pm, edited 1 time in total.
User avatar
SilverAzide
Rainmeter Sage
Posts: 1923
Joined: March 23rd, 2015, 5:26 pm

Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

Post by SilverAzide »

Kaboloy wrote: May 26th, 2022, 1:22 pm Oh man, sorry! I told you, I doesn't care for PowerShell and scripts made with it :?
The following error now occurred:

That means:

Code: Select all

& : The file "C:\Users\Kino\Documents\PowerShell\RunRainmeterElevated.ps1" cannot be loaded. The file
& : The file "C:\Users\Kino\Documents\PowerShell\RunRainmeterElevated.ps1" is not digitally signed.
You cannot run this script in the current system. For more information about how to run scripts and set the
execution policy, see about_Execution_Policies (https:/go.microsoft.com/fwlink/?LinkID=135170).
In line:1 characters:3
+ & "C:\Users\Kino\Documents\PowerShell\RunRainmeterElevated.ps1"
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo             : SecurityError:     (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.2
Unfortunately, I do not understand the explanations on the MS page.
It looks like the security policy of your machine does not allow running Powershell scripts. If that's the case, then you will just have to run Rainmeter and HWiNFO manually. You could create a small batch file that runs each app, then run that batch file by right-clicking and selecting "Run As administrator". The Powershell script does the same thing, but had the feature where you did not have to "run as"; this isn't an option for you however.
Gadgets Wiki GitHub More Gadgets...
Kaboloy
Posts: 10
Joined: December 21st, 2019, 8:27 pm

Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

Post by Kaboloy »

Oh! Well, then I'll have to do it the way you say.
Thank you 1000 times for your effort and the nice sidebar skins!! :welcome:
Kaboloy
Posts: 10
Joined: December 21st, 2019, 8:27 pm

Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

Post by Kaboloy »

Hello,
only a info for users to have also an user account and will run Rainmeter & HWiNFO together with one click with advanced privileges to display all HWiNFO-sensors…
There are problems under Windows 10 with the previously posted PowerShell script from SilverAzide because Windows 10 restricted the execution of all unsigned PowerShell scripts by default. Please see previous posts for info and error message.

I have found something out…
The solution to this is the following:
Open a PowerShell window as admin and type the command

Code: Select all

Get-ExecutionPolicy
+ „Enter
If you get the info „Restricted“ (this is the default setting on Windows 10), type the command

Code: Select all

Set-ExecutionPolicy RemoteSigned
+ „Enter
Confirm with Yes „Y

This causes that local unsigned scripts can be executed. All other scripts downloaded from the internet are required to have been signed by a trusted authority.

@SilverAzide: now your script is working on my PC and I'm now just looking for a way to have it start automatically at boot-up.
...and also the CPU temp and fan load+rpm is displayed on your gadget! Thanks for your hints!
All works now very well :)

PS: and sorry for my less than perfect English – I hope it is reasonably understandable.

Bye bye
User avatar
SilverAzide
Rainmeter Sage
Posts: 1923
Joined: March 23rd, 2015, 5:26 pm

Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

Post by SilverAzide »

Kaboloy wrote: May 27th, 2022, 9:21 pm
Great news! Glad you got it all working!
Gadgets Wiki GitHub More Gadgets...
sempai
Posts: 2
Joined: June 24th, 2022, 9:05 pm

Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

Post by sempai »

Hi, I've had a problem for a good month now

On the drive widget, it is permanently at 100% and the counters remain at 0

any idea where it comes from ? I tried to uninstall and reinstall everything but nothing changes

thanks

Image
User avatar
SilverAzide
Rainmeter Sage
Posts: 1923
Joined: March 23rd, 2015, 5:26 pm

Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

Post by SilverAzide »

sempai wrote: June 24th, 2022, 9:09 pm Hi, I've had a problem for a good month now

On the drive widget, it is permanently at 100% and the counters remain at 0

any idea where it comes from ? I tried to uninstall and reinstall everything but nothing changes

thanks
Sure, this is a common problem. Reinstalling won't help because you have a corrupted Windows performance counter database. Check out the wiki article here: HOW TO: Fix your Performance Counters database.

If you run into issues, don't hesitate to post here. Don't wait a whole month, LOL, we're here to help! :)
Gadgets Wiki GitHub More Gadgets...
sempai
Posts: 2
Joined: June 24th, 2022, 9:05 pm

Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets

Post by sempai »

SilverAzide wrote: June 24th, 2022, 10:25 pm Sure, this is a common problem. Reinstalling won't help because you have a corrupted Windows performance counter database. Check out the wiki article here: HOW TO: Fix your Performance Counters database.

If you run into issues, don't hesitate to post here. Don't wait a whole month, LOL, we're here to help! :)
thanks, i have sucees the CMD but always the same bug

edit : its good, i have restart the PC and its done

thanks