You can try these articles for more information: http://blogs.msdn.com/asanto/archive/2006/01/22/516009.aspx[^] http://www.thescripts.com/forum/thread259111.html[^] However, you are still probably better off doing this the "right" way and either doing this only at install time, or write the application following the Vista security rules (using application manifests, etc.) If you must do this, you will need to either run the application with admin privileges or launch a separate elevated process (application) that manipulates this key in response to the user clicking a button, etc. that will prompt for credentials. You might also be able to get around this by running in XP Compatability mode, but that's just a workaround.
Scott.
—In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai [Forum Guidelines] [Articles] [Blog]<</div>