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
  • Getting a little further now...

    C:\Windows\SysWOW64>cscript.exe C:\UMA_API.vbs 2 computername
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.

    UMA Excample-Skript
    Created Base Object
    Created Uma Object
    API init 0
    Authenticate : -6
    Init Directory: -6
    Init UMA: -6
    GetOneObject : 0 computername Module not initialized -> -2
    Init: Module not initialized

    C:\Windows\SysWOW64>

    :34455
Reply
  • Getting a little further now...

    C:\Windows\SysWOW64>cscript.exe C:\UMA_API.vbs 2 computername
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.

    UMA Excample-Skript
    Created Base Object
    Created Uma Object
    API init 0
    Authenticate : -6
    Init Directory: -6
    Init UMA: -6
    GetOneObject : 0 computername Module not initialized -> -2
    Init: Module not initialized

    C:\Windows\SysWOW64>

    :34455
Children
No Data
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?