Re: Install program at startup

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks for your reply. Will the HKLM\RunOnce run as a local admin? I
tried this earlier. When I logged in with an admin account, the
program installed OK, but when I used an unprivileged account, the
program did not install.

Thanks
-Joe

On May 14, 4:51 pm, "Wesley Vogel" <123WVogel...@xxxxxxxxxxx> wrote:
Add a String Value (REG_SZ) here...

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
CurrentVersion\RunOnce

Value Name can be anything. Value Data should be the path to the file. For
example,
C:\ProgramFiles\MRU-Blaster\indexcleaner.exe

Will run once and the key will be deleted.

By default, Run keys are ignored in Safe mode. The value name can be
prefixed with an exclamation point to defer deletion of the value until
after the command has been completed. The value is deleted before the
command line is run unless overridden as noted above. As a result, if a
RunOnce operation fails to run properly, the component that failed will not
be asked to run again the next time you start the computer.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

Innews:1179177684.771925.129660@xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
Joe Topjian <j...@xxxxxxxxxxxx> hunted and pecked:

Hello -

I have an MSI that I'd like to have installed duringstartup

I know I can use a Local or Group policy and just specify theprogram
under ComputerStartup(rather than User Logon) or even use Software
Distribution, but is there any other way -- specifically without using
a Policy?

Thanks
-Joe


.



Relevant Pages

  • Re: Groups
    ... It is a bad idea to add normal users to the admin account, ... legitimate reasons to add certain users to the local admin accounts. ... Power Users can install most - but not all - software. ... Free Computer Help - http://forums.techarena.in ...
    (microsoft.public.windows.server.active_directory)
  • Re: Permissions
    ... The local admin account and password are in sync. ... Joe Richards Microsoft MVP Windows Server Directory Services ... full control share permissions but limited NTFS permissions propagated ...
    (microsoft.public.windows.server.security)
  • Re: Best Practice for Domain & Local Admins
    ... are you referring to the Security one within Event Viewer that can be included in mailed reports? ... 3)I'm guessing the answer is yes, but should the pass phrase philosophy be set for BOTH domain AND local admin accounts? ... Make that admin account a passphrase. ... Any administrative tasks that need to be accomplished on local machines would use the local admin account. ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003 Premium, user changes password and loses network share access
    ... If no local admin account, log on as a domain admin. ... profile that has local admin permissions on the workstation. ... Merv Porter [SBS-MVP] ...
    (microsoft.public.windows.server.sbs)
  • ISA Permissions
    ... The ISA is AD Mode. ... I Installed isa with local admin account, ... domain admin account, I put domain admin account in the ...
    (microsoft.public.isa)