It is currently August 11th, 2022, 1:55 am

Rainmeter'ed Lock-Screen

Get help with creating, editing & fixing problems with skins
ruedigers
Posts: 2
Joined: June 16th, 2011, 7:24 am
Location: hiding in the shadows

Rainmeter'ed Lock-Screen

Post by ruedigers »

Hi all, :bow:

I am wondering if it is possible to use Rainmeter to pimp the Lock-Screen - which is probably more or less the same as the Logon-Screen. :confused:

I would like to have some feeds scroll through plus a ticker on the bottom or so. Which is another question: can Rainmeter do tickers? :confused:

Thanks in advance for any answer! :great:
I have not omitted anything, unless it was intentional. I have foreseen that those people, that claim to know everything, would say I would have said nothing that they knew not before - if I had made myself clear enough.
Anonymous
User avatar
Falconer
Posts: 115
Joined: August 12th, 2009, 4:10 pm
Location: Behind you!

Re: Rainmeter'ed Lock-Screen

Post by Falconer »

As far as I know, it's not possible to use Rainmeter to modify the Windows Login screen. :(

Though, I have seen stock/rss tickers before. I've never used one, but I'm pretty sure if you look around DeviantART or here on the forums you'll be able to find an example.
ruedigers
Posts: 2
Joined: June 16th, 2011, 7:24 am
Location: hiding in the shadows

Re: Rainmeter'ed Lock-Screen

Post by ruedigers »

Well, Thanks for your answer! :thumbup:

Seems that there are lots of Apps out there that can change the look and feel of the Logon-Screen, none can add content. I guess I was hoping it was possible since the "freed" iPhones can do it.

But I'll keep my eyes open... O.O
I have not omitted anything, unless it was intentional. I have foreseen that those people, that claim to know everything, would say I would have said nothing that they knew not before - if I had made myself clear enough.
Anonymous
User avatar
santa_ryan
Posts: 397
Joined: June 22nd, 2010, 4:11 am

Re: Rainmeter'ed Lock-Screen

Post by santa_ryan »

You could get extremely complex with the use of autoit, rainmeter, and lua to do this.

Kill all instances of explorer to hide the interface, capture all windows hotkeys with autoit and nullify them, and use autoit for your "Logging In" by providing an input box, and typing in a password stored within the file (secret because its compiled, and store the source in a passworded zip file), then use rainmeter as you see fit. I have imagined doing this before, but never really wanted to try it. Also, its fairly safe, as if the autoit file for some reason fails and stops responding, it will stop capturing the windows hotkeys and in turn you can just use task manager.

Or you could use rainmeter input boxes to retrieve the password, then use Lua to check it.
I have three rules when I'm trying to help you.
  • Don't get mad when you don't understand something
  • Be VERY specific with what you ask for.
    The more specific you are, the higher the quality of support you receive.
  • Do not just copy and paste what I put in examples and come back saying it doesn't work.
    It does work, but I purposely left blanks that you need to fill for your specific needs.
JohnCoool
Posts: 20
Joined: July 26th, 2020, 10:57 pm

Re: Rainmeter'ed Lock-Screen

Post by JohnCoool »

After about 9 years I have a solution. I hope it is still valid.

The solution will not modify the lock screen. It will run over it.

I posted a question in another forum to find a way to run weather on Windows lock screen. I found a solution using rainmeter and a few others that is simple. During my search for the solution I saw this question and decided to update it once I have a solution.

This is the link to the solution: https://windowsforum.com/threads/run-programs-on-lockscreen-of-win7-8-1.250494/

I am pasting the solution here below from that same link.

-------------------------------------------------------------------------------------------------------

The next post is the safer way to run live wallpaper on the lock screen (because IrfanView gives access to disk files.) do the same thing but it is more complicated.

I found a solution by using the following method.

It takes 3 programs to get it to work as soon as the Screen is locked. The same method works on both Win 7 and 8.1. Tested and works on Windows 10 as well

The three programs are listed here below with links to download them. There is one more program mentioned for running live wallpaper on LockScreen.

All programs are free

RunSaver

https://runsaver.de.softonic.com/?ex=TRAF-469.1

Rainmeter

Download the final release: https://www.rainmeter.net/

Nircmd (At the bottom of the page. Not the 64 bit one.)

https://www.nirsoft.net/utils/nircmd.html

-----------------------------

Runsaver: is to run any program when screensaver is triggered. (This will replace any screensaver you might be using).

Rainmeter: is an amazing program with plenty of features. It works by installing skins which creates a background with many components. The background can also have some or all components on top of all windows. It can also run components from many different skins at the same time without needing any editing. If it will be used then check YouTube videos and use their Forum (I get response within 1hr on Forums. They have very good support).

Irfanview : is a media viewer and should be set as the default tool to run Gif files (if another one is not already in use).

-----------------------------

As for running weather on lockscreen as soon as it is locked then use the following method:

Extract Runsaver and add the two files called runsaver.exe and runsaver.scr to windows\system32 folder and for 64bit windows also add it to SysWOW64 folder.


To Change the program that will run on the screensaver then open the Windows screensaver tool and click on settings and add the path to the program that will run on screensaver.

Runsaver will create INI file in the both directories which will be identical and no need to worry about them. (I had an issue on win 8.1 and where it did not update the changed program.) If there is an issue then just search for all the runsaver.ini files under the windows directory and delete them, then add the program that you want again. (There will be more than 2 Runsaver.ini because windows will add the runsaver files to more directories. If not found then search the entire C directory for Runsaver.ini)

To use enable runsaver so that it runs the program when screensaver starts just choose runsaver as the windows screensaver.

To exit screen saver after it starts just press on Ctrl+Alt+Del. Mouse or other keyboard buttons do not seem to do so.

Because Runsaver takes over the entire screen you will need to create everything including the background if it is not taking up the entire area with Rainmeter.

After installing Rainmeter, create all the things you want to show on the lock screen including the clock. (I was searching for a way to display clock on lock screen like it is on Win 8, 10 and many also searched for it in forums. The one available is a tool that does not look good as it takes over the entire lock screen and works with a strange timer setting).

The below link is for the latest updates for the weather that work. Others on the web are old and do not work. Not all will provide the needed information. Some of them can be made to be glass and transparent.

Weather Skins - Rainmeter Forums

Rainmeter works by using INI files for quick editing. They are edited with the notepad program. For safety on the lockscreen you will need to disable right click by using the following code.

Just under

[Rainmeter]

add

RightMouseUpAction=[]

in the INI file and save it.

To disable setting then just delete the INI settings file.

There are options for each component to be at the bottom or at the top of others or on top of all windows. This will need to be done if the components are not showing up. (They might be behind others).

To run live wallpaper on lock screen then it is recommended to use GIF files because videos will run with complete player control (Which is a security risk).

I use IrfanView as the default GIF player. It has options to run immediately in fullscreen and will show directory on the top left corner by text which can be removed from the features. If used in fullscreen then it can exit with the esc button.

Choose the GIF file in the Runsaver application path.

Some programs will not run on runsaver if they are already running on the computer. So close the program to work on the lock screen if there is an issue.

Then you can just proceed with the login after exiting the Runsaver screensaver.

Only Rainmeter needs to be allowed through the firewall for live weather updates.

Sometimes it might be needed to install the beta version. I recently had to use it because of some issues with weather. However, any issue you might be facing just request for support on the forum.

To run the screen saver as soon as the screen is locked regardless of the delay assigned then create the batch file. To create a batch file then open a text file and change the extension from ".txt" to ".bat". To edit the batch file just right click on it and choose edit.

Enter the following commands in the batch file and save it.

-----------------
@echo OFF

Timeout /T 6

Nircmd.exe Screensaver

Exit

----------------

The number after Timeout is the number of seconds.

Then create a task in task scheduler (Default program in Windows). Name it something related to this guide.

On the triggers tab, just use “On Workstation lock” from the drop down menu.

On the actions tab, choose the batch file that was created.

On the conditions tab, uncheck ”Start the task only if the computer is on AC power” for laptops and tablets.

After boot up the screen saver runs within a few moments (Even before login) and Crtl+Alt=Del will not exit it. Press on Crtl + Mouse right click then go to Rainmeter then Exit.
Last edited by JohnCoool on October 2nd, 2020, 4:22 pm, edited 1 time in total.
JohnCoool
Posts: 20
Joined: July 26th, 2020, 10:57 pm

Re: Rainmeter'ed Lock-Screen

Post by JohnCoool »

The safer way to run Live Wallpaper on the lock screen. (System resources can still be accessed if Crtl + mouse right click are pressed).

