Jump to content

Can't customize toolbar buttons using reg


Recommended Posts

I've searched the Forums, done registry compares, etc. and nothing seems to work to do what I need to do.

I wan't to ADD the Cut, Copy, Paste and Delete buttons to the toolbar in EXPLORER (Yes Explorer NOT Internet Explorer)

It seems that this customization is specific to each user and not a global setting (which I would like it to be) and it also appears to be computer specific. I've exported the following:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]

HKEY_USERS\S-1-5-21-73586283-1957994488-1708537768-1003\Software\Microsoft\Internet Explorer\Toolbar\{710EB7A1-45ED-11D0-924A-0020AFC7AC4D}

Then tried importing these on another machine and NO GO!

I've noticed on a different machine that the number following S-1-5-21 in HKEY_USERS is different, however the "{710EB7A1-45ED-11D0-924A-0020AFC7AC4D}" part is still the same.

I'm thinking that I need some sort of script or .bat file to hunt in the registry for an entry in HKEY_USERS that starts with S-1-5-21 and ends in -1003 then procede to the \Software\Microsoft\Internet Explorer\Toolbar\{710EB7A1-45ED-11D0-924A-0020AFC7AC4D} Path to add the data.

Any ideas??

Edited by Thinkster
Link to comment
Share on other sites


The SID which is the S-1-5-21-73586283... changes eash time you install XP.

And it's different on every computer.

If you apply the reg file at the T-12 point the reg tweaks will end up being

applied to all users.

Link to comment
Share on other sites

The SID which is the S-1-5-21-73586283... changes eash time you install XP.

And it's different on every computer.

If you apply the reg file at the T-12 point the reg tweaks will end up being

applied to all users.

That's what I figured the "SID" is unique on each install. That being the case, can something like REG QUERY or FIND STR be used in a .bat file to find the unique SID and store that in a variable that can be used later in the same bat file? And what is the T-12 Point?

Link to comment
Share on other sites

I've searched the Forums, done registry compares, etc. and nothing seems to work to do what I need to do.

I wan't to ADD the Cut, Copy, Paste and Delete buttons to the toolbar in EXPLORER (Yes Explorer NOT Internet Explorer) ...

I've been searching for this for a bit as well, and haven't had any luck. It drives me crazy having to change it every time.

Link to comment
Share on other sites

The SID which is the S-1-5-21-73586283... changes eash time you install XP.

And it's different on every computer.

This is correct but Microsoft already took care of that problem. If you search on msdn or google you will find that "HKEY_CURRENT_USER" (HKCU) is actually a subkey of HKEY_USERS... and in fact is equivalent to HKEY_USERs\{SID String} just as HKEY_CLASSES_ROOT is a subkey of HKEY_LOCAL_MACHINE.

Basically if you used RegShot and got:

----------------------------------
Keys added:1
----------------------------------
HKU\S-1-5-21-1844237615-1202660629-725345543-1003\Software\
Microsoft\Windows\CurrentVersion\Explorer\HideMyComputerIcons
----------------------------------
Values added:27
----------------------------------
HKU\S-1-5-21-1844237615-1202660629-725345543-1003\Software\
Microsoft\Windows\CurrentVersion\Explorer\
HideMyComputerIcons\{21EC2020-3AEA-1069-A2DD-08002B30309D}: 0x00000000

first you would replace all occurances of

"HKU\S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxx-xxxx" with "HKEY_CURRENT_USER" like so:

----------------------------------
Keys added:1
----------------------------------
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Explorer\HideMyComputerIcons
----------------------------------
Values added:27
----------------------------------
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\
HideMyComputerIcons\{21EC2020-3AEA-1069-A2DD-08002B30309D}: 0x00000000

then you would format the file into regedit compatable syntax like so:

Windows Registry Editor Version 5.00
;don't forgot this line above

; I'm condensing the key & subkey into 1 key entry with a value entry
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Explorer\HideMyComputerIcons]
"{21EC2020-3AEA-1069-A2DD-08002B30309D}"=dword:00000000

Have fun :D

btw if I should find any toolbar button values I will try and remember to post back. and in case anybody's curious i think my example code "Shows Control Panel in My Computer" but i haven't tested it so it might just as easily do nothing.

Edited by spiritpyre
Link to comment
Share on other sites

I also should have added when you apply any reg tweak to

[HKEY_CURRENT_USER\... at the T-12 or before, it will be applied to

every user. At least thats what I've observed on my unattened installs. Actually I believe its applied to the

.DEFAULT USER. Which is used to create each new user.

Edited by jbm
Link to comment
Share on other sites

Thanks JBM & Spiritpyre

That's good information for me to keep in mind.

I will be working on putting all the HKCU tweaks into a .reg file called

from CMDLINES.TXT because I would like those tweaks to be applied to all users.

Edited by Thinkster
Link to comment
Share on other sites

np & good luck

also another possible idea i have heard of is to make a fresh install of windows (no software etc.) and get everything configured how you like it and export entire registry branches (for example HKEY_CURRENT_USER) and reapply at t-13 stage. I have never tried it but i think i heard somewhere that some ppl do it this way.

Also I found out about a modified version of RegShot that creates the text files with .reg syntax so the is significanty less editing to do (thanks to Achdine for original post)

Edited by spiritpyre
Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...