HKCU regwrite using vbscript in System Context
I know per user files/registry settings are not possible under System Context but I'm trying to deploy a simple drop and run package controlled through vbscripting. In an msi package, this is very simple by doing an active setup. What are the possible solutions that I can try?
My main vbscript will call for the installer and then after install, an hkcu settings should be imported. I already tried using reg.exe import with no success. Don't know if run once is applicable when executed in standard user account. This is going to be deployed using SCCM (though the deployment server aint setup yet so i dont know how the testing will be). Thanks!
Community Chosen Answer
There are numerous ways to do this, but activesetup is probably the easiest. You don't need MSI to do activesetup, but msi can be used to set it up.
Here is a good basic article on setting up active seutp: http://www.itninja.com/blog/view/appdeploy-articles-activesetup
Though they use msi commands, you can use any command you wish (both in stubpath and in setting up activesetup to hklm), you probably will have issues with limited accounts unless you use repair with msi though. Again IF you have limited accounts to worry about.
Run once can be used but you need to install it on each profile already on the computer, and also the default profile for new accounts that login. IF multi-user support is required. I personally use msi self-heal, or active setup before this, too complicated and too much work.
It sounds like this isn't an app which is launched via shortcut (aka it auto-runs or is passive). But if not, you can also use advertised shortcuts (msi installer) and self-heal to add per user keys.