views:

15

answers:

2

Hi! We have an application which creates an HKCU entry when first run by each user. As the registry is locked down, this causes an error and requires our Tech Support to grant then remove access each time. We have 300 users and can rollout the application's installation remotely via a LANDesk batch file package. I need to be able to add something to the batch file which will pre-install the key for all users. Does anyone know if this is possible and how I might go about it?

A: 

use reg.exe

It's available on Windows from XP onwards.

polemon
Thanks Polemon. looks good for amending the registry. Can you help me with how I use it to amend all existing HCKU keys and default for new ones?
BillyWiz
With *all* HKCU keys, do you mean all in the /HKCU/ directory? That would be many, to say the least!
polemon
A: 

Polemon- sorry, I didn't explain myself very well. I want to add a key that appears in every existing and every new user's HKCU, so that it is present when they first run the newly installed application. I assume this means adding it to the HKU section but this is a guess

BillyWiz