windows - Adding Entries to HKCU for all users -
i trying run registry file each users when first log in. looking @ different options add hkey_current_user
couldn't definitive answer. need direct me right direction.
so have following commands
reg add "hkey_local_machine\software\microsoft\active setup\installed components\foo.reg" /v "version" /d "1" /t reg_sz /f add hkey_current_user\c:\mykit\foo.reg /v "enablerpcencryption" /d "1" /t reg_dword /f" /f
ican execute them , reg_key doesn't run when first login new user.
i running windows 2012 server
add appropriate registry settings within hku.default using same relative paths. log in new user , check see settings present.
you can create group policy object (gpo) runs users , checks see if hkcu registry key present , adds if necesary.
if not keen on gpo, can write batch file , place in within startup folder of users start menu.
Comments
Post a Comment