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
  • Sorry I obviously had changed the MSO user to one that I created with 'Scripting' permissions.

    When I run it from my PC which has the SGN Management Centre installed I get...

    C:\>cscript UMA_API.vbs 2 computer
    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
    Authenticate :
    Init Directory:
    Init UMA:
    Init:
    An error has occurred

    C:\>

    :34423
Reply
  • Sorry I obviously had changed the MSO user to one that I created with 'Scripting' permissions.

    When I run it from my PC which has the SGN Management Centre installed I get...

    C:\>cscript UMA_API.vbs 2 computer
    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
    Authenticate :
    Init Directory:
    Init UMA:
    Init:
    An error has occurred

    C:\>

    :34423
Children
No Data