Kelsenellenelvian Posted May 13, 2006 Share Posted May 13, 2006 This is what I got to make the explorer buttons small and it works fine when ran manually but when used in runonceex or cmdlines it doesnt work. This is the final step I need to complete this setup. Does anyone have any idea of another way to achive this?Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SmallIcons]"SmallIcons"="yes"[HKEY_USERS\S-1-5-21-789336058-1972579041-725345543-1003\Software\Microsoft\Windows\CurrentVersion\Explorer\SmallIcons]"SmallIcons"="yes" Link to comment Share on other sites More sharing options...
xpmaniac4ever Posted May 13, 2006 Share Posted May 13, 2006 HKEY_USERS\S-1-5-21-789336058-1972579041-725345543-1003Kel, that long number S-1-5-21-789336058-1972579041-725345543-1003 is changing with every Windows install so it won`t work this way. Try to change HKEY_USERS\S-1-5-21-789336058-1972579041-725345543-1003 to HKEY_USERS\.DEFAULT . This way, the tweak should be applied to all users on the system. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 13, 2006 Author Share Posted May 13, 2006 That didn't work sorry. Any other ideas? Link to comment Share on other sites More sharing options...
boooggy Posted May 13, 2006 Share Posted May 13, 2006 i have one but i will tell u on IM...... Link to comment Share on other sites More sharing options...
bear7 Posted May 13, 2006 Share Posted May 13, 2006 how to get SID number.First i must say that my english it isn't very good.OK 1. we need a small application - WHOAMI.EXE. You can find him in your WindowsXP CD in SUPPORT\TOOLS2. Create folder who's name a APM, I was do this for AutoPlay MENU Builder application.3. Copy WHOAMI.exe to APM4. Create a file CMD, name him a GET.CMD, copy GET.CMD to APM and write in him:@echo offclswhoami /USER /SID > SID.txtFOR /F "TOKENS=4* DELIMS=, " %%I IN (SID.TXT) DO ( SET SID=%%I)echo Windows Registry Editor Version 5.00>registration.regecho [HKEY_USERS\[COLOR=red][B]%SID%[/B][/COLOR]\Software\AutoPlay Menu Builder\Registration]>>registration.regecho "DontShowNAG"="1">>registration.regecho "Name"="BeAr">>registration.regecho "Code"="registration_code">>registration.regdel SID.txtdel SIDB.txtThis script creates a reg file:Windows Registry Editor Version 5.00[HKEY_USERS\S-1-5-21-117609710-1580436667-725345543-1003\Software\AutoPlay Menu Builder\Registration]"DontShowNAG"="1""Name"="BeAr""Code"="reg_code"I was create a 7zip selfextracting archiv. So that its all. Link to comment Share on other sites More sharing options...
Djé Posted May 13, 2006 Share Posted May 13, 2006 (edited) Kels, this is not a problem of SID or whatever. HKCU works fine.The problem, as usual, is to find the right time(s) to import it. Which can change from one tweak to another.This one tweak is really picky and needs the desktop (or explorer for that matter) to be allready loaded in order to work (that's why it works manually).But you can't import it at T12 nor with direct RunOnceEx.You'll need to make use of the 'programs\startup' folder to import it after the desktop is loaded.I've made a little batch that take care of this thing together with a couple of others needing the startup folder, if you want to give it a glimps... Edited May 13, 2006 by Djé Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now