- Techblog - Tim Wanierke - http://techblog.wanierke.de -

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

Dieser Eintrag stammt von Tim Wanierke Am 4.2.2009 @ 22:14 In Microsoft | Keine Kommentare

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 (”[1] LDAP://cn=MyUser,ou=MyOU,dc=MyDomain,dc=com“)
objUser.PutEx ADS_PROPERTY_CLEAR, “userParameters”, 0
objUser.SetInfo


Dieser Artikel wurde ausgedruckt ab Techblog - Tim Wanierke: http://techblog.wanierke.de

URL zum Artikel: http://techblog.wanierke.de/2009/02/04/corrupt-user-object-after-modify-user-with-windows-server-2008-snapin-active-directory-users-computers/

URLs in this post:
[1] LDAP://cn=MyUser,ou=MyOU,dc=MyDomain,dc=com: http://techblog.wanierke.deldap://cn=MyUser,ou=MyOU,dc=MyDomain,dc=com/

Klicken hier zum Drucken.