It is currently November 25th, 2020, 1:51 pm

Rainmeter starting automatically when charger connected

Get help with installing and using Rainmeter.
User avatar
rbriddickk84
Rainmeter Sage
Posts: 229
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Rainmeter starting automatically when charger connected

Post by rbriddickk84 »

jsmorley wrote: November 11th, 2020, 1:34 pm I'm not quite sure why that would be. What Rainmeter does when it is installed is place a shortcut to Rainmeter in

%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup.

That is all it does, and unchecking that box will remove that shortcut. I suspect that somehow he had another place where Rainmeter was being started, somewhere in the Registry, or perhaps in Task Manager, but it wasn't Rainmeter that created that.
My steps was like these:

-Uninstall/reinstall rainmeter with unchecking that mark + deleting the stuffs from startup folders if exists. Those were already empty after reinstall.

-Checking Start-up sections in task manager for any reasons.

-Deleting the appdata/local/temp folder contents (i wrote a batch script ages ago which auto-deleting everything in that folder)

-Deleting the contents of Windows/Temp folder (the same Batch script taking care of that as well)

-Modifying registry entries.

-Checking and if modifying the Services.msc for any reasons.

Only so far it seems the uninstaller external softwares were doing the job, removing some deep, hidden stuff what might Windows itself creates and bury it 6 feet under. :)
User avatar
jsmorley
Developer
Posts: 21544
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Rainmeter starting automatically when charger connected

Post by jsmorley »

rbriddickk84 wrote: November 11th, 2020, 1:49 pm My steps was like these:

-Uninstall/reinstall rainmeter with unchecking that mark + deleting the stuffs from startup folders if exists. Those were already empty after reinstall.

-Checking Start-up sections in task manager for any reasons.

-Deleting the appdata/local/temp folder contents (i wrote a batch script ages ago which auto-deleting everything in that folder)

-Deleting the contents of Windows/Temp folder (the same Batch script taking care of that as well)

-Modifying registry entries.

-Checking and if modifying the Services.msc for any reasons.

Only so far it seems the uninstaller external softwares were doing the job, removing some deep, hidden stuff what might Windows itself creates and bury it 6 feet under. :)
Strange. I have no idea what might have been put in some dark corner of Windows for this. Certainly it wasn't Rainmeter directly, as literally all the installer does it put that shortcut in Startup.
User avatar
jsmorley
Developer
Posts: 21544
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Rainmeter starting automatically when charger connected

Post by jsmorley »

Have you ever installed Rainmeter "As administrator"? I wonder if that could possibly be a factor. I don't know.
dvo
Posts: 1034
Joined: February 7th, 2016, 6:08 am

Re: Rainmeter starting automatically when charger connected

Post by dvo »

maybe with admin rights it would work ok ... windows always likes full rights... maybe it needed elevated rights... ( lefts are for dirty jobs ) wiping your ass with windhoos lol :sly:
User avatar
jsmorley
Developer
Posts: 21544
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Rainmeter starting automatically when charger connected

Post by jsmorley »

dvo wrote: November 11th, 2020, 2:03 pm maybe with admin rights it would work ok ... windows always likes full rights... maybe it needed elevated rights... :sly:
Well, my question was more related to whether or not he had ever previously installed Rainmeter "As administrator". My thinking was that perhaps, and I don't know, Windows is less likely to allow the latest installation, which was presumably done NOT "As administrator", to modify the previous installation. I don't have any reason to really believe this, since in any case all Rainmeter does is put that shortcut in Startup, which you either can or can't delete, but who knows what Windows does under the covers.
dvo
Posts: 1034
Joined: February 7th, 2016, 6:08 am

Re: Rainmeter starting automatically when charger connected

Post by dvo »

i know just remove the shortcut and it doesn't start on startup that's why i'm using revo-uninstaller you can check all even your startup ... ;-)
User avatar
SilverAzide
Posts: 1002
Joined: March 23rd, 2015, 5:26 pm

Re: Rainmeter starting automatically when charger connected

Post by SilverAzide »

The Start menu is a union of three different folders. A Start menu shortcut can be in any of those three places. For the "Startup" folder itself, it is these three unioned together:
  • C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  • C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
The first one is where Rainmeter's shortcut goes (normally). If someone, or something, were to move or copy that shortcut to one or more of the other folders, then Rainmeter's uninstaller probably wouldn't see it. I think the third folder corresponds to the "All Users" folder, which might be where it could go if installing for "all users" (not sure if that is a thing anymore... it used to be).
Gadgets Wiki GitHub More Gadgets...
User avatar
jsmorley
Developer
Posts: 21544
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Rainmeter starting automatically when charger connected

Post by jsmorley »

SilverAzide wrote: November 11th, 2020, 4:52 pm The Start menu is a union of three different folders. A Start menu shortcut can be in any of those three places. For the "Startup" folder itself, it is these three unioned together:
  • C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  • C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
The first one is where Rainmeter's shortcut goes (normally). If someone, or something, were to move or copy that shortcut to one or more of the other folders, then Rainmeter's uninstaller probably wouldn't see it. I think the third folder corresponds to the "All Users" folder, which might be where it could go if installing for "all users" (not sure if that is a thing anymore... it used to be).
Well, it's a union in a logical sense, but not really an actual union, in that the Startup folders for

C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

Are both checked to see if they contain programs or shortcuts when Windows starts up.

The one in AppData is the start menu associated with a named account, the one that logged in. Presumably you, but it might not be if you share your computer.
The one in ProgramData is the "all users" Start menu, which is used no matter what account logs in.

The one in Default is used as a "template" when you create a new account on the system. Nothing in Startup there (in any case the folder doesn't exist by default) will be executed.
User avatar
rbriddickk84
Rainmeter Sage
Posts: 229
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Rainmeter starting automatically when charger connected

Post by rbriddickk84 »

jsmorley wrote: November 11th, 2020, 1:52 pm Strange. I have no idea what might have been put in some dark corner of Windows for this. Certainly it wasn't Rainmeter directly, as literally all the installer does it put that shortcut in Startup.
My suspicion goes to windows as well, it created something evil somewhere. :D
Weirdly Rainmeter launched only when i plugged in to power my laptop. (and ofc when i launched it)
jsmorley wrote: November 11th, 2020, 1:52 pm Have you ever installed Rainmeter "As administrator"? I wonder if that could possibly be a factor. I don't know.
Uhm, not really. I tried to make my windows as elevated as possible in rights. I mean i am the only person, who is using that windows and laptop, i so used to modify the windows, even in the XP and 7 era to minimize the stuffs what windows puts in my face. I meant that that "confirm this and that you have the admin rights" and sht. I wanted to remove all unnecessary confirmations as possible.

I know that windows cannot be castrated that much what i dreamt of, but i tried. Also i know that even if i have the highest priviliges in windows, if i run things specifically As Admin, then the outcome will differ.
User avatar
Brian
Developer
Posts: 2075
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Rainmeter starting automatically when charger connected

Post by Brian »

I would be curious to know which version of Rainmeter you are using.

A while back, I corrected an issue where the "Launch Rainmeter on startup" option would not be removed when unchecked.
https://docs.rainmeter.net/history/#r3279

-Brian