In Windows, there are generally 2 ways a program automatically launches
- Start Up folder
- A Registry entry (in HKLM,HKCU/Software/Microsoft/Windows/CurrentVersion/Run
Is there a way to prevent applications from being added for automatic startup?
Note: I am not talking about manually deleting the registry keys/startup shortcuts or using the msconfig
utility.
For example, I put deny privileges for all users to read/access/write to the HKLM registry key, which helped some. I do not want to to do that to HKCU since there are legitimate things in there I want started.
So, I am looking for a method to prevent anything (legitimate applications, virues, malware, etc) from adding themselves as an entry, but allow the valid ones already entered to be read.