Registry edit that can call an individual user's SID in Windows?
February 21, 2008 3:28 PM Subscribe
How do I change a registry value that is user-specific? The location is different on every computer, due to the use of the SID in H_Key Users. Look inside for boring specifics.
posted by Psionic_Tim to Computers & Internet (7 answers total) 1 user marked this as a favorite
Here's what I'm working on, and I'm surprised it takes this much effort to accomplish. We're rolling out Office 2007. What we've decided to do is use the Quick Access Toolbar as a small substitute for simple commands that our users would not like to have to hunt down. That part's figured out.
What's stumped me is a registry edit that I'd like to make. Office 2007 has an option that will put the Quick Access Toolbar beneath the ribbon. I tried to make this option change from the Office Customization Tool, but it doesn't list it as an option.
What I need to do is change the value of:
The problem is, each user's SID is different, and I can't find an environment variable for the SID so that every user's computer would modify that registry key.
I've written a batch file that can call the SID and manually change it, but I'd like to integrate it into the OCT setup so the end user doesn't have to run the batch file to set the option.