FixHELL

registry invalid parameter

45 posts in this topic

:ph34r:

There is no HKU during Windows setup. What you add to HKCU will become HKU.

Edited by tomasz86
0

Share this post


Link to post
Share on other sites

:ph34r:

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" ?

0

Share this post


Link to post
Share on other sites

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-us

The supporting files for HKEY_CURRENT_USER are in the %SystemRoot%\Profiles\Username folder.

Registry hive	Supporting files
HKEY_LOCAL_MACHINE\SAM Sam, Sam.log, Sam.sav
HKEY_LOCAL_MACHINE\Security Security, Security.log, Security.sav
HKEY_LOCAL_MACHINE\Software Software, Software.log, Software.sav
HKEY_LOCAL_MACHINE\System System, System.alt, System.log, System.sav
HKEY_CURRENT_CONFIG System, System.alt, System.log, System.sav, Ntuser.dat, Ntuser.dat.log
HKEY_USERS\DEFAULT Default, Default.log, Default.sav

Folder/predefined key	Description
HKEY_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

0

Share this post


Link to post
Share on other sites

:ph34r:

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 by tomasz86
0

Share this post


Link to post
Share on other sites

:ph34r:

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 by FixHELL
0

Share this post


Link to post
Share on other sites

Did you get my talk?

Personally I cannot :(.

Are you talking of SID's? :unsure:

http://en.wikipedia.org/wiki/Security_Identifier

If 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 :ph34r: .

Standard Litany:

http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/problem-report-standard-litany.html

Risk of slipping on a chocolate covered banana:

http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/put-down-the-chocolate-covered-banana.html

jaclaz

0

Share this post


Link to post
Share on other sites

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 :no:

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 by tomasz86
0

Share this post


Link to post
Share on other sites

i mean, here some examples

HKCU,"Control Panel\Accessibility\HighContrast","Flags",0x00000002,"126"

HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\SmallIcons","SmallIcons",0x00010003,0

HKCU,"Control Panel\Appearance\Schemes","%BRICK%",0x00030001,

You can every line has a x command with some zero.

Like

1st line has: 0x00000002

2nd line has: 0x00010003

3rd line has: 0x00030001

so, can you explain me now?

0

Share this post


Link to post
Share on other sites

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 = 0x00020002

http://gosh.msfn.org/infs.htm

0

Share this post


Link to post
Share on other sites

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=65539

0x00030001=196609

http://pubs.logicalexpressions.com/pub0009/LPMArticle.asp?ID=361

As tomasz86 :thumbup just posted, some of these hex values correspond to a data type .

jaclaz

0

Share this post


Link to post
Share on other sites

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=Yes

I did it this way:

A 'cmdlines.txt' in SOURCEXP\$OEM$ folder <- create manually this folder

A ForLoopT12.cmd in SOURCEXP\$OEM$ folder <- create manually this file

Many reg files in SOURCEXP\$OEM$ folder <- export all your reg tweaks to this location

In 'cmdlines.txt, content as

[Commands]
"ForLoopT12.cmd"

Content of ForLoopT12.cmd

for %%e in ("*.reg") do regedit.exe /S "%%e"

0

Share this post


Link to post
Share on other sites

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 = 0x00020002

http://gosh.msfn.org/infs.htm

Not worked somewhere.

Ok let me know, how i change "Control Panel" view to "Thumbnails" using this "hivedef.inf"

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

FixHELL, get real. Post some actual registry code you have. Beating around the bush is pointless.

0

Share this post


Link to post
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.