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.

105 lines
4.6 KiB

  1. ;
  2. ; Self-registration for dskquota.dll
  3. ;
  4. [Version]
  5. Signature="$Windows NT$"
  6. [RegDll]
  7. AddReg=AddRegEntries
  8. [UnregDll]
  9. DelReg=DelRegEntries
  10. ;------------------------------------------------------------------------------
  11. ; ADD ENTRIES SECTION
  12. ;------------------------------------------------------------------------------
  13. [AddRegEntries]
  14. ;
  15. ; DiskQuotaControl object.
  16. ;
  17. HKCR,CLSID\%CLSID_DiskQuotaControl%,,,%MS_DISK_QUOTA%
  18. HKCR,CLSID\%CLSID_DiskQuotaControl%\InProcServer32,,,%DISK_QUOTA_DLL%
  19. HKCR,CLSID\%CLSID_DiskQuotaControl%\InProcServer32,"ThreadingModel",,Both
  20. HKCR,CLSID\%CLSID_DiskQuotaControl%\ProgID,,,Microsoft.DiskQuota.1
  21. HKCR,CLSID\%CLSID_DiskQuotaControl%\VersionIndependentProgID,,,Microsoft.DiskQuota
  22. HKCR,CLSID\%CLSID_DiskQuotaControl%\TypeLib,,,%CLSID_DiskQuotaTypeLib%
  23. HKCR,CLSID\%CLSID_DiskQuotaControl%\Programmable,,,
  24. HKCR,Microsoft.DiskQuota.1,,,%MS_DISK_QUOTA%
  25. HKCR,Microsoft.DiskQuota.1\CLSID,,,%CLSID_DiskQuotaControl%
  26. ;
  27. ; Group Policy Editor extension.
  28. ;
  29. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%
  30. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"",,%MS_DISK_QUOTA%
  31. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"NoMachinePolicy",0x00010001,0
  32. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"NoUserPolicy",0x00010001,1
  33. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"NoSlowLink",0x00010001,1
  34. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"NoBackgroundPolicy",0x00010001,1
  35. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"NoGPOListChanges",0x00010001,1
  36. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"PerUserLocalSettings",0x00010001,0
  37. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"RequiresSuccessfulRegistry",0x00010001,1
  38. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"EnableAsynchronousProcessing",0x00010001,0
  39. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"DllName",0x00020000,%DISK_QUOTA_DLL%
  40. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%,"ProcessGroupPolicy",0x00000000,%DISK_QUOTA_GROUP_POLICY_API%
  41. ;
  42. ; NT event log event source registration
  43. ;
  44. HKLM,System\CurrentControlSet\Services\EventLog\Application\DiskQuota,"EventMessageFile",,"%SystemRoot%\System32\dskquota.dll"
  45. HKLM,System\CurrentControlSet\Services\EventLog\Application\DiskQuota,"TypesSupported",,0x00000007
  46. ;
  47. ; Type library.
  48. ;
  49. HKCR,TypeLib\%CLSID_DiskQuotaTypeLib%,,,
  50. HKCR,TypeLib\%CLSID_DiskQuotaTypeLib%\1.0,,,Microsoft Disk Quota 1.0
  51. HKCR,TypeLib\%CLSID_DiskQuotaTypeLib%\1.0\0,,,
  52. HKCR,TypeLib\%CLSID_DiskQuotaTypeLib%\1.0\0\win32,,,%DISK_QUOTA_DLL%
  53. ;------------------------------------------------------------------------------
  54. ; DELETE ENTRIES SECTION
  55. ;------------------------------------------------------------------------------
  56. [DelRegEntries]
  57. ;
  58. ; DiskQuotaControl object.
  59. ;
  60. HKCR,CLSID\%CLSID_DiskQuotaControl%\InProcServer32
  61. HKCR,CLSID\%CLSID_DiskQuotaControl%\ProgID
  62. HKCR,CLSID\%CLSID_DiskQuotaControl%\VersionIndependentProgID
  63. HKCR,CLSID\%CLSID_DiskQuotaControl%\TypeLib
  64. HKCR,CLSID\%CLSID_DiskQuotaControl%\Programmable
  65. HKCR,CLSID\%CLSID_DiskQuotaControl%
  66. HKCR,Microsoft.DiskQuota.1\CLSID
  67. HKCR,Microsoft.DiskQuota.1
  68. ;
  69. ; Group Policy Editor extension.
  70. ;
  71. HKLM,Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\%GUID_GPE_EXTENSION%
  72. ;
  73. ; NT event log event source
  74. ;
  75. HKLM,System\CurrentControlSet\Services\EventLog\Application\DiskQuota
  76. ;
  77. ; Type library.
  78. ;
  79. HKCR,TypeLib\%CLSID_DiskQuotaTypeLib%\1.0\0\win32
  80. HKCR,TypeLib\%CLSID_DiskQuotaTypeLib%\1.0\0
  81. HKCR,TypeLib\%CLSID_DiskQuotaTypeLib%\1.0
  82. HKCR,TypeLib\%CLSID_DiskQuotaTypeLib%
  83. ;
  84. ; General persistence data created programatically.
  85. ;
  86. HKCU,Software\Microsoft\Windows NT\CurrentVersion\DiskQuota
  87. ;------------------------------------------------------------------------------
  88. ; CONSTANT STRINGS
  89. ;------------------------------------------------------------------------------
  90. [Strings]
  91. CLSID_DiskQuotaControl={7988B571-EC89-11cf-9C00-00AA00A14F56}
  92. CLSID_DiskQuotaTypeLib={7988B57C-EC89-11cf-9C00-00AA00A14F56}
  93. GUID_GPE_EXTENSION={3610eda5-77ef-11d2-8dc5-00c04fa31a66}
  94. MS_DISK_QUOTA=Microsoft Disk Quota
  95. DISK_QUOTA_DLL=dskquota.dll
  96. DISK_QUOTA_GROUP_POLICY_API=ProcessGroupPolicy