Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Management API - DeleteUMA

I am trying to write a script to run that will remove the assigned user from a laptop so that we can then re-image it and give it to a new user. As it stands SGN will sync with the client after re-image and configure it for the old user again.

Obviously this can be done manually in the management centre but I would like to use an automated script if possible.

I have looked at the UmaAPI.vbs on the product CD but cannot get this to run. I'm probably missing something obvious!

Does anyone have any experience with this or has wrote a similar script themselves?

Thanks

:34163


This thread was automatically locked due to age.
Parents
  • Hi SteveMo,

    just to be on the safe side - you have replaced the "computername" attribute in the call with a machine from your environment? So in example:

    C:\Windows\SysWOW64>cscript.exe C:\UMA_API.vbs 2 XPClient

     where XPClient would be the name of your SGN client machine

    GetOneObject should deliver a 0 result if the machine name was found in the database, even if the machine is no SafeGuard Enterprise Client.

    Regards,

    Chris

    :34513
Reply
  • Hi SteveMo,

    just to be on the safe side - you have replaced the "computername" attribute in the call with a machine from your environment? So in example:

    C:\Windows\SysWOW64>cscript.exe C:\UMA_API.vbs 2 XPClient

     where XPClient would be the name of your SGN client machine

    GetOneObject should deliver a 0 result if the machine name was found in the database, even if the machine is no SafeGuard Enterprise Client.

    Regards,

    Chris

    :34513
Children
No Data