O'Reilly logo

PowerShell in Practice by Richard Siddaway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required