Unlock user script which I was used in Lansweeper 4 version not working after I upgrade it to version 5.0.Please find below script and error that I receiving,
Script: ------------------------------------------------------ If WScript.Arguments.Count = 1 Then struser= WScript.Arguments(0) Set objUser = GetObject("LDAP://" & struser) objUser.IsAccountLocked = False objUser.SetInfo end if ------------------------------------------------------
Error message:
--------------------------- Windows Script Host --------------------------- Script: \\PCSHQ-IT-MON\lansweeper$\unlock.vbs Line: 3 Char: 2 Error: There is no such object on the server. Code: 80072030 Source: (null)
--------------------------- OK ---------------------------
I have exactly the same issue / error message in Lansweeper 5 (after the upgrade) Same for the other standard vbs scripts, such as "Reset password", "Pwd change allowed", "Reset password"