Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.35 KB | None | 0 0
  1. //——————————————— // BitLocker Policy Definitions //———————————————
  2.  
  3. // Set default Namespace and delete the Win32Reg_BitLockerPolicy if it already exists
  4. //#PRAGMA Namespace ("\\\\.\\Root\\CIMv2\\SMS")
  5. //#PRAGMA DeleteClass ("Win32Reg_BitLockerPolicy", NOFAIL)
  6.  
  7. //-- Create WMI class
  8. //- Class Qualifiers
  9. [
  10. Description ("The Win32Reg_BitLockerPolicy class contains information about the BitLocker Policy. You can use this information for BitLocker reporting."): ToInstance,
  11. SMS_Report (TRUE),
  12. SMS_Group_Name ("BitLocker Policy"),
  13. SMS_Class_ID ("CUSTOM|BITLOCKER_POLICY|1.0"),
  14. SMS_Context_1 ("__ProviderArchitecture=32|Uint32"),
  15. SMS_Context_2 ("__RequiredArchitecture=true|Boolean")
  16. ]
  17. //- Class properties
  18. Class Win32Reg_BitLockerPolicy
  19. {
  20. [ SMS_Report (TRUE), KEY ]
  21. String KeyName;
  22.  
  23. //- BitLocker General properties
  24. [ SMS_Report (TRUE) ]
  25. Uint32 ActiveDirectoryBackup;
  26. [ SMS_Report (TRUE) ]
  27. Uint32 ActiveDirectoryInfoToStore;
  28. [ SMS_Report (TRUE) ]
  29. String CertificateOID;
  30. [ SMS_Report (TRUE) ]
  31. String DefaultRecoveryFolderPath;
  32. [ SMS_Report (TRUE) ]
  33. Uint32 DisableExternalDMAUnderLock;
  34. [ SMS_Report (TRUE) ]
  35. Uint32 DisallowStandardUserPINReset;
  36. [ SMS_Report (TRUE) ]
  37. Uint32 EnableBDEWithNoTPM;
  38. [ SMS_Report (TRUE) ]
  39. Uint32 EnableNonTPM;
  40. [ SMS_Report (TRUE) ]
  41. Uint32 EncryptionMethod;
  42. [ SMS_Report (TRUE) ]
  43. Uint32 EncryptionMethodNoDiffuser;
  44. [ SMS_Report (TRUE) ]
  45. Uint32 EncryptionMethodWithXtsFdv;
  46. [ SMS_Report (TRUE) ]
  47. Uint32 EncryptionMethodWithXtsOs;
  48. [ SMS_Report (TRUE) ]
  49. Uint32 EncryptionMethodWithXtsRdv;
  50. [ SMS_Report (TRUE) ]
  51. Uint32 IdentificationField;
  52. [ SMS_Report (TRUE) ]
  53. String IdentificationFieldString;
  54. [ SMS_Report (TRUE) ]
  55. Uint32 MinimumPIN;
  56. [ SMS_Report (TRUE) ]
  57. Uint32 MorBehavior;
  58. [ SMS_Report (TRUE) ]
  59. String RecoveryKeyMessage;
  60. [ SMS_Report (TRUE) ]
  61. Uint32 RecoveryKeyMessageSource;
  62. [ SMS_Report (TRUE) ]
  63. String RecoveryKeyUrl;
  64. [ SMS_Report (TRUE) ]
  65. Uint32 RequireActiveDirectoryBackup;
  66. [ SMS_Report (TRUE) ]
  67. String SecondaryIdentificationField;
  68. [ SMS_Report (TRUE) ]
  69. Uint32 TPMAutoReseal;
  70. [ SMS_Report (TRUE) ]
  71. Uint32 UseAdvancedStartup;
  72. [ SMS_Report (TRUE) ]
  73. Uint32 UseEnhancedPin;
  74. [ SMS_Report (TRUE) ]
  75. Uint32 UsePartialEncryptionKey;
  76. [ SMS_Report (TRUE) ]
  77. Uint32 UsePIN;
  78. [ SMS_Report (TRUE) ]
  79. Uint32 UseRecoveryDrive;
  80. [ SMS_Report (TRUE) ]
  81. Uint32 UseRecoveryPassword;
  82. [ SMS_Report (TRUE) ]
  83. Uint32 UseTPM;
  84. [ SMS_Report (TRUE) ]
  85. Uint32 UseTPMKey;
  86. [ SMS_Report (TRUE) ]
  87. Uint32 UseTPMKeyPIN;
  88. [ SMS_Report (TRUE) ]
  89. Uint32 UseTPMPIN;
  90.  
  91. //- BitLocker OS Drives properties
  92. [ SMS_Report (TRUE) ]
  93. Uint32 OSActiveDirectoryBackup;
  94. [ SMS_Report (TRUE) ]
  95. Uint32 OSActiveDirectoryInfoToStore;
  96. [ SMS_Report (TRUE) ]
  97. String OSAllowedHardwareEncryptionAlgorithms;
  98. [ SMS_Report (TRUE) ]
  99. Uint32 OSAllowSecureBootForIntegrity;
  100. [ SMS_Report (TRUE) ]
  101. Uint32 OSAllowSoftwareEncryptionFailover;
  102. [ SMS_Report (TRUE) ]
  103. String OSBcdAdditionalExcludedSettings;
  104. [ SMS_Report (TRUE) ]
  105. String OSBcdAdditionalSecurityCriticalSettings;
  106. [ SMS_Report (TRUE) ]
  107. Uint32 OSEnablePrebootInputProtectorsOnSlates;
  108. [ SMS_Report (TRUE) ]
  109. Uint32 OSEnablePreBootPinExceptionOnDECapableDevice;
  110. [ SMS_Report (TRUE) ]
  111. Uint32 OSEncryptionType;
  112. [ SMS_Report (TRUE) ]
  113. Uint32 OSHardwareEncryption;
  114. [ SMS_Report (TRUE) ]
  115. Uint32 OSHideRecoveryPage;
  116. [ SMS_Report (TRUE) ]
  117. Uint32 OSManageDRA;
  118. [ SMS_Report (TRUE) ]
  119. Uint32 OSManageNKP;
  120. [ SMS_Report (TRUE) ]
  121. Uint32 OSPassphrase;
  122. [ SMS_Report (TRUE) ]
  123. Uint32 OSPassphraseASCIIOnly;
  124. [ SMS_Report (TRUE) ]
  125. Uint32 OSPassphraseComplexity;
  126. [ SMS_Report (TRUE) ]
  127. Uint32 OSPassphraseLength;
  128. [ SMS_Report (TRUE) ]
  129. Uint32 OSRecovery;
  130. [ SMS_Report (TRUE) ]
  131. Uint32 OSRecoveryKey;
  132. [ SMS_Report (TRUE) ]
  133. Uint32 OSRecoveryPassword;
  134. [ SMS_Report (TRUE) ]
  135. Uint32 OSRequireActiveDirectoryBackup;
  136. [ SMS_Report (TRUE) ]
  137. Uint32 OSRestrictHardwareEncryptionAlgorithms;
  138. [ SMS_Report (TRUE) ]
  139. Uint32 OSUseEnhancedBcdProfile;
  140.  
  141. //- BitLocker Fixed Data Drives properties
  142. [ SMS_Report (TRUE) ]
  143. Uint32 FDVActiveDirectoryBackup;
  144. [ SMS_Report (TRUE) ]
  145. Uint32 FDVActiveDirectoryInfoToStore;
  146. [ SMS_Report (TRUE) ]
  147. String FDVAllowedHardwareEncryptionAlgorithms;
  148. [ SMS_Report (TRUE) ]
  149. Uint32 FDVAllowSoftwareEncryptionFailover;
  150. [ SMS_Report (TRUE) ]
  151. Uint32 FDVAllowUserCert;
  152. [ SMS_Report (TRUE) ]
  153. String FDVDiscoveryVolumeType;
  154. [ SMS_Report (TRUE) ]
  155. Uint32 FDVEncryptionType;
  156. [ SMS_Report (TRUE) ]
  157. Uint32 FDVEnforcePassphrase;
  158. [ SMS_Report (TRUE) ]
  159. Uint32 FDVEnforceUserCert;
  160. [ SMS_Report (TRUE) ]
  161. Uint32 FDVHardwareEncryption;
  162. [ SMS_Report (TRUE) ]
  163. Uint32 FDVHideRecoveryPage;
  164. [ SMS_Report (TRUE) ]
  165. Uint32 FDVManageDRA;
  166. [ SMS_Report (TRUE) ]
  167. Uint32 FDVNoBitLockerToGoReader;
  168. [ SMS_Report (TRUE) ]
  169. Uint32 FDVPassphrase;
  170. [ SMS_Report (TRUE) ]
  171. Uint32 FDVPassphraseComplexity;
  172. [ SMS_Report (TRUE) ]
  173. Uint32 FDVPassphraseLength;
  174. [ SMS_Report (TRUE) ]
  175. Uint32 FDVRecovery;
  176. [ SMS_Report (TRUE) ]
  177. Uint32 FDVRecoveryKey;
  178. [ SMS_Report (TRUE) ]
  179. Uint32 FDVRecoveryPassword;
  180. [ SMS_Report (TRUE) ]
  181. Uint32 FDVRequireActiveDirectoryBackup;
  182. [ SMS_Report (TRUE) ]
  183. Uint32 FDVRestrictHardwareEncryptionAlgorithms;
  184.  
  185. //- BitLocker Removable Data Drives properties
  186. [ SMS_Report (TRUE) ]
  187. Uint32 RDVActiveDirectoryBackup;
  188. [ SMS_Report (TRUE) ]
  189. Uint32 RDVActiveDirectoryInfoToStore;
  190. [ SMS_Report (TRUE) ]
  191. Uint32 RDVAllowBDE;
  192. [ SMS_Report (TRUE) ]
  193. String RDVAllowedHardwareEncryptionAlgorithms;
  194. [ SMS_Report (TRUE) ]
  195. Uint32 RDVAllowSoftwareEncryptionFailover;
  196. [ SMS_Report (TRUE) ]
  197. Uint32 RDVAllowUserCert;
  198. [ SMS_Report (TRUE) ]
  199. Uint32 RDVConfigureBDE;
  200. [ SMS_Report (TRUE) ]
  201. Uint32 RDVDenyCrossOrg;
  202. [ SMS_Report (TRUE) ]
  203. Uint32 RDVDisableBDE;
  204. [ SMS_Report (TRUE) ]
  205. String RDVDiscoveryVolumeType;
  206. [ SMS_Report (TRUE) ]
  207. Uint32 RDVEncryptionType;
  208. [ SMS_Report (TRUE) ]
  209. Uint32 RDVEnforcePassphrase;
  210. [ SMS_Report (TRUE) ]
  211. Uint32 RDVEnforceUserCert;
  212. [ SMS_Report (TRUE) ]
  213. Uint32 RDVHardwareEncryption;
  214. [ SMS_Report (TRUE) ]
  215. Uint32 RDVHideRecoveryPage;
  216. [ SMS_Report (TRUE) ]
  217. Uint32 RDVManageDRA;
  218. [ SMS_Report (TRUE) ]
  219. Uint32 RDVNoBitLockerToGoReader;
  220. [ SMS_Report (TRUE) ]
  221. Uint32 RDVPassphrase;
  222. [ SMS_Report (TRUE) ]
  223. Uint32 RDVPassphraseComplexity;
  224. [ SMS_Report (TRUE) ]
  225. Uint32 RDVPassphraseLength;
  226. [ SMS_Report (TRUE) ]
  227. Uint32 RDVRecovery;
  228. [ SMS_Report (TRUE) ]
  229. Uint32 RDVRecoveryKey;
  230. [ SMS_Report (TRUE) ]
  231. Uint32 RDVRecoveryPassword;
  232. [ SMS_Report (TRUE) ]
  233. Uint32 RDVRequireActiveDirectoryBackup;
  234. [ SMS_Report (TRUE) ]
  235. Uint32 RDVRestrictHardwareEncryptionAlgorithms;
  236. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement