bmn Posted September 6, 2005 Share Posted September 6, 2005 hiactaully i was searching for a method for adding regtweaks for all useraccounts.EX:- visual settings [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"ListviewWatermark"=dword:00000000"ListviewShadow"=dword:00000001"ListviewAlphaSelect"=dword:00000000i tried cmd lines.txt,runonceEX.cmd but non of them worked.(these r working only for current account.when i create another account,iam not able to get those settings).during search i found this method.ie HIVEDEF.INFso i converted above regfiles to inf format.HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ListviewShadow",0x00010001,1HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ListviewWatermark",0x00010001,0HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ListviewAlphaSelect",0x00010001,0but it also failed.so what iam doing wrong?help me plsthanks Link to comment Share on other sites More sharing options...
prathapml Posted September 6, 2005 Share Posted September 6, 2005 You have to apply the regtweaks to HKCU itself, that part you are doing right.The other part is, you need to apply it at T-13 (via cmdlines.txt) - if this part is not working for you, then maybe there's some error in the way it was done....That way, you get the tweaks applied to the default user (which is the base for all users created after first boot). Therefore all users will have it applied.Its working fine for me. Basically you do this:create a file called "cmdlines.txt" directly in the $OEM$ folder. (note: no spaces in filename).That cmdlines.txt file gets parsed as if it was a batch file, at T-13, automatically by windows setup. Have the paths written correctly. Here's my cmdlines.txt, for a sample:[Commands]"regedit /S mytweaks.reg"(where the file "mytweaks.reg" is also placed in the same directory - $OEM$)Do try it and tell us how it goes Link to comment Share on other sites More sharing options...
bmn Posted September 6, 2005 Author Share Posted September 6, 2005 firstly thanks prathapml for ur reply.yes.iam using cmdlines.txtmy other regtweaks r applied through this cmdlines.even that ListviewShadow=1 key is also working but only for the account to whcih autologin is enabled(using oobinfo) for installing appz(wpi).but when i create another account(manually through control pannel) that regkey failed.**what abt ths HIVEDEF.INFcan i use this for regkeys. Link to comment Share on other sites More sharing options...
bmn Posted September 8, 2005 Author Share Posted September 8, 2005 is my inf format is correct.i think iam doing some thing wrong at the format conversion.imean 0x00010001 or 0x00000001 etc. Link to comment Share on other sites More sharing options...
bmn Posted September 12, 2005 Author Share Posted September 12, 2005 waiting for replies Link to comment Share on other sites More sharing options...
prathapml Posted September 12, 2005 Share Posted September 12, 2005 Nothing to say, as far as my end is concerned. Because I had the same requirement as you described, and the solution i posted, is the one that works perfectly... If its not working, it might be user-error.As for the INFs, there's a number of reasons as to why editing the ones in i386 is NOT the way to go. Link to comment Share on other sites More sharing options...
Dixem Posted September 24, 2005 Share Posted September 24, 2005 hiactaully i was searching for a method for adding regtweaks for all useraccounts.EX:- visual settings [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"ListviewWatermark"=dword:00000000"ListviewShadow"=dword:00000001"ListviewAlphaSelect"=dword:00000000i tried cmd lines.txt,runonceEX.cmd but non of them worked.(these r working only for current account.when i create another account,iam not able to get those settings).during search i found this method.ie HIVEDEF.INFso i converted above regfiles to inf format.HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ListviewShadow",0x00010001,1HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ListviewWatermark",0x00010001,0HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ListviewAlphaSelect",0x00010001,0but it also failed.so what iam doing wrong?help me plsthanks<{POST_SNAPBACK}>To get what you want, add to HIVEDEF.INF:HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ListviewShadow",0x00010003,0x00000001HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ListviewWatermark",0x00010003,0x00000000HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ListviewAlphaSelect",0x00010003,0x00000000 Link to comment Share on other sites More sharing options...
Stalkie Posted September 24, 2005 Share Posted September 24, 2005 I'm not sure about the hive-files, but I can tell you this.....Some of the reg-settings are set by XP on the first login. That means after runonceex (or what it's called) is done. An example of this would be the SmallIcons for Explorer.What I did, was that I created a .cmd to run after the reboot after runonceex to set all those settings.Don't know if it helps. 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