Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

85 lines
4.0 KiB

; Windows NT 5.0 Registry Fixer.
; To use this file, Right-click on it in Windows Explorer, and choose install. This
[version]
signature="$CHICAGO$"
[DefaultInstall]
AddReg = AddCommand, ExplorerCust, Debug, AddRegEdit, AddDLLGook
DelReg = DelDLLGook
[AddCommand]
HKCU, "Console\%CMD_PATH%", HistoryNoDup, %REGDW%, 0x00000001
HKCU, "Console\%CMD_PATH%", InsetMode, %REGDW%, 0x00000001
HKCU, "Console\%CMD_PATH%", QuickEdit, %REGDW%, 0x00000001
HKCU, "Console\%CMD_PATH%", ScreenBufferSize, %REGDW%, 0x270f0050
HKCU, "SOFTWARE\Microsoft\Command Processor","CompletionChar", %REGDW%, 0x00000009
[ExplorerCust]
HKCU, "%PATH_EXPLORER%\Band\Address","Use Path",,"TRUE"
HKCU, "%PATH_EXPLORER%\Advanced", "CascadeControlPanel",,"YES"
HKCU, "%PATH_EXPLORER%\Advanced", "CascadeMyDocuments",,"YES"
HKCU, "%PATH_EXPLORER%\Advanced", "CascadePrinters",,"YES"
HKCU, "%PATH_EXPLORER%\Advanced", "Hidden", %REGDW%, 0x00000001
HKCU, "%PATH_EXPLORER%\Advanced", "HideFileExt", %REGDW%, 0x00000000
HKCU, "%PATH_EXPLORER%\Advanced", "CascadeFolderBands", , "YES"
[AddRegEdit]
HKCU, "%PATH_REGEDIT%\Favorites", "HKCU - Explorer",, "My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer"
HKCU, "%PATH_REGEDIT%\Favorites", "HKCU - Policies",, "My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies"
HKCU, "%PATH_REGEDIT%\Favorites", "HKCU - UEM Count",, "My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count"
HKCU, "%PATH_REGEDIT%\Favorites", "HKLM - AeDebug",, "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug"
HKCU, "%PATH_REGEDIT%\Favorites", "HKLM - Explorer",, "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer"
HKCU, "%PATH_REGEDIT%\Favorites", "HKLM - Windows",, "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion"
[debug]
HKLM, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug", "Debugger",,"ntsd -p %ld -e %ld -g"
[InstallDev]
HKLM,%SMWCV%\RunOnce\Setup,Installing WinAmp,,"\\banyan\iptd\lamadio\mine\winamp205.exe"
HKLM,%SMWCV%\RunOnce\Setup,Installing WinZip,,"\\sitelic\winzip6.3\WIN32\SETUP.EXE"
HKLM,%SMWCV%\RunOnce\Setup,Installing Office 2000,,"\\products1\beta\APPS\OFC2000\Beta2\Premium\setup.exe"
HKLM,%SMWCV%\RunOnce\Setup,Installing Visual Studio,,"\\products1\RELLANG\VS60.98\ENT\DISK1\SETUP.EXE"
[msdev]
HKCR, ".inx",,,"SourceFile"
HKCR, ".cool",,,"SourceFile"
HKCR, ".inc",,,"SourceFile"
HKCR, ".err",,,"SourceFile"
HKCR, ".log",,,"SourceFile"
HKCR, ".h" ,,,"SourceFile"
HKCR, ".c" ,,,"SourceFile"
HKCR, ".hxx",,,"SourceFile"
HKCR, ".hpp",,,"SourceFile"
HKCR, ".cpp",,,"SourceFile"
HKCR, ".w" ,,,"SourceFile"
HKCR, ".rc" ,,,"TXTFile"
HKCR, "SourceFile",AlwaysShowExt,,""
HKCR, "SourceFile\DefaultIcon",,,"%MSDEV_PATH%,3"
HKCR, "SourceFile\shell\open\ddeexec",,,"open (""%1"")"
HKCR, "SourceFile\shell\open\ddeexec\topic",,,"system"
HKCR, "SourceFile\shell\open\ddeexec\ifexec",,,""
HKCR, "SourceFile\shell\open\ddeexec\application",,,"msdev"
HKCR, "SourceFile\shell\open\command",,,"""%MSDEV_PATH%"" ""%1"""
[AddDLLGook]
HKLM,"%PATH_EXPLORER%\AlwaysUnloadDLL","",2,"1"
; Paranoia: Add all of the shell binaries to the exclude
HKLM,"%PATH_SESSIONMANAGER%","ExcludeFromKnownDLLs",%REGMULSZ%, "shell32.dll", "shlwapi.dll", "shdocvw.dll", "browseui.dll", "comctl32.dll"
[DelDLLGook]
HKLM,"%PATH_SESSIONMANAGER%\ProtectedDlls", "shlwapi.dll"
HKLM,"%PATH_SESSIONMANAGER%\KnownDLLs", "shell32"
HKLM,"%PATH_SESSIONMANAGER%\KnownDLLs", "comctl32"
HKLM,"%PATH_SESSIONMANAGER%\KnownDLLs", "comdlg32"
[Strings]
REGEXSZ=0x00020000
REGDW=0x00010001
REGMULSZ=0x00010000
PATH_EXPLORER = "Software\Microsoft\Windows\CurrentVersion\Explorer"
PATH_REGEDIT = "Software\Microsoft\Windows\CurrentVersion\Applets\RegEdit"
PATH_SESSIONMANAGER = "SYSTEM\CurrentControlSet\Control\Session Manager"
MSDEV_PATH = "C:\Program Files\Microsoft Visual Studio\Common\MSDev61\Bin"
CMD_PATH = "c:_WINNT_SYSTEM32_cmd.exe"
SMWCV="Software\Microsoft\Windows\CurrentVersion"