Jump to content

Please Help - How to make a addon that will apply registry tweaks before windows starts?


JAMIS246

Recommended Posts

Hi

I was wondering if anyone could tell me how to create a addon that can be intagrated with nLite that will apply windows registry tweaks before windows starts???

Thanks so much for responding.

Edited by JAMIS246
Link to comment
Share on other sites

With nLite its easy to make registry tweak addons, you need Reg2inf to convert your regtweaks from .reg to .inf format, then you create a Entries_whatever.ini (where it says whatever you can put any name you want there, like regtweaks) with something like this

[general]
builddate=2010/03/26
description=Describe your regtweak addon.
language=Multilanguage
title=Addon Name
version=0.0.0
website=http://www.example.com

[registry_addreg]
; Here is where you add your INF converted regtweaks
HKLM,"SOFTWARE\Microsoft\Windows","Test",0,"Oh"

Now you compress your Entries_whatever.ini with your favorite archiver: rar, cab, zip or 7z and finally you integrate it

To verify your regtweaks were added to your XP install expand I386\nLite.in_ to view your tweaks

More info on the subject: http://www.nliteos.com/addons/index.html#registry_addreg

Link to comment
Share on other sites

Thanks so much mate for responding.

Does this look correct for the Entries_whatever.ini?

[general]
builddate=2010-03-26
description=This Registry Tweak contains Windows XP Tweaks For Performance and Explorer Enhancements.
language=English
title=Windows XP Tweaks
version=1.0
website=

[registry_addreg]
HKCU,"Control Panel\Desktop","ForegroundLockTimeout",0x10001,00,00,00,00
HKCU,"Control Panel\Desktop","HungAppTimeout",0x0,"4000"
HKCU,"Control Panel\Desktop","MenuShowDelay",0x0,"0"
HKCU,"Control Panel\Desktop","WaitToKillAppTimeout",0x0,"5000"
HKLM,"SYSTEM\CurrentControlSet\Control","WaitToKillServiceTimeout",0x0,"5000"
HKCR,"AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To",,0x0,"{C2FBB630-2971-11D1-A18C-00C04FD75D13}"
HKCR,"AllFilesystemObjects\shellex\ContextMenuHandlers\Move To",,0x0,"{C2FBB631-2971-11D1-A18C-00C04FD75D13}"
HKCR,"*\shell\Open with Notepad\command",,0x0,"notepad.exe %%1"
HKLM,"SYSTEM\CurrentControlSet\Control\PriorityControl","Win32PrioritySeparation",0x10001,26,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\PriorityControl","IRQ8Priority",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\PriorityControl","IRQ0Priority",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\PriorityControl","IRQ13Priority",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\PriorityControl","IRQ19Priority",0x10001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer","Max Cached Icons",0x0,"9512"
HKLM,"SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters","MaxCmds",0x10001,68,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters","MaxThreads",0x10001,68,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters","MaxCollectionCount",0x10001,68,00,00,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer","DesktopProcess",0x10001,01,00,00,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\BrowseNewProcess","BrowseNewProcess",0x0,"Yes"
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management","DisablePagingExecutive",0x10001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AlwaysUnloadDLL",,0x0,"1"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout","EnableAutoLayout",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\FileSystem","NtfsDisableLastAccessUpdate",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\FileSystem","Win95TruncatedExtensions",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\FileSystem","Win31FileSystem",0x10001,00,00,00,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","NoNetCrawling",0x10001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoRemoteRecursiveEvents",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0001","MasterDeviceTimingModeAllowed",0x10001,ff,ff,ff,ff
HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0001","SlaveDeviceTimingModeAllowed",0x10001,ff,ff,ff,ff
HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0002","MasterDeviceTimingModeAllowed",0x10001,ff,ff,ff,ff
HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0002","SlaveDeviceTimingModeAllowed",0x10001,ff,ff,ff,ff
HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","MemCheckBoxInRunDlg",0x10001,01,00,00,00
HKLM,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","MemCheckBoxInRunDlg",0x10001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\WOW","DefaultSeparateVDM",0x0,"Yes"
HKLM,"SYSTEM\CurrentControlSet\Control\Update","UpdateMode",0x1,00

Link to comment
Share on other sites

Look perfect...place it in its own folder or compress it (do not leave the word Entries in the filename of the archive) and integrate it with nLite

The reason I tell you to put it in its own folder or not to name your compressed addon with "Entries" is because nLite will copy the ENTIRE contents of the directory in which its located

Example, if you place Entries_regtweaks.7z (compressed .ini archive) or the uncompressed Entries_regtweaks.ini in the same directory as your addon nLite will grab all your addons and copy them to the rvmtmp dir...this will not break your session or neither will it integrate the addons, it just adds time to your session

So rename your compressed regtweaks addon to something like JAMIS_RegTweaks.7z

OH and BTW if the HKCU regtweaks may not take...they may or they might not, sometimes you need to apply them for each new user login. But you test it see if they apply

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...