Dear,
Welcome to the board.
Of course it is possible that you can change your registry based on an username.
As example we want to modify our IExplorer starting page based on specific
username.
Our example
code:
IF (Instr("-"+@userid+"-","-MCA-_RaVe_-") <> 0)
$start_page="http://kixtart.org"
ELSE
$start_page="http://www.google.com"
ENDIF
;
IF WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Start Page", $start_page, "REG_SZ") <> 0)
? "Warning KIX: error status @error (@serror)"
ENDIF
When you need more help please tell us more about
- which key you want to modify. possible that you need also additional rights to do that.
as a normal user you can't always change everything. - are there specific rules for the users with which we have to deal. in some situations
your value must be transfer to another value type. f.e. the owner's name in Office needs
a binary format. - for which windows environment you need this solution. within windows it aren't always
the same registry locations for all registry locations.
greetings.