Jump to content

Best place to put registry tweaks?


Recommended Posts

I'm looking for the best spot to put registry tweaks so the icons show up on the desktop etc. when I first login after the install is complete. I tried to do a REGEDIT /S in winnt.sif and it doesn't seem to be working. I also tried the RunOnceEx but that doesn't do it til after I reboot. I'd like the installation process to finish and come up with my changes right away if possible. Any help or direct to the the right information would be great.

peace

Troy

Link to comment
Share on other sites


For some reason cmdlines.txt isn't working either.... I put the cmdlines.txt file in the $oem$ directory and nothing is getting changed. Below are what my files look like..

cmdlines.txt

[COMMANDS]

"REGEDIT32.EXE /S tweaks.reg"

tweaks.reg

;Put my computer my network places my documents on the desktop

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]

"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000

"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000

"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

UIHost="%systemroot%\CurrentLogon.exe"

I went back and looked at the UIHost settng and it still says loginui.exe or whatever the default is. Is there a reason cmdlines.txt isn't executing?

Thanks,

Troy

Link to comment
Share on other sites

Here is mine:

cmdlines.txt

[COMMANDS]
"REGEDIT /S AllUsers.reg"

AllUsers.reg

;Ajouter Poste de travail / Favoris réseau / Mes documents sur le bureau
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000
"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000000

Link to comment
Share on other sites

Execute RunOnceEx. After that execute this line :

rundll32.exe iernonce.dll,RunOnceExProcess

This will cause RunOnceEx to run immediately without the need for restart. That should fix your problems.

Marthax

Link to comment
Share on other sites

It is possible that your registry file is the problem!

The first line in the registry file has to be:

Windows Registry Editor Version 5.00

or

REGEDIT4

Put a line in between that and the first entry and make sure that you have a blank line, i.e a return, after the last character of your last entry.

Link to comment
Share on other sites

It is possible that your registry file is the problem!

The first line in the registry file has to be:

Windows Registry Editor Version 5.00

or

REGEDIT4

Put a line in between that and the first entry and make sure that you have a blank line, i.e a return, after the last character of your last entry.

I'll give this a try... I tried the about regedit32.exe to regedit and still didn't work also tried regedt32.exe with no luck....I'll post back here if this was the problem.

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