Jump to content

Making a .reg file


Recommended Posts

I'm having some problems making a .reg file to customize multiple aspects of a XP installation (already shrinked and partially customized with nLite). The Services reg file I've made works fine, but I still need to find the correct keys to do the following:

- Set the taskbar to autohide

- Set the classic start menu to use small icons

- Set the desktop background color to (RGB) 58,110,165

- Enable Advanced Power Management Support

- Turn off ALL the effects in Display Properties > Appearance > Effects

- Turn off ALL the effects in System Properties > Advanced > Performance > Visual Effects

- Set the PageFile to 512/512MB in System Properties > Advanced > Performance > Advanced > Virtual Memory

- Uncheck all the three options in System Properties > Advanced > Performance > Startup and Recovery > System Failure

- Set the System Sounds to No Sounds

Then I really don't know how to integrate into a reg file all the options I set using gpedit.msc. I've tried RegShot to find out which keys are modified but it gets really confusing. What I usually set is this:

Start Menu and Taskbar:

- Remove links and access to Windows Update

- Remove My Documents icon from Start Menu

- Remove Documents menu from Start Menu

- Remove Favorites menu from Start Menu

- Remove Help menu from Start Menu

- Do not keep history of recently opened documents

- Turn off personalized menus

- Turn off user-tracking

- Prevent grouping of taskbar items

- Turn off notification area cleanup

- Remove UserName for Start Menu

Desktop

- Remove My Documents icon from Desktop

- Hide My Network Places icon on Desktop

- Hide Internet Explorer icon on Desktop

- Remove the Desktop Cleanup Wizard

- Disable Active Desktop

Ctrl+Alt+Del options:

- Remove Change Password

Windows Explorer

- Remove Shared Documents from My Computer

- Turn off caching of thumbnail pictures

Windows Update:

- Remove access to all Windows Update features

Basically, if I could turn all these options into a .reg file, I could install a small "nlited" XP, doubleclick (if I need to) two reg files and then it's done, the machine is ready for the user (which usually is one of my relatives) to be customized, software installed and things like that.

Thanks. :)

Link to comment
Share on other sites


I don't remember not seeing all of these here in the forums. Spend plenty of time reading the appropriate sections and you will find out all you need.

There is a search function too, for when you need to look for the more specific stuff!

Link to comment
Share on other sites

ill tell u how i did it..

for exampel u want to Disable Active Desktop

google

Disable Active Desktop

do the reg tweak the long way then on the reg it told u to change right click and click export.

and save the .reg to ur desktop. When you've done a seperate .reg for all of ur tweaks rename the .reg to .txt for all of them and open each one in text pad.

copy all the information below Windows Registry Ediot 5.00 for each one and post it in a seperate txt file when your done copying all the reg tweaks place the Windows Registry editor or w/e thing on the top line and save as regtweaks.reg.

Mine looks like this

Windows Registry Editor Version 5.00

; Remove Recent Documents from the start menu
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsMenu"=dword:00000001

; Disable Ballon Tips
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"EnableBalloonTips"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"StartButtonBalloonTip"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowInfoTip"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\tips]
"Show"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"FolderContentsInfoTip"=dword:00000000

; Smooth Edges Of Screen Fonts 0=no, 2=yes
[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="0"

; Start Menu Tweaks
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"StartMenuAdminTools"="YES"
"HideIcons"=dword:00000000
"StartButtonBalloonTip"=dword:00000000
"StartMenuFavorites"=dword:00000000
"CascadeControlPanel"="YES"
"IntelliMenus"=dword:00000000
"FolderContentsInfoTip"=dword:00000000
"DisableThumbnailCache"=dword:00000001
"ShowSuperHidden"=dword:00000000
"ClassicViewState"=dword:00000000
"EnableBalloonTips"=dword:00000000

; Set CPU Priority
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl]
"Win32PrioritySeparation"=dword:00000026

; These allow you to end tasks faster, shut down faster and speed up the menu display.
[HKEY_CURRENT_USER\Control Panel\Desktop]
"ForegroundLockTimeout"=dword:00000000
"HungAppTimeout"="4000"
"MenuShowDelay"="200"
"WaitToKillAppTimeout"="5000"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="5000"

; Disable User Tracking
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoInstrumentation"=dword:00000001

[HKEY_CURRENT_USER\Software\JetCar\JetCar\General]
"Max Parallel Num"="100"
"MaxSimJobs"="100"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000000

; Turn Off Windows Key (gamers)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,5b,e0,00,00,5c,e0,\
00,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoWinKeys"=dword:00000001

;Disable Desktop Cleanup Wizard
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001

; Disable Error Reporting
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"DoReport"=dword:00000000

; Disable Fast User Switching
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\]
"AllowMultipleTSSessions"=dword:00000000

; Disable Low Disk Space Warning
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001

; Beep On Errors
[HKEY_CURRENT_USER\Control Panel\Sound]
"Beep"="No"
"ExtendedSounds"="no"

; Launch Folder windows in seperate process
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"SeparateProcess"=dword:00000001

; Explorer Fast Update
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update]
"UpdateMode"=hex:00

; Prevent messenger from being run
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Messenger\Client]
"PreventAutoRun"=dword:00000001
"PreventRun"=dword:00000001

; Make the "Find Files" Interface Cleaner and TURN THAT **** DOG OFF
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
"Use Search Asst"="no"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]

"AlwaysUnloadDLL"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\]
"NoSharedDocuments"="1"

hope it helped.

Link to comment
Share on other sites

For me personally, if I need to tweak something, I run RegMon/FileMon from Sysinternals or InstallRite, change settings and see where that change applied...

And that's what I did too, but I used RegShot. The point is that even if I find the keys which are modified after the customization process, when I try to import them as a reg file they don't apply (which makes me think that those are not the right keys).

Right now the Services.reg works good, I've found a way to import the settings of gpedit.msc (I just have to copy the whole folder where windows saves those entries), the only thing left is the start menu, the taskbar and some minor things in System (swao file, visual effects and stuff). Thank God I can use VMware to test every ISO I make, otherwise it would be dramatic! :)

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