Infos

Sie befinden sich aktuell in den Techblog - Tim Wanierke Blog-Archiven für den folgenden Tag 4.2.2009.

Calendar
Februar 2009
M D M D F S S
« Jan   Mrz »
 1
2345678
9101112131415
16171819202122
232425262728  

Archive für 4.2.2009

Corrupt user object after modify user with Windows Server 2008 SnapIn ( Active Directory-Users & Computers )

When the Win2K8 console ( Users & Computers ) has been used to modify a user object, the object becomes corrupted.
In fact, only the attribute named “UserParameters” is corrupted. This attribute contains the TS parameters, like profile, timeout…

Const ADS_PROPERTY_CLEAR = 1
Set objUser = GetObject (”LDAP://cn=MyUser,ou=MyOU,dc=MyDomain,dc=com“)
objUser.PutEx ADS_PROPERTY_CLEAR, “userParameters”, 0
objUser.SetInfo

|