HKCUSoftwareMicrosoftWindowsCurrentVersionAppletsRegedit is the key where Regedit stores these settings. The trick is to set the key's ACL (access control list) so that you can't write to it, and then Regedit can't store its last view settings there. You can either delete the values in this key, and Regedit uses defaults every time it starts, or you can customize them, and Regedit uses your custom settings every time it starts. In either case, set the key's ACL so that you can read but not write values.
Dig deeper on Windows Operating System Management
Related Q&A from Jerry Honeycutt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.