Appendix D. Reference data
This appendix contains a collection of reference data that I’ve found useful. This information is available on the web, but can some of it can be awkward to track down.
D.1. Active Directory: user account control
The user account control flags are used to set the properties on a user account, including whether it’s enabled or disabled. The attribute is a 32-bit integer where various bits have a particular meaning, as shown in table D.1.
Table D.1. User account control flags
Property |
Decimal value |
Hexadecimal value |
---|---|---|
Script (logon script will run) |
1 |
0x01 |
Account Disabled |
2 |
0x02 |
Home Directory Required |
8 |
0x08 |
Account Locked Out |
16 |
0x10 |
Password Not Required |
32 |
0x20 |
Password Cannot ... |
Get PowerShell in Practice now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.