Display Custom Information on Windows Lock Screen RRS feed

  • Question

  • Hello, 

    I have an XML file that updates daily and I want to display the date on the Lock screen so that users don't have to log in just to check that date. 

    Any ideas on how to display this date on the lock screen?

    please help i've been working on this for weeks with no suces

    Friday, September 20, 2019 12:53 PM

All replies

  • Friday, September 20, 2019 2:09 PM
  • Well, the "easy" way is to start an application in the winlogon desktop to display those data.

    You have to enumerate the WTS session, choose the one connected to the console, generally session 1, and then start your application on the winlogon desktop and take it to the foreground so the users can see whatever you want to display on it..

    To quickly test:

    psexec -x -d <yourapp>

    Windows key + L

    Alt+TAb (to show your app)


    Friday, September 20, 2019 2:18 PM
  • A procmon log shows that the process LogonUI.exe open this registry key to find the letter of the Lockscreen folder to open

    22:09:35,4463959 LogonUI.exe 15392 RegQueryValue HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SystemProtectedUserData\S-1-5-21-486948567-1615233778-3252808189-1001\AnyoneRead\LockScreen\(Default) SUCCESS Type: REG_SZ, Length: 14, Data: FEDCBA

    then it open the file at the correct resolution in the folder 

    22:09:35,5095667 LogonUI.exe 15392 QueryBasicInformationFile C:\ProgramData\Microsoft\Windows\SystemData\S-1-5-21-486948567-1615233778-3252808189-1001\ReadOnly\LockScreen_F\LockScreen___1280_0800_notdimmed.jpg SUCCESS CreationTime: 22/09/2019 18:10:40, LastAccessTime: 22/09/2019 18:10:40, LastWriteTime: 22/09/2019 18:10:40, ChangeTime: 22/09/2019 18:10:40, FileAttributes: ANCI

    If you change that file with the information you want to display you will find them on the lockscreen..

    But you need to take ownership of that file and then change back the permission to system..

    BGINfo doesn't support this today..

    You need another approach like the application I suggested before.


    • Proposed as answer by mariora_ Sunday, September 22, 2019 9:00 PM
    Sunday, September 22, 2019 9:00 PM
  • Another way to interact with the lockscreen is a Windows Universal App..

    Probably this is the best way:



    Monday, September 30, 2019 7:11 AM