General discussion

Locked

Run a program on login

By paulsenj ·
Hi,

I am looking for a way to run a program the first time a person logs on tto a machine. I just want to run it once (when the profile is created) and not run the next time that person logs in.

What I am trying to do is the use the OpenOffice server installation and workstation installation. This requires the main program to be installed by an admin and then a client install on every user account.

Thanks,

J. Paulsen
IT Coordinator
Frederic School District

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by w2ktechman In reply to Run a program on login

leave the path to the program in this registry key
HKLM\software\microsoft\windows\currentversion\runonce\

Collapse -

by paulsenj In reply to

Poster rated this answer.

Collapse -

by jhoup In reply to Run a program on login

Are your clients running 2K or XP and is the Installer an MSI? If so, you can do the following:

1) Add a Registry Key to each Workstation that will point to the install. (You can do this using the REG command)
2) Set the Domain Policy to Elivate Install Rights.

Example: (Copy, Paste and Edit)
REG ADD hkcu\Software\Microsoft\Windows\CurrentVersion\RunOnce\ /v NewAPP /t REG_EXPAND_SZ /d "\\SERVER\NETLOGON\Install.msi"

or

You can just add the install to Group Policy under:
User Configuration
-Software Settings
--Software Installation

You will still need to set the elivated prevlidges for this. Otherwise, you will need to use the RUNAS command at each workstation one by one.

Collapse -

by paulsenj In reply to

Poster rated this answer.

Collapse -

by paulsenj In reply to Run a program on login

It is an .exe and it installs only in the user profile so no permission adjustment should be needed.

I am curious as to the format of the registry key answer. Could you provide an example of how it should look?

Thanks

Collapse -

by paulsenj In reply to Run a program on login

This question was closed by the author

Back to Windows Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums