It is currently December 15th, 2019, 6:27 am

Rainmeter.exe?

General topics related to Rainmeter.
mak_kawa
Posts: 371
Joined: December 30th, 2015, 9:47 am

Rainmeter.exe?

mak_kawa » October 17th, 2019, 6:23 am

I can't find any information about this in Rainmeter Documents and Forums. If I am missing something, sorry.

What is the C:\Users\(username)\AppData\Roaming\Rainmeter\Rainmeter.exe?? This is with hidden attribute and very small file size (4608 bytes). If I deleted this file, nothing happens. And when Rainmeter executes, the Rainmeter.exe is recreated by someone, maybe "authentic" Rainmeter.exe...?!

Possibly I don't have to care about this file, but I still can't stop to care about. :-)
dvo
Posts: 657
Joined: February 7th, 2016, 6:08 am

Re: Rainmeter.exe?

dvo » October 17th, 2019, 6:27 am

did you open once a ini file from your explorer? it makes multiple files ... rainmeter.stat rainmeter.data rainmeter.log rainmeter.exe .... :welcome:
i think they forgot to clean it...after opening a ini file :D any rainmeter ini file will create that crap. only the ini file you have to keep!
that's your loaded skins file.... :lol:
mak_kawa
Posts: 371
Joined: December 30th, 2015, 9:47 am

Re: Rainmeter.exe?

mak_kawa » October 17th, 2019, 6:42 am

Hi dvo

Ah...no, I have never done editing/opening ini file via Explorer.
Now I deleted that hidden Rainmeter.exe and exit -> restart Rainmeter with batch command.

Code: Select all

taskkill /f /im rainmeter.exe
start "" "C:\Program Files\Rainmeter\Rainmeter.exe"
The small Rainmeter.exe is recreated at the moment when second line of batch command executed.

Maybe, someone of Rainmeter dev team will say "Don't care about it!!" :-)
dvo
Posts: 657
Joined: February 7th, 2016, 6:08 am

Re: Rainmeter.exe?

dvo » October 17th, 2019, 6:50 am

you just can delelte them but not the ini file because it's your loaded skins... and cares about it i hope so... maybe in the next release :P
ps. it doesn't effect your rainmeter so far as i know... :D
User avatar
Brian
Developer
Posts: 1932
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Rainmeter.exe?

Brian » October 17th, 2019, 7:35 am

mak_kawa wrote:
October 17th, 2019, 6:23 am
I can't find any information about this in Rainmeter Documents and Forums. If I am missing something, sorry.

What is the C:\Users\(username)\AppData\Roaming\Rainmeter\Rainmeter.exe?? This is with hidden attribute and very small file size (4608 bytes). If I deleted this file, nothing happens. And when Rainmeter executes, the Rainmeter.exe is recreated by someone, maybe "authentic" Rainmeter.exe...?!

Possibly I don't have to care about this file, but I still can't stop to care about. :-)
Rainmeter.exe located in the AppData folder is necessary for some older addons that needed to communicate with the Rainmeter process. It basically forwards any commands to the main Rainmeter process (located in the Program Files folder).

In the past, Windows would allow users write access to the Program Files folder where all your installed programs are located. This is where Rainmeter used to store all the settings, layouts and addons. For better security, later versions of Windows now remove write access to these "protected" folders in order to stop malware from overwriting programs.

When Microsoft changed the location to where settings *should* be stored (in AppData), some older addons for Rainmeter no longer worked since they assumed the main Rainmeter.exe process was located in a parent folder from where the addon exe was. So we created this executable to just forward commands from the addon exe to the main Rainmeter.exe process (in Program Files).

I hope that makes sense.

-Brian

PS - If anyone is curious to how this process is created and what is contained in it, the source code is here: https://github.com/rainmeter/rainmeter/blob/master/Library/Rainmeter.cpp#L798-L824
mak_kawa
Posts: 371
Joined: December 30th, 2015, 9:47 am

Re: Rainmeter.exe?

mak_kawa » October 17th, 2019, 7:55 am

Hi Brian

Thank you for adequate and detailed explanation. Now I understood about the "small" Rainmeter.exe in the Appdata folder. I have stopped to care about it. :-)