Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Config loader...

Discuss anything to do with plugins

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
Guest

Config loader...

Post by Guest »

I have written a very simple program in VB that will automatically copy a config file into the LCD smartie install directory depending on the username. This will allow you to set up different screens for different users on the PC.

My problem is I need to know where inthe registry can I add a key that will launch my program upon login for ALL users? I have tried several keys but can only get it to launch when I log onto my own account?

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

try this
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Guest

Post by Guest »

I have tried that key. I added a test user account to my pc and logged onto it... nothing?

I also tried HKEY_USERS\.DEFAULT\Software... blah blah but still no luck.

I simply want to add a string to the registry so that no matter who logs on it will run my app... having real trouble with it for some reason!

Is there already a type of plugin to do this? Am I wasting my time when I could download this type of add-on instead?

IFR
Plugin Author
Posts: 201
Joined: April 6th, 2005, 12:59 am
Location: Canada
Contact:

Post by IFR »

try to copy your program into the windows startup folder

Guest

Post by Guest »

Yes I also know of this method but it will only work for the current user... not all of them!

The program is written and I have tested extensivley on my own machine using my own user account. I simply need this last part sorted and I can release it

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

Have you tried
[WIN Installation Drive]:\Documents and Settings\All Users\Start Menu\Programs\Startup

What's put in that folder is opened every time windows starts/user logs in, even when more users log in on a windows machine. Watch out instead cause multiple instances of smartie are not working and usually the first instance is interrupted (not a rule).

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

limbo wrote:try this
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
I was pretty sure that LOCAL_MACHINE section belongs to all users... Image

I'll try to check it and inform you...

dperrow
Plugin Author
Posts: 276
Joined: May 27th, 2011, 2:13 pm
Location: Stirling, Scotland

Re: Config loader...

Post by dperrow »

You could try running LCDSmartie from the taks scheduler and using the option to start when a user logs on. This is how mine is set up on win7 x64.


Last bumped by Anonymous on January 29th, 2013, 9:57 am.

Post Reply