Login to participate
Endpoint Management & Virtualization DownloadsRSS

Edit the Registry for Each Profile on a System

pcalver's picture

Here is a batch process that we use in Deployment Solution to modify the registry (HKEY_CURRENT_USER) for each user on a system without logging them in.

The batch reads in each folder under "C:\documents and settings" then loads the ntuser.dat file using the reg.exe command line. Makes the modifications, in this case a couple of settings to IE. Then it unloads the hive. It does however fail on the user ID that is logged in running the batch. In our case this is not a problem since we are using an ID that is just for our IT Desktop Support.

Hope this helps others that need to do functions like this. The batch could easily be modified to perform file functions, such as a Delete, Rename, or Copy for each profile on a system.

License: AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.
Eshwar's picture

Active Setup

You can also make use of Active Setup registry keys to add HKCU related entries.
We often depend upon Active Setup when we package Applications for DS. All the applications are executed with a vbscript in silent mode and adding of HKCU entries for suppressing EULA & Registration will be done using Active Setup. 

Thanks,
Eshwar