The more secure method:

It takes 3 programs to get it to work as soon as the Screen is locked. The same method works on both Win 7 and 8.1. Tested and works on Windows 10 as well.

The programs are listed here below with links to download them.

All programs are free.

RunSaver

https://runsaver.de.softonic.com/?ex=TRAF-469.1

Nircmd (At the bottom of the page. Not the 64 bit one.)

https://www.nirsoft.net/utils/nircmd.html

RainMeter (To Run GIF as live wallpaper)

https://www.rainmeter.net/

Winrar

WinRAR download free and support: Download
WinRAR is a data compression tool for Windows that focuses on RAR and ZIP files. It also supports CAB, ARJ, LZH, TAR, Gzip, UUE, ISO, BZIP2, Z and 7-Zip

https://www.win-rar.com/

-----------------------------

Runsaver: is to run any program when screensaver is triggered. (This will replace any screensaver you might be using).

Rainmeter: is a very good program that has many features. This guide is only to run the GIF file on lock screen. The rainmeter forum is very good and can get support within one hour. Rainmeter Beta is stable and can run the latest skin but the Final one can’t always run the latest skins.

Nircmd: Used to run Screensaver as soon as the screen is locked in combination with a batch file and a scheduled task.

Winrar: Used to extract the downloaded compressed files if another one is not available already.

-----------------------------

Extract Runsaver and add the two files called runsaver.exe and runsaver.scr to C:\windows\system32 folder and for 64bit windows also add it to C:\windows\SysWOW64 folder.

To use Rainmeter on screen saver then just Choose open screensaver configuration and click on settings then choose the path to Rainmeter.

Runsaver will create INI file in the both directories which will be identical and no need to worry about them. (I had an issue on win 8.1 and where it did not update the changed program.) If there is an issue then just search for all the runsaver.ini files under the windows directory and delete them, then add the program that you want again. (There will be more than 2 Runsaver.ini because windows will add the runsaver files to more directories. If not found then search the entire C directory for Runsaver.ini)

To use enable runsaver so that it runs the program when screensaver starts just choose runsaver as the windows screensaver.

Extract Nicmd files and add them to C:\windows\system32 folder. (If it gives an error then extract the contents to a folder that you create on the desktop then copy the contents to that location).

To run live wallpaper on lock screen then it is recommended to use GIF files because videos will run with complete player control which is a security risk.

Exit
Runsaver can run any program but it can run only one (It is not recommended to run just any program on lock screen as it might give access to all files on the PC). To exit the program running on the screensaver then Just press Ctrl+Alt+Del (or delete).

-----------------

Choose Rainmeter.exe in the Runsaver location path.

There are many GIF files available for download on the internet.

You can create GIF files by using an extension from Chrome store.

Follow the guide in the below link to create GIF files and to edit the code so that it works. It will show how to extract the GIF files frames into images which needed to run in Rainmeter. Just edit the name of the file which is before the number and include the correct number of frames. Add the Frames to the correct directory that is provided in the code.

I just edited the example code in the link and the moved the frames to the correct location and it works well.

https://docs.rainmeter.net/tips/animated-gif-files/

To disable right click on the GIF file for security reasons. Then just add the below code anywhere under [Rainmeter]

RightMouseUpAction=[]

Some programs will not run on runsaver if they are already running on the computer. So close the program to work on the lock screen if there is an issue.

Then you can just proceed with the login after exiting the Runsaver screensaver on the lock screen.

To run the screen saver as soon as the screen is locked regardless of the delay assigned then create the batch file. To create a batch file then open a text file and change the extension from ".txt" to ".bat". To edit the batch file just right click on it and choose edit.

Enter the following commands in the batch file and save it.

-----------------
@echo OFF

Timeout /T 6

Nircmd.exe Screensaver

Exit

------------------

The number after Timeout is the number of seconds.

Then create a task in task scheduler (Default program in Windows). Name it something related to this guide.

On the triggers tab, just use “On Workstation lock” from the drop down menu.

On the actions tab, choose the batch file that was created.

On the conditions tab, uncheck ”Start the task only if the computer is on AC power” for laptops and tablets.

After boot up the screen saver runs within a few moments (Even before login) and Crtl+Alt=Del will not exit it. Press on Crtl + Mouse right click then go to Rainmeter then Exit.