Jump to content

Useful things to put into a .reg file for Win 2000


Bugs Bunny

Recommended Posts

I found the possibility to add .reg files very interesting and played arround a bit.

Here are some things that could be usefull for others as well. Put the needed registry settings into a text file beginning with REGEDIT4 and put the .reg file into the HFSVPK folder. I've tested these settings - they are working for me and save me some time to get windows to look like I want after installing.

The HKEY_USERS\.DEFAULT\ values&keys will get integrated in every user profile that is created, so some will proably be not usefull for all.

-----------------------


Security related:
Disable Admin Shares (in a small homenetwork I don't need them - second key I think is not needed though)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"AutoShareServer"=dword:00000000
"AutoShareWks"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters]
"AutoShareServer"=dword:00000000
"AutoShareWks"=dword:00000000

Restrict anonymous access:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"restrictanonymous"=dword:00000002

Enable ctrl+Alt+Del for Logon:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DisableCAD"=dword:00000000

-----------------------
Some other useful things:
Disabling CD Autorun:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]
"AutoRun"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom\SOFTWARE\Classes\AudioCD\Shell]
""=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AudioCD\shell]
""=""
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=hex:03,ff,ff,ff

Disable recycle bin / set recycle bin to 0:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket]
"NukeOnDelete"=dword:00000001
"Percent"=dword:00000000

Disable Offline Files:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache]
"DefCacheSize"=dword:00000000
"Enabled"=dword:00000000
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\NetCache]
"NoReminders"=dword:00000001
"SyncAtLogoff"=dword:00000000

Remove HFSLIP from installed Software:
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\HFSLIPTotalSlipstream]

Drag full windows / enable font smoothing / rolling transition effect:
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"DragFullWindows"="1"
"FontSmoothing"="2"
"UserPreferencesMask"=hex:9e,28,00,80

Enable Hidden Files/Folders / Disable IntelliMenues / Show compressed files with different color / Disable Webview / Show Logoff / Do not scroll Program menue
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Hidden"=dword:00000001
"HideFileExt"=dword:00000000
"IntelliMenus"="No"
"ShowCompColor"=dword:00000001
"ShowSuperHidden"=dword:00000001
"SuperHidden"=dword:00000000
"WebView"=dword:00000000
"StartMenuLogoff"=dword:00000001
"StartMenuScrollPrograms"="NO"

Snap mouse:
[HKEY_USERS\.DEFAULT\Control Panel\Mouse]
"SnapToDefaultButton"="1"

Do not show tips at startup:
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\tips]
"Show"=dword:00000000

Disable Recent Docs History / Disable Recent Docs in Start Menue / Don't show Start here tooltip
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsHistory"=dword:00000001
"NoRecentDocsMenu"=dword:00000001
"NoStartBanner"=hex:01,00,00,00

-----------------------
IE related:
Blank start page:
[HKEY_USERS\.DEFAULT\Software\Microsoft\Internet Explorer\Main]
"Start Page"="about:blank"

0 days history:
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Url History]
"DaysToKeep"=dword:00000000

Some settings the internet connection Wizard makes:
[HKEY_CURRENT_CONFIG\Software\Microsoft\windows\CurrentVersion\Internet Settings]
"EnableAutodial"=hex:00,00,00,00
"ProxyEnable"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\Software\Microsoft\windows\CurrentVersion\Internet Settings]
"EnableAutodial"=hex:00,00,00,00
"ProxyEnable"=dword:00000000
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"EnableAutodial"=hex:00,00,00,00
"NoNetAutodial"=-
"NoNetAutodial"=hex:00,00,00,00
"ProxyEnable"=dword:00000000
"ProxyOverride"=""
"ProxyServer"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Welcome\ICW]
"@"=dword:00000001

Set Internet Connection Wizard completed:
[HKEY_USERS\.DEFAULT\Software\Microsoft\Internet Connection Wizard]
"Completed"=hex:01,00,00,00

Do not create Internet Connection Wizard desktop icon:
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Runonce]
"^SetupICWDesktop"=-

Edited by Bugs Bunny
Link to comment
Share on other sites


Good thread. I especially like the last tweak -- I didn't know about that one.

Here's a few of the tweaks I do myself... I hope it's OK to post them here.

; Disable some sounds, and associate the Recycle Bin with "recycle.wav" (why did they put it on "ding.wav"?)

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MailBeep\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemQuestion\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.Current]
@="recycle.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating\.current]
@=""


; Show the Windows version on the desktop and disable smooth scrolling

[HKEY_CURRENT_USER\Control Panel\Desktop]
"PaintDesktopVersion"=dword:00000001
"SmoothScroll"=dword:00000000


; Disable animation effects

[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"MinAnimate"="0"


; Enable encoding auto-selection in IE

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\International]
"AutoDetect"=dword:00000001


; (IE) Don't reuse windows, don't search from Address bar, disable auto image resize, disable Image Toolbar, disable passwords functionality, don't show friendly error messages, close dialog when download's completed, don't check for updates, disable page transitions, remove Go button (also applies to folders).

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"AllowWindowReuse"=dword:00000000
"AutoSearch"=dword:00000000
"Enable AutoImageResize"="no"
"Enable_MyPics_Hoverbar"="no"
"FormSuggest Passwords"="no"
"FormSuggest PW Ask"="no"
"Friendly http errors"="no"
"NotifyDownloadComplete"="no"
"NoUpdateCheck"=dword:00000001
"Page_Transitions"=dword:00000000
"ShowGoButton"="no"
"Use FormSuggest"="no"


; (WMP 6.4) Disable ID'ing and open every file in new window/instance

[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\Settings]
"Client ID"=""
"OpenNew"="yes"

[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]
"SendUserGUID"=hex:00

[HKEY_USERS\.DEFAULT\Software\Microsoft\MediaPlayer\Player\Settings]
"Client ID"=""


; Use Fixedsys font in Notepad (like Win9x)

[HKEY_CURRENT_USER\Software\Microsoft\Notepad]
"lfFaceName"="Fixedsys"


; (Deluxe CD Player) Disable album download batching and album info download

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\DeluxeCD\Settings]
"BatchEnabled"=dword:00000000
"DownloadEnabled"=dword:00000000


; Expand Control Panel in Start Menu, show file names using correct case (obsolete?), disable info tips

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


; Show full path in the Explorer address bar

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
"FullPathAddress"=dword:00000001


; Remove IE desktop icon

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\ShellFolder]
"Attributes"=dword:00100024


; Places Bar (Desktop, My Computer, My Documents & My Network Places)

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\comdlg32\PlacesBar]
"Place0"=dword:00000000
"Place1"=dword:00000011
"Place2"=dword:00000005
"Place3"=dword:00000012
"Place4"=-


; Remove Alexa key

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{c95fe080-8f5d-11d2-a20b-00aa003c157a}]


; Remove "On The Internet" and "For People" (Start Menu > Search)

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FindExtensions\Static\WABFind]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FindExtensions\Static\WebSearch]


; Stop checking for scheduled tasks on remote computers

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}]


; Remove Help and My Documents from Start Menu and don't display the Welcome Screen on first account startup

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
"NoSMHelp"=dword:00000001
"NoSMMyDocs"=dword:00000001
"NoWelcomeScreen"=dword:00000001


; Disable NTFS LastAccess time stamp updating

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisableLastAccessUpdate"=dword:00000001


; Fix memory corruption when using AMD + AGP (obsolete?)

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"LargePageMinimum"=dword:ffffffff

Edited by prathapml
Link to comment
Share on other sites

I'd like to share a few usefull INFs (not REGs but the usage is nearly the same - place files into HFSVPK). You can use them separately or combine in one TRICKS.INF :)

The tricks are not mine and some people should be credited for creating them but unfortunately I don't have notes about the authors :blushing: If you are interested search Unattended Forum for it.

Name My Computer after user name (something like "Oleg 2's Computer" insted of "My Computer" ;)

[Version]
Signature=$CHICAGO$

[DefaultInstall]
AddReg = Reg.Tweaks

[Reg.Tweaks]
HKCR,"CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}","LocalizedString",0x20000,"%USERNAME%'s Computer"

Control Panel to the right click on My Computer

[Version]
Signature=$CHICAGO$

[DefaultInstall]
AddReg = Reg.Tweaks

[Reg.Tweaks]
HKLM,"SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Control Panel\command",,,"rundll32.exe shell32.dll,Control_RunDLL"

Add Copy, Move and Send to the right click context menu

[Version]
Signature=$CHICAGO$

[DefaultInstall]
AddReg = Reg.Tweaks

[Reg.Tweaks]
HKCR,"AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To",,,"{C2FBB630-2971-11d1-A18C-00C04FD75D13}"
HKCR,"AllFilesystemObjects\shellex\ContextMenuHandlers\Move To",,,"{C2FBB631-2971-11d1-A18C-00C04FD75D13}"
HKCR,"AllFilesystemObjects\shellex\ContextMenuHandlers\Send To",,,"{7BA4C740-9E81-11CF-99D3-00AA004AE837}"

List contents of a folder on right click

[Version]
Signature=$CHICAGO$

[DefaultInstall]
AddReg = Reg.Tweaks

[Reg.Tweaks]
HKCR,Folder\shell\List Contents\command,,,"%11%\cmd.exe /C DIR ""%1"" /B /O /S>""%1""""_contents list.txt"""

Open files with notepad in right click menu

[Version]
Signature=$CHICAGO$

[DefaultInstall]
AddReg = Reg.Tweaks

[Reg.Tweaks]
HKCR,Unknown\shell\View with notepad\command,,,"%11%\notepad.exe ""%1"""

Add "Command Prompt Here" when right-clicking a directory

[Version]
Signature=$CHICAGO$

[DefaultInstall]
AddReg = Reg.Tweaks

[Reg.Tweaks]
HKCR,"Directory\shell\Command Prompt Here\command",,,"%11%\cmd.exe /k cd ""%1"""

PS Request: does anybody know how to add "My Network Places" to the right click on My Computer?

Edited by Oleg_II
Link to comment
Share on other sites

Thanks for your additions :thumbup - found some things in your additions that are very useful to me.

If someone has some more things to add here, please feel free.

Tomacat76 I've seen some reg values that are in the HKEY_Current_User part of the registry. If these values get set by HFSLIP do they work? I was thinking during setup there is no current user. Will these values be stored in the administrators registry (the first real user that is created - not counting all users and default user)?

BTW had a typo in the topic - useful with ll but it seems that it's not possible to change the topic title afterwards :o - maybe a moderator is able to change it?

Link to comment
Share on other sites

The reg tweaks you make are made to the default user, there is no such thing as the administrator when the reg files are parsed. In other words, the admin account is created after the reg files are parsed, so the admin will pick up these fixes. BTW, these lines are run a few minutes before the OEM/CMDLINES part of installation.

Lotsa goodies for a reg file: http://www.msfn.org/board/index.php?showtopic=49320

Edited by tommyp
Link to comment
Share on other sites

Tomacat76 I've seen some reg values that are in the HKEY_Current_User part of the registry. If these values get set by HFSLIP do they work?
I have actually never tried these tweaks with HFSLIP yet, but I did some stuff with Adobe Reader and Messenger in both HKLM and HKCU and it's always worked. I don't see why these should fail.

Here's another tweak which I did in the past using a batch file: changing the default sort order of the My Computer and My Documents desktop icons so My Computer is displayed first (just like in Win9x). If you do this with a batch file on an existing installation of Windows, it needs to be done like this:

1) Change the sort order and remove the My Computer and My Documents icons from the desktop (reg)

2) Kill explorer.exe

3) Place back the icons (reg)

Since there is no desktop yet when Windows installation goes through SVCPACK, I think it should be enough to just change the sort order... but I haven't tried it yet.

[HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}]

"SortOrderIndex"=dword:00000054

Edited by Tomcat76
Link to comment
Share on other sites

This is what i use currently. I do some internationalisation settings, such as enable measurements, make Sunday the first day of the week, etc. It uses a different method to kill the internet connexion dullard too.

Windows Registry Editor Version 5.00

;My Computer First Desktop Icon
[HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}]
"SortOrderIndex"=dword:00000054

[HKEY_CURRENT_USER\Console]
"InsertMode"=dword:00000001
"QuickEdit"=dword:00000000

[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="2"

[HKEY_CURRENT_USER\Control Panel\International]
"iDate"="2"
"iFirstDayOfWeek"="6"
"iMeasure"="1"
"iTime"="1"
"sLongDate"="dddd, dd MMMM yyyy"
"sShortDate"="yyyy/MM/dd"
"sTimeFormat"="HH:mm:ss"

[HKEY_CURRENT_USER\Control Panel\Sound]
"Beep"="no"

[HKEY_CURRENT_USER\Environment]
"TEMP"="%USERPROFILE%\TEMP"
"TMP"="%USERPROFILE%\TEMP"

[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"CompletionChar"=dword:00000009
"PathCompletionChar"=dword:00000009

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer]
"Show_FullURL"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"IntelliMenus"="No"
"Window Title"="MsMosaic"
"AllowWindowReuse"=dword:00000000


[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSKB]
@="http://support.microsoft.com/?kbid=%s"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\AV]
@="http://www.altavista.com/sites/search/web?q=%s"

; this should kill this thing.
[HKEY_CURRENT_USER\Software\Microsoft\Internet Connection Wizard]
"DesktopChanged"=dword:00000001
"Completed"=hex:01,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\Ggl]
@="http://www.google.com/search?q=%s"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSN]
@="http://search.msn.com/results.asp?q=%s"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\FM]
@="http://www.filemirrors.com/search.src?file=%s"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"DontPrettyPath"=dword:00000001
"Hidden"=dword:00000001
"HideFileExt"=dword:00000000
"IntelliMenus"="No"
"ShowSuperHidden"=dword:00000001
"SuperHidden"=dword:00000001
; dont pretty path = show case as falls

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"ShowDriveLettersFirst"=dword:00000004

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

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPer1_0Server"=dword:0000000a
"MaxConnectionsPerServer"=dword:0000000a

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"ClassicShell"=dword:00000001
"NoDevMgrUpdate"=dword:00000001
"NoWindowsUpdate"=dword:00000001
"NoInternetIcon"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
"ParseAutoexec"="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Search]
"SearchAssistant"="http://www.google.com/ie"


[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000001


[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions]
"NoSplash"=dword:00000001

Edited by prathapml
Link to comment
Share on other sites

Now I'm stumped. The regedits for MSN Messenger (HKCU) and for Advanced Office Password Recovery (HKLM) didn't take on Win2K. They did on WinXP.

How come some work on Win2K (Adobe Reader) and others don't?

I'll try to use HKU next time for the HKCU stuff, but how do I do it for things that should end up in HKLM without using a second install package (for RunOnceEx or whatever)?

Link to comment
Share on other sites

Tomcat76

If you use W2k you can try to use FDV's files to disable file protection and include your tweaks directly in HIVES*.INF.

I had this problem before with Yahoo Messanger (?) that aske for IE6 to install. I just give it up but it may be possible theoretically to have a line in one of the HIVES*.INF that says about IE6 version installed ;)

Link to comment
Share on other sites

TommyP

I don't use it ;) I installed the system for my friend and she uses some weird programs :blink:

Wow! It's nearly 7MB! I don't use messangers but I'd prefer something smaller. Maybe Miranda?

Edited by Oleg_II
Link to comment
Share on other sites

If you use W2k you can try to use FDV's files to disable file protection and include your tweaks directly in HIVES*.INF.
That's exactly what I want to avoid. I want the reg tweaks embedded in the silent/switchless package for the program they apply to.

Yahoo Messenger is fine. I use version 5.6 (build 1358). The installer is 2.79MB.

Link to comment
Share on other sites

Tomcat76

OK, then make a CMD, INF or REG with this tweaks and run it before you run the programs.

I mean the programs that doesn't install without IE6 - make this tweak that let them think it's installed ;)

Link to comment
Share on other sites

OK, then make a CMD, INF or REG with this tweaks and run it before you run the programs.

I mean the programs that doesn't install without IE6 - make this tweak that let them think it's installed ;)

????

OK, this is getting confusing. I want this in the registry when installing MSN Messenger 7.0:

[HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger]

"AppSettings"=hex:62,04,00,00

"DSBkgndMode"=hex:01,00,00,00

"PassportBalloon"=hex:0a,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]

"MsnMsgr"=-

And this when installing AOPR:

[HKEY_LOCAL_MACHINE\SOFTWARE\ElcomSoft\Advanced Office Password Recovery\Registration]

"Code"="XXXXX-XXXX-XXXXX-XXXXX-XXXXX-XXXXX"

Edited by Tomcat76
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...