Sign in to follow this  
Followers 0
ryzion

Changing registry keys using wildcards

4 posts in this topic

Hi guys,

I've found various solutions for delteting registry values using wildcards but none for changing them.

Lets say I have to change the value of the keys ending with config e.g. "various...data config" in

HKLM\Path\Version.Version\config

what would be the best way to approach it?

best regards

Share this post


Link to post
Share on other sites



The reason that you cannot input with a wildcard, is because wildcards are used for searching. If I understand what you want to do correctly, you would want to read the values first, you would probably want to split it, and then you would write to the registry. Without knowing what sort of data you will be dealing with though, it is quite hard to give a definite answer. Can you please give an example of what sort of value you want to change, and what you want to change it to?

Share this post


Link to post
Share on other sites

Hi,

it's a string (REG_EXPAND_SZ) with random content, I'll have to overwrite.

keyname looks like "%some_pc_components% configuration", the value is random data.

Share this post


Link to post
Share on other sites

sorry I ment the valuename looks like "%some_pc_components% configuration", the key is always the same

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0