Deployment Solution

 View Only

Edit the Registry for Each Profile on a System 

Dec 29, 2008 12:07 PM

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.

Statistics
0 Favorited
0 Views
2 Files
0 Shares
0 Downloads
Attachment(s)
jpg file
6766.jpg   2 KB   1 version
Uploaded - Feb 25, 2020
txt file
Reg_Changes_HKCU.txt   727 B   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Apr 04, 2009 02:32 PM

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. 

Related Entries and Links

No Related Resource entered.