-
July 28th, 2009, 04:06 PM
#1
run on startup problem
I have added my program to "HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run" so it will start when any users logon. When i logon as a standard user it runs, but when i log in as the Administrator, it doesnt. Has anyone seen this?
123
-
July 29th, 2009, 03:14 AM
#2
Re: run on startup problem
This should normally work since you have added in the Run key of HKLM.
However, if you're using Vista or above, there is a chance that the created entry is in a virtualized path which can only be read by the standard user.
-
July 29th, 2009, 11:21 AM
#3
Re: run on startup problem
You are right, i am only seeing this problem with Vista and Win7. The admin password is required to install(which is when the key is added), so i thought this would take care of any virtualization problems. I will try again with a modified manifest file, requesting admin privileges, and see if that fixes the problem.
Thanks,
Steve123
-
July 29th, 2009, 05:19 PM
#4
Re: run on startup problem
i tried the new install with a changed manifest file that requires Admin privilages, but it still doesnt run automatically at startup when i log in to the admin account. Does anyone else have any ideas?
steve123
-
July 30th, 2009, 01:22 AM
#5
Re: run on startup problem
-
July 30th, 2009, 12:34 PM
#6
Re: run on startup problem
i turned off windows defender and still the app does not startup. I'm not sure why this is happening but i guess my only choice now is to write a service to kick off the app.
steve123
-
July 30th, 2009, 06:39 PM
#7
Re: run on startup problem
What does the app do when it starts up? Does it access any resources that aren't available to the machine administrator account?
As a test, add notepad to the HKLM\...\Run key. Then test it under the machine admin account.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|