If you don’t want to import deactivated user from Microsoft Active Directory you can changed the user filter in the Microsoft Active Directory settings as follows:
`(&(objectClass=user)(!(objectClass=computer))(!(userAccountControl:1.2.840.113556.1.4.803:=2)))`<pre>(&(objectClass=user)(!(objectClass=computer))(!(userAccountControl:1.2.840.113556.1.4.803:=2)))</pre>
The expression !(userAccountControl:1.2.840.113556.1.4.803:=2) checks if bit 2 of the userAccountControl attribute is not set. Bit 2 marks if the user is deactivated.
Be careful with changing the filter because a wrong filter could cause that all users are deleted in Xpert.ivy Server.