• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

editing the default registry that installs on fresh xp installation?

ewokuk

OSNN Junior Addict
#1
Just after some info on how to edit the default registry that would be installed on a fresh install of xp. since i am about to burn my slipstreamed XP i would like to have it so that it automatically sets things like my menu speed to 0, stops windows messenger loading with outlook express, uses old style windows taskbar and turns off themes, sets menu animations to off etc

doesnt seem to be covered in any of the "unattended installs" ive seen
 
#2
You just add all your tweaks into one registry file so it goes thus:


Me! said:
Windows Registry Editor Version 5.00

;SP2: Allow unlimited connections per port
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpNumConnections"=dword:00fffffe

;Disable links folder so it never appears again.
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]
"LinksFolderName"=""
"Locked"=dword:00000001

;Remove "Shortcut to" prefix before shortcuts
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"link"=hex:00,00,00,00

;This will add "Services" to the right-click menu of "My Computer"
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]
@=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00
"SuppressionPolicy"=dword:4000003c
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, 65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52, 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, 32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,00

;This adds the "Open Command Window Here" for the right click menu on folders
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Open Command Window Here"
[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""

;Disable Automatic Restart in the event of a BSOD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot"=dword:00000000

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

;Disable Messenger Service (to block spam. Does not affect MSN or Windows Messenger)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
"Start"=dword:00000004

;Disable Windows Time Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time]
"Start"=dword:00000004

;Disable Error Reporting Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ERSvc]
"Start"=dword:00000004

;Disable Alerter
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Alerter]
"Start"=dword:00000004

;Disable ClipBook
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ClipSrv]
"Start"=dword:00000004

;Disable TCP/IP NetBIOS Helper
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts]
"Start"=dword:00000004

;Disable NVIDIA Driver Helper
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NVSvc]
"Start"=dword:00000004

;Disable Performance Logs & Alerts
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysmonLog]
"Start"=dword:00000004

;Disable Wireless Zero Configuration
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WZCSVC]
"Start"=dword:00000004

;Disable UPS
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UPS]
"Start"=dword:00000004

;Disable Indexing Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CiSvc]
"Start"=dword:00000004

;Disable Help and Support
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\helpsvc]
"Start"=dword:00000004

;Disable Task Scheduler
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule]
"Start"=dword:00000004

;Removes Language Bar
[-HKEY_CLASSES_ROOT\CLSID\{540D8A8B-1C3F-4E32-8132-530F6A502090}]
@="Language bar"
"MenuTextPUI"="@%SystemRoot%\System32\msutb.dll,-325"

;Allow renaming of Recycle Bin
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:50,01,00,20
"CallForAttributes"=dword:00000000

;Disables Windows Tour bubble popup
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000"

;XP and 2k3
;Opens 16-bit apps in a seperate memory space, this increases stability when dealing with 16-bit apps.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WOW]
"DefaultSeparateVDM"="Yes"

;XP and 2k3
;This allows boot files to be placed optimally on the hard-drive for faster boots.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]
"Enable"="Y"

;XP and 2k3
;AutoEndTasks, HungAppTimeout, WaitToKillAppTimeout, and ForegroundLockTimeout improve shutdown time or application response if applications are hung.
;MenuShowDelay is the time in milliseconds that it takes for a menu to pop out when hovered over. The default is 400.
;PaintDesktopVersion writes the OS version and build info on the bottom right of the desktop.
[HKEY_CURRENT_USER\Control Panel\Desktop]
"AutoEndTasks"="1"
"ForegroundLockTimeout"=dword:00000000
"HungAppTimeout"="100"
"MenuShowDelay"="2"
"WaitToKillAppTimeout"="1000"
"PaintDesktopVersion"=dword:00000000

;XP and 2k3
;NoLowDiskSpaceChecks won't check if you are low on diskspace and pop up a balloon telling you.
;NoInstrumentation disables windows user tracking.
;NoSMHelp removes help from the startmenu.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
"NoInstrumentation"=dword:00000001
"NoSMHelp"=dword:00000001

;XP and 2k3
;Increases the number of concurrent downloads from a site (default 2).
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPerServer"=dword:00000010
"MaxConnectionsPer1_0Server"=dword:00000010

;XP and 2k3
;Removes Shared Documents from My Computer
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}]

;XP and 2k3
;Speeds up access to AVI files.
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}\InProcServer32]

;XP and 2k3
;Removes Briefcase, Document, and Rich-Text-Document from New Menu.
[-HKEY_CLASSES_ROOT\.bfc\ShellNew]
[-HKEY_CLASSES_ROOT\.doc\ShellNew]
[-HKEY_CLASSES_ROOT\.rtf\ShellNew]
[-HKEY_CLASSES_ROOT\.bmp\ShellNew]
[-HKEY_CLASSES_ROOT\.wav\ShellNew]
[-HKEY_CLASSES_ROOT\.zip\CompressedFolder\ShellNew]

;Disables CD autorun
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=hex:b5,00,00,00

;Disable persistent internet caching, among other things, you pr0nmonkey!
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache]
"FreshnessInterval"=hex:80,f4,03,00
"CleanupFactor"=hex:19,00,00,00
"CleanupTime"=hex:00,00,00,00
"Persistent"=hex:00,00,00,00
"CleanupInterval"=hex:80,51,01,00
"DebugFlag"=hex:ff,ff,00,00

;Enable word wrap and status bar in notepad
[HKEY_CURRENT_USER\Software\Microsoft\Notepad]
"fWrap"=dword:00000001
"StatusBar"=dword:00000001

;Enables Live Scrolling in Microsoft Word
[HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Options]
"LiveScrolling"="1"
[HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Word\Options]
"LiveScrolling"="1"

;Open with any program
[HKEY_CLASSES_ROOT\*\Shell\openas]
@="Open with..."
[HKEY_CLASSES_ROOT\*\Shell\openas\command]
@="rundll32.exe shell32.dll,OpenAs_RunDLL \"%1\""

;Disable "Send To" menu
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Send To]
@=""

;Remove "Shotcut to" in new shorcuts
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"Link"=hex:00,00,00,00

;Stores more DNS entries so that your computer doesn't have to look them up as much
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"CacheHashTableBucketSize"=dword:00000001
"CacheHashTableSize"=dword:00000180
"MaxCacheEntryTtlLimit"=dword:0000fa00
"MaxSOACacheEntryTtlLimit"=dword:0000012d

;Associate .NFO files with notepad
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\OpenWithList]
"a"="NOTEPAD.EXE"
"MRUList"="a"

;DESTROY "My Pictures" and "My Music" forever (to make this work you have to delete the folder, too)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"My Pictures"=hex(2):00,00
"My Music"=hex(2):00,00
...and so on.

It's covered at unattended.msfn.org; if you haven't looked there for unattended information, you should. It's a great resource.
 
#3
Here is am image of my $oem$ folder, I put my reg tweaks in 'regtweaks.reg' and call them during the installation using 'cmdlines.txt'.
 

Attachments

ewokuk

OSNN Junior Addict
#4
hmm thatll do it nicely

just need to find and add registry tweaks to disable all the menu/combobox animations (except shadow under mouse pointer, drop shadows on desktop icons, and show contents while dragging, all the others in that options list I want off!) and set classic start menu, and turn off automatic updates (i can disable the service but that may not actually turn off the updates in the system properties/automatic updates menu.

unwonted, do your tweaks do the "disable error reporting but notify me when errors occur" under system proerties/advanced/error reporting? i notice it seems to turn off error reporting but unsure whether it selects disable error reporting AND ticks that notify me box. also would like to turn off the startup and recovery options/system failure stuff, ive got all 3 boxes unticked and debugging info set to none.

thanks
 
#5
About the error reporting--when I have a program that crashes, it pops up the window that says "This program has encountered an error and will be shut down blah blah blah", but it doesn't ask you to send it to MS.

Some of my tweaks I found with registry-monitoring programs, and others I found by going into edit mode on X-Setup Pro's plugins. X-teq plugins are mostly written in VB, so it's easy to see what registry parts it's editing.

Most of your menu settings/appearance settings you can find under HKLM (and HKCU\) \Software\Microsoft\Windows\CurrentVersion\Explorer, mainly under \Advanced, but you'll see a lot of other goodies in that area. I just save the entire \Advanced and add it in giant clumps to my registry. Happy regediting! :)

Edit: You can save all your security settings at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,013
Latest member
Pdawgintown