VBS script or method for writing "logged in user" HKCU keys , while installing under system context
I had a script that a packager I contracted with gave me, and I lost my backup data. He had a VBS script for writing "logged in user" HKCU keys , while installing under system context. Example: SCCM deployment(system) installing an msi that writes HKCU keys, and add the VBS script to add the keys to the current logged in user, NOT the system account.Any help appreciated
thanks and regards,
Community Chosen Answer
The key may exist under HKey_Users even if the user is not logged in. Also, the solution may depend on whether the user has a local or roaming profile. Are there no apps in production that use this script that you could recover the script from?
Finally, you don't actually need to log a user off to force active setup. Just kill the explorer tasks and restart explorer. Generally doesn't get noticed too much by users unless they are actually navigating the file system with an explorer session when it happens. However, as VBScab mentioned, if there is an advertised entry point in the app, you can use self healing to populate the user profile. Even if there isn't, it's not that difficult to find a way of adding one.
Answered 05/13/2015 by: EdT
Please log in to comment
log in to commentPlease