Good Morning!
Sorry - a error:
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).
It is currently September 21st, 2024, 2:53 am
Gadgets 7.8.0 - inspired by AddGadgets.com Sidebar Gadgets
-
- Posts: 10
- Joined: December 21st, 2019, 8:27 pm
Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 2738
- Joined: March 23rd, 2015, 5:26 pm
Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets
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.
-
- Posts: 10
- Joined: December 21st, 2019, 8:27 pm
Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets
Oh man, sorry! I told you, I doesn't care for PowerShell and scripts made with it
The following error now occurred: That means, amateurish translated:
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.
The following error now occurred: 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
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.
-
- Rainmeter Sage
- Posts: 2738
- Joined: March 23rd, 2015, 5:26 pm
Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets
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.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:https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.2Code: 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
Unfortunately, I do not understand the explanations on the MS page.
-
- Posts: 10
- Joined: December 21st, 2019, 8:27 pm
Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets
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!!
Thank you 1000 times for your effort and the nice sidebar skins!!
-
- Posts: 10
- Joined: December 21st, 2019, 8:27 pm
Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets
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 + „Enter“
If you get the info „Restricted“ (this is the default setting on Windows 10), type the command + „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
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
If you get the info „Restricted“ (this is the default setting on Windows 10), type the command
Code: Select all
Set-ExecutionPolicy RemoteSigned
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
-
- Rainmeter Sage
- Posts: 2738
- Joined: March 23rd, 2015, 5:26 pm
-
- Posts: 2
- Joined: June 24th, 2022, 9:05 pm
Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets
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
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
-
- Rainmeter Sage
- Posts: 2738
- Joined: March 23rd, 2015, 5:26 pm
Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets
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!
-
- Posts: 2
- Joined: June 24th, 2022, 9:05 pm
Re: Gadgets 7.3.0 - inspired by AddGadgets.com Sidebar Gadgets
thanks, i have sucees the CMD but always the same bugSilverAzide 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!
edit : its good, i have restart the PC and its done
thanks