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.

126 lines
3.1 KiB

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. #pragma namespace ("\\\\.\\root\\cimv2")
  3. instance of __Win32provider as $P
  4. {
  5. Name = "RegPropProv";
  6. Clsid = "{72967901-68EC-11d0-B729-00AA0062CBB7}";
  7. ImpersonationLevel = 1;
  8. PerUserInitialization = TRUE;
  9. };
  10. instance of __PropertyProviderRegistration
  11. {
  12. Provider = $P;
  13. SupportsGet = TRUE;
  14. SupportsPut = TRUE;
  15. };
  16. [DYNPROPS, singleton]
  17. class Win32_WMISetting
  18. {
  19. [read]
  20. string InstallationDirectory;
  21. [read]
  22. string BuildVersion;
  23. [read, write]
  24. uint32 AutoStartWin9X;
  25. [read, write]
  26. boolean EnableAnonWin9xConnections;
  27. [read, write]
  28. string MaxLogFileSize;
  29. [read, write]
  30. string LoggingLevel;
  31. [read, write]
  32. string LoggingDirectory;
  33. [read]
  34. string DatabaseDirectory;
  35. [read, write]
  36. string BackupInterval;
  37. [read, write]
  38. boolean ASPScriptEnabled;
  39. [read, write]
  40. string ASPScriptDefaultNamespace = "\\\\root\\cimv2";
  41. };
  42. [DYNPROPS]
  43. instance of Win32_WMISetting
  44. {
  45. [DYNAMIC, Provider("RegPropProv"),
  46. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem|Installation Directory")]
  47. InstallationDirectory;
  48. [DYNAMIC, Provider("RegPropProv"),
  49. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem|Build")]
  50. BuildVersion;
  51. [DYNAMIC, Provider("RegPropProv"),
  52. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem\\cimom|Log File Max Size")]
  53. MaxLogFileSize;
  54. [DYNAMIC, Provider("RegPropProv"),
  55. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem\\cimom|Logging")]
  56. LoggingLevel;
  57. [DYNAMIC, Provider("RegPropProv"),
  58. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem\\cimom|Logging Directory")]
  59. LoggingDirectory;
  60. [DYNAMIC, Provider("RegPropProv"),
  61. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem\\cimom|Repository Directory")]
  62. DatabaseDirectory;
  63. [DYNAMIC, Provider("RegPropProv"),
  64. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem\\cimom|Backup Interval Threshold")]
  65. BackupInterval;
  66. [DYNAMIC, Provider("RegPropProv"),
  67. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem\\Scripting|Enable for ASP")]
  68. ASPScriptEnabled;
  69. [DYNAMIC, Provider("RegPropProv"),
  70. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem\\Scripting|Default Namespace")]
  71. ASPScriptDefaultNamespace;
  72. [DYNAMIC, Provider("RegPropProv"),
  73. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem\\cimom|AutostartWin9X")]
  74. AutoStartWin9X;
  75. [DYNAMIC, Provider("RegPropProv"),
  76. PropertyContext("local|hkey_local_Machine\\software\\microsoft\\wbem\\cimom|EnableAnonConnections")]
  77. EnableAnonWin9xConnections;
  78. };
  79. #pragma namespace ("\\\\.\\root\\security")
  80. instance of __NTLMUser
  81. {
  82. GroupType = 0;
  83. Name = "Administrators";
  84. Authority = ".";
  85. Enabled = TRUE;
  86. Permissions = 2;
  87. ExecuteMethods = TRUE;
  88. EditSecurity = TRUE;
  89. };
  90. instance of __NTLMUser
  91. {
  92. GroupType = 0;
  93. Name = "Everybody";
  94. Authority = ".";
  95. Enabled = TRUE;
  96. Permissions = 0;
  97. ExecuteMethods = FALSE;
  98. EditSecurity = FALSE;
  99. };