eviltoad
New member
Ok heres what Id like to be able to do.
Using an app built in vb6 or vb.net (not fussed) edit a number of keys found in "NTUSER.dat". Basically allow the user to choose from list of options (i.e. dissable/enable user to add printers, etc) this would build the series of key changes to be made and when submitted carry them out without asking for permision on overwriting.
There are two manual methods I currently know of doing it. These are to either run regedit then load the hive to HKEY_USERS make edits then unload hive (Which can be time consuming if a lot.) Alternatively write a batch file that does the same thing but with dos (quicker but does prompt you "are you sure you wanna overwrite?" all the time, so a tad anoying).
If anyone can shed a little light on as to how to script the:
1. load/unload hive into HKEY_USERS.
2. How to edit a key without getting the confirmation message.
It would be appreciated. The rest, generating the list of keys, error catching, etc, isnt a problem its just actual registry editing bit looks to be a nightmare.
Using an app built in vb6 or vb.net (not fussed) edit a number of keys found in "NTUSER.dat". Basically allow the user to choose from list of options (i.e. dissable/enable user to add printers, etc) this would build the series of key changes to be made and when submitted carry them out without asking for permision on overwriting.
There are two manual methods I currently know of doing it. These are to either run regedit then load the hive to HKEY_USERS make edits then unload hive (Which can be time consuming if a lot.) Alternatively write a batch file that does the same thing but with dos (quicker but does prompt you "are you sure you wanna overwrite?" all the time, so a tad anoying).
If anyone can shed a little light on as to how to script the:
1. load/unload hive into HKEY_USERS.
2. How to edit a key without getting the confirmation message.
It would be appreciated. The rest, generating the list of keys, error catching, etc, isnt a problem its just actual registry editing bit looks to be a nightmare.