tomasz86 Posted September 6, 2012 Share Posted September 6, 2012 (edited) There is no HKU during Windows setup. What you add to HKCU will become HKU. Edited September 6, 2012 by tomasz86 Link to comment Share on other sites More sharing options...
submix8c Posted September 6, 2012 Share Posted September 6, 2012 Courtesy of jaclaz -http://www.911cd.net/forums//index.php?showtopic=24370&st=0&p=168043entry168043From this thread -"HKU" vs "HKCU" - Do you see the point now?Do read up on how a registry ONLINE is built from Individual OFFLINE Files. Link to comment Share on other sites More sharing options...
FixHELL Posted September 6, 2012 Author Share Posted September 6, 2012 There is no HKU during Windows setup. What you add to HKCU will become HKU.Hey it helped, may you explain codes, which shows with "x" ? Link to comment Share on other sites More sharing options...
jaclaz Posted September 6, 2012 Share Posted September 6, 2012 Do read up on how a registry ONLINE is built from Individual OFFLINE Files.For the record, the MS "base resource" is here:http://support.microsoft.com/kb/256986/en-usThe supporting files for HKEY_CURRENT_USER are in the %SystemRoot%\Profiles\Username folder.Registry hive Supporting filesHKEY_LOCAL_MACHINE\SAM Sam, Sam.log, Sam.savHKEY_LOCAL_MACHINE\Security Security, Security.log, Security.savHKEY_LOCAL_MACHINE\Software Software, Software.log, Software.savHKEY_LOCAL_MACHINE\System System, System.alt, System.log, System.savHKEY_CURRENT_CONFIG System, System.alt, System.log, System.sav, Ntuser.dat, Ntuser.dat.logHKEY_USERS\DEFAULT Default, Default.log, Default.savFolder/predefined key DescriptionHKEY_CURRENT_USER Contains the root of the configuration information for the user who is currently logged on. The user's folders, screen colors, and Control Panel settings are stored here. This information is associated with the user's profile. This key is sometimes abbreviated as "HKCU."HKEY_USERS Contains all the actively loaded user profiles on the computer. HKEY_CURRENT_USER is a subkey of HKEY_USERS. HKEY_USERS is sometimes abbreviated as "HKU."jaclaz Link to comment Share on other sites More sharing options...
tomasz86 Posted September 6, 2012 Share Posted September 6, 2012 (edited) There is no HKU during Windows setup. What you add to HKCU will become HKU.Hey it helped, may you explain codes, which shows with "x" ?What do you mean?If you give me one example of a registry setting which you want to add then I'll show you how to modify the hivedef.inf. Edited September 6, 2012 by tomasz86 Link to comment Share on other sites More sharing options...
FixHELL Posted September 6, 2012 Author Share Posted September 6, 2012 (edited) There is no HKU during Windows setup. What you add to HKCU will become HKU.Hey it helped, may you explain codes, which shows with "x" ?What do you mean?If you give me one example of a registry setting which you want to add then I'll show you how to modify the hivedef.inf.Every line has a "x" with some "zero" at end of that line.Did you get my talk? I thought it is saying for REZ_SZ, REG_DWORD and REZ_BINARY, But somewhere it's different. How i know this. Have any link for that i asked or you may explain. I can't ask all my modification. I want to do myself. Edited September 6, 2012 by FixHELL Link to comment Share on other sites More sharing options...
jaclaz Posted September 6, 2012 Share Posted September 6, 2012 Did you get my talk?Personally I cannot .Are you talking of SID's? http://en.wikipedia.org/wiki/Security_IdentifierIf you don't try to state, with the most detail you can WHAT you are trying to achieve, it will be improbable that you will get any proper answer, additionally, you may make the people now willing to try and help you upset, and thus loose any support from them .Standard Litany:http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/problem-report-standard-litany.htmlRisk of slipping on a chocolate covered banana:http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/put-down-the-chocolate-covered-banana.htmljaclaz Link to comment Share on other sites More sharing options...
tomasz86 Posted September 6, 2012 Share Posted September 6, 2012 (edited) Every line has a "x" with some "zero" at end of that line.Did you get my talk? I thought it is saying for REZ_SZ, REG_DWORD and REZ_BINARY, But somewhere it's different. How i know this. Have any link for that i asked or you may explain. I can't ask all my modification. I want to do myself.I also don't really understand what you're talking about That's why I asked for one example. Once it's clear how to add it to the hivedef.inf then it should be easy for you to do the same with the rest of the modifications. Edited September 6, 2012 by tomasz86 Link to comment Share on other sites More sharing options...
FixHELL Posted September 6, 2012 Author Share Posted September 6, 2012 i mean, here some examplesHKCU,"Control Panel\Accessibility\HighContrast","Flags",0x00000002,"126"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\SmallIcons","SmallIcons",0x00010003,0HKCU,"Control Panel\Appearance\Schemes","%BRICK%",0x00030001,You can every line has a x command with some zero. Like1st line has: 0x000000022nd line has: 0x000100033rd line has: 0x00030001so, can you explain me now? Link to comment Share on other sites More sharing options...
tomasz86 Posted September 6, 2012 Share Posted September 6, 2012 Do you mean this?; Registry Data Types; types with NCLOB don't overwrite existing values;; REG_SZ = 0x00000000 (or 0); REG_BINARY = 0x00000001 (or 1); Reg_SZ_NOCLOBBER = 0x00000002 (or 2); REG_BINARY_NOCLOBBER = 0x00000003 (or 3); REG_MULTI_SZ_APPEND = 0x0001000A; REG_MULTI_SZ = 0x00010000; REG_DWORD = 0x00010001; REG_MULTI_SZ_NOCLOBBER = 0x00010002; REG_DWORD_NOCLOBBER = 0x00010003; REG_MULTI_SZ_DELVAL = 0x00010006; REG_ADDREG_APPEND = 0x00010008; REG_EXPAND_SZ = 0x00020000; REG_EXPAND_SZ_NOCLOBBER = 0x00020002http://gosh.msfn.org/infs.htm Link to comment Share on other sites More sharing options...
jaclaz Posted September 6, 2012 Share Posted September 6, 2012 You can every line has a x command with some zero.More generally, those are HEX values.The common notation used is to pre-fix a hex number with 0x.0x1=1...0xA=10....0xF=15....0x00000002=2 (in "fixed format" hex)0x00010003=655390x00030001=196609http://pubs.logicalexpressions.com/pub0009/LPMArticle.asp?ID=361As tomasz86 just posted, some of these hex values correspond to a data type .jaclaz Link to comment Share on other sites More sharing options...
Geej Posted September 7, 2012 Share Posted September 7, 2012 SO NOW, HOW TO SET "COMMAND LINE" WHICH CAN PERFORM THAT JOB ON MY EVERY USER?what command i need set instead of "S-1XXXXXXXXXXXXXXXX" ?? will someone help?Alternatively, you can look into cmdlines.txt. This is a more documented approach. Also you can google more solution if you run into problems. Editing hivedef.inf requires user to put in inf syntax which not many user knows.cmdlines.txt msdn Scroll to Cmdlines.txt section. Read the last sentence.Basically you need to put in winnt.sif[Unattended]OemPreinstall=YesI did it this way:A 'cmdlines.txt' in SOURCEXP\$OEM$ folder <- create manually this folderA ForLoopT12.cmd in SOURCEXP\$OEM$ folder <- create manually this fileMany reg files in SOURCEXP\$OEM$ folder <- export all your reg tweaks to this locationIn 'cmdlines.txt, content as[Commands]"ForLoopT12.cmd"Content of ForLoopT12.cmdfor %%e in ("*.reg") do regedit.exe /S "%%e" Link to comment Share on other sites More sharing options...
FixHELL Posted September 7, 2012 Author Share Posted September 7, 2012 Do you mean this?; Registry Data Types; types with NCLOB don't overwrite existing values;; REG_SZ = 0x00000000 (or 0); REG_BINARY = 0x00000001 (or 1); Reg_SZ_NOCLOBBER = 0x00000002 (or 2); REG_BINARY_NOCLOBBER = 0x00000003 (or 3); REG_MULTI_SZ_APPEND = 0x0001000A; REG_MULTI_SZ = 0x00010000; REG_DWORD = 0x00010001; REG_MULTI_SZ_NOCLOBBER = 0x00010002; REG_DWORD_NOCLOBBER = 0x00010003; REG_MULTI_SZ_DELVAL = 0x00010006; REG_ADDREG_APPEND = 0x00010008; REG_EXPAND_SZ = 0x00020000; REG_EXPAND_SZ_NOCLOBBER = 0x00020002http://gosh.msfn.org/infs.htmNot worked somewhere.Ok let me know, how i change "Control Panel" view to "Thumbnails" using this "hivedef.inf" Link to comment Share on other sites More sharing options...
bphlpt Posted September 7, 2012 Share Posted September 7, 2012 What does that have to do with what you quoted? You are not making any sense at all that I can tell.Can you give several examples of what you want? Maybe one of them will make sense.I assume your first language is not English. Can you get a friend who does speak English to help you explain yourself better? Or will you tell us what languages you speak? Maybe someone here also speaks that language and can help translate.Cheers and Regards Link to comment Share on other sites More sharing options...
Geej Posted September 7, 2012 Share Posted September 7, 2012 FixHELL, get real. Post some actual registry code you have. Beating around the bush is pointless. 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