Leaked source code of windows server 2003
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.1 KiB

  1. ; Windows NT 5.0 Registry Fixer.
  2. ; To use this file, Right-click on it in Windows Explorer, and choose install. This
  3. [version]
  4. signature="$CHICAGO$"
  5. [DefaultInstall]
  6. AddReg = AddCommand, ExplorerCust, Debug, AddRegEdit, AddDLLGook
  7. DelReg = DelDLLGook
  8. [AddCommand]
  9. HKCU, "Console\%CMD_PATH%", HistoryNoDup, %REGDW%, 0x00000001
  10. HKCU, "Console\%CMD_PATH%", InsetMode, %REGDW%, 0x00000001
  11. HKCU, "Console\%CMD_PATH%", QuickEdit, %REGDW%, 0x00000001
  12. HKCU, "Console\%CMD_PATH%", ScreenBufferSize, %REGDW%, 0x270f0050
  13. HKCU, "SOFTWARE\Microsoft\Command Processor","CompletionChar", %REGDW%, 0x00000009
  14. [ExplorerCust]
  15. HKCU, "%PATH_EXPLORER%\Band\Address","Use Path",,"TRUE"
  16. HKCU, "%PATH_EXPLORER%\Advanced", "CascadeControlPanel",,"YES"
  17. HKCU, "%PATH_EXPLORER%\Advanced", "CascadeMyDocuments",,"YES"
  18. HKCU, "%PATH_EXPLORER%\Advanced", "CascadePrinters",,"YES"
  19. HKCU, "%PATH_EXPLORER%\Advanced", "Hidden", %REGDW%, 0x00000001
  20. HKCU, "%PATH_EXPLORER%\Advanced", "HideFileExt", %REGDW%, 0x00000000
  21. HKCU, "%PATH_EXPLORER%\Advanced", "CascadeFolderBands", , "YES"
  22. [AddRegEdit]
  23. HKCU, "%PATH_REGEDIT%\Favorites", "HKCU - Explorer",, "My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer"
  24. HKCU, "%PATH_REGEDIT%\Favorites", "HKCU - Policies",, "My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies"
  25. HKCU, "%PATH_REGEDIT%\Favorites", "HKCU - UEM Count",, "My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count"
  26. HKCU, "%PATH_REGEDIT%\Favorites", "HKLM - AeDebug",, "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug"
  27. HKCU, "%PATH_REGEDIT%\Favorites", "HKLM - Explorer",, "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer"
  28. HKCU, "%PATH_REGEDIT%\Favorites", "HKLM - Windows",, "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion"
  29. [debug]
  30. HKLM, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug", "Debugger",,"ntsd -p %ld -e %ld -g"
  31. [InstallDev]
  32. HKLM,%SMWCV%\RunOnce\Setup,Installing WinAmp,,"\\banyan\iptd\lamadio\mine\winamp205.exe"
  33. HKLM,%SMWCV%\RunOnce\Setup,Installing WinZip,,"\\sitelic\winzip6.3\WIN32\SETUP.EXE"
  34. HKLM,%SMWCV%\RunOnce\Setup,Installing Office 2000,,"\\products1\beta\APPS\OFC2000\Beta2\Premium\setup.exe"
  35. HKLM,%SMWCV%\RunOnce\Setup,Installing Visual Studio,,"\\products1\RELLANG\VS60.98\ENT\DISK1\SETUP.EXE"
  36. [msdev]
  37. HKCR, ".inx",,,"SourceFile"
  38. HKCR, ".cool",,,"SourceFile"
  39. HKCR, ".inc",,,"SourceFile"
  40. HKCR, ".err",,,"SourceFile"
  41. HKCR, ".log",,,"SourceFile"
  42. HKCR, ".h" ,,,"SourceFile"
  43. HKCR, ".c" ,,,"SourceFile"
  44. HKCR, ".hxx",,,"SourceFile"
  45. HKCR, ".hpp",,,"SourceFile"
  46. HKCR, ".cpp",,,"SourceFile"
  47. HKCR, ".w" ,,,"SourceFile"
  48. HKCR, ".rc" ,,,"TXTFile"
  49. HKCR, "SourceFile",AlwaysShowExt,,""
  50. HKCR, "SourceFile\DefaultIcon",,,"%MSDEV_PATH%,3"
  51. HKCR, "SourceFile\shell\open\ddeexec",,,"open (""%1"")"
  52. HKCR, "SourceFile\shell\open\ddeexec\topic",,,"system"
  53. HKCR, "SourceFile\shell\open\ddeexec\ifexec",,,""
  54. HKCR, "SourceFile\shell\open\ddeexec\application",,,"msdev"
  55. HKCR, "SourceFile\shell\open\command",,,"""%MSDEV_PATH%"" ""%1"""
  56. [AddDLLGook]
  57. HKLM,"%PATH_EXPLORER%\AlwaysUnloadDLL","",2,"1"
  58. ; Paranoia: Add all of the shell binaries to the exclude
  59. HKLM,"%PATH_SESSIONMANAGER%","ExcludeFromKnownDLLs",%REGMULSZ%, "shell32.dll", "shlwapi.dll", "shdocvw.dll", "browseui.dll", "comctl32.dll"
  60. [DelDLLGook]
  61. HKLM,"%PATH_SESSIONMANAGER%\ProtectedDlls", "shlwapi.dll"
  62. HKLM,"%PATH_SESSIONMANAGER%\KnownDLLs", "shell32"
  63. HKLM,"%PATH_SESSIONMANAGER%\KnownDLLs", "comctl32"
  64. HKLM,"%PATH_SESSIONMANAGER%\KnownDLLs", "comdlg32"
  65. [Strings]
  66. REGEXSZ=0x00020000
  67. REGDW=0x00010001
  68. REGMULSZ=0x00010000
  69. PATH_EXPLORER = "Software\Microsoft\Windows\CurrentVersion\Explorer"
  70. PATH_REGEDIT = "Software\Microsoft\Windows\CurrentVersion\Applets\RegEdit"
  71. PATH_SESSIONMANAGER = "SYSTEM\CurrentControlSet\Control\Session Manager"
  72. MSDEV_PATH = "C:\Program Files\Microsoft Visual Studio\Common\MSDev61\Bin"
  73. CMD_PATH = "c:_WINNT_SYSTEM32_cmd.exe"
  74. SMWCV="Software\Microsoft\Windows\CurrentVersion"