Endpoint Protection

 View Only
Expand all | Collapse all

MoveClient instructions unclear

  • 1.  MoveClient instructions unclear

    Posted Sep 15, 2014 01:17 AM

    I am trying to convert all my entries on SEPM12 to computer mode. After reading the PDF and a few articles I am still getting the following error:

    ########################################################################
    # Begin MoveClient        15/09/2014 3:15:00 PM
    ########################################################################
    ::Temp Group for this run: Default Group
            ::Success
        ::Root Group Name: 
        ::Domain Name: %
        ::DomainID: 
            ::Success
        ::Get Temp GroupID: 
            ::Success
        ::Get NewUSN: 
            ::Success
    15/09/2014 3:15:00 PM : Start structure metadata Query
        ::Get group structure metadata
            ::Failed: 
    Missing settings file: IPgroups.txt
    Missing settings file: Hostgroups.txt
    Missing settings file: Usergroups.txt
    Missing settings file: OSgroups.txt
        ::Processing SwitchClientGroups.txt
        ::ToComputer -|- % -|- Professional Services\Workstations
        ::Checking for clients to switch in group \Professional Services\Workstations
            ::Failed to retrieve client list from database.
    ########################################################################
    # End MoveClient        15/09/2014 3:15:01 PM
    ########################################################################

    It is not clear to me how to set the group for conversion within the SwitchClientGroups.txt file or if I need to alter the Dim TempGroupName : TempGroupName = "Default Group" setting.

    At the moment the only entry I have in the SwitchClientGroups.txt is:

    ToComputer,Professional Services\Workstations

    For reference, if you look at my clients tree in SEPM for this branch (there are actually 30 odd branches under My Company"), it is:

    My Company -> Professional Services -> Workstations

    Any help would be appreciated.

     

     

     



  • 2.  RE: MoveClient instructions unclear

    Posted Sep 15, 2014 01:37 AM

    Sumit,

     

    Thanks for the reply.

    I had already read article TECH157429 and as far as I can tell this is what I am doing. I cannot see what I am doing is different to what it instructs so I am missing something. It is clarification on these instructions that I am seeking.

    You "Similar Thread" link goes to a page not found error.

    Article HOWTO27005 is what I am trying to avoid as I have to convert thousands of clients and it will take me weeks.



  • 3.  RE: MoveClient instructions unclear

    Posted Sep 15, 2014 01:42 AM

    Check the article

    How to use the MoveClient Utility to switch multiple machines between computer and user mode.

    Article:TECH157429  |  Created: 2011-04-05  |  Updated: 2011-04-17  |  Article URL http://www.symantec.com/docs/TECH157429
     

    --Edit Link--

    Similar thread - https://www-secure.symantec.com/connect/forums/moveclient-script-failed

    Switching a client between user mode and computer mode

    Article:HOWTO27005  |  Created: 2010-01-08  |  Updated: 2011-03-23  |  Article URL http://www.symantec.com/docs/HOWTO27005
     


  • 4.  RE: MoveClient instructions unclear

    Posted Sep 15, 2014 02:09 AM

    Currently your SEP client are user mode ?

    You cannot switch from computer mode to user mode if the user's logon name and the computer name are already contained in any group. Switching to user mode deletes the computer name of the client from the group. It then adds the user name of the client into the group.

     

    To switch a client between user mode and computer mode

     

    http://www.symantec.com/business/support/index?page=content&id=HOWTO27005

    1. In the console, click Clients.

    2. On the Clients page, under View Clients, select the group that contains the user or computer.

    3. On the Clients tab, right-click the computer or the user name in the table, and then select either Switch to Computer Mode or Switch to User Mode.

      This mode is a toggle setting so one or the other always displays. The information in the table changes to reflect the new setting.

    http://www.symantec.com/business/support/index?page=content&id=HOWTO27008

    Move Script

     



  • 5.  RE: MoveClient instructions unclear

    Posted Sep 15, 2014 02:40 AM

    As stated in my original post, I am trying to convert from user mode to computer mode using the MoveClient.vbs file as supplied on the CD.

    As stated above, I do not want to manually convert them manually as there are way to many.

    There is no point in automating the script if I cannot get it to work manually.

    The link to the PowerShell commands seems to be only for moving clients. I do not want to move them, I want to convert them from User mode to Computer Mode.

    I am seeking clarification on the instructions that come with MoveClients.vbs. I have tried the following to remove the issues of a space in the group name

    At the moment the only entry I have in the SwitchClientGroups.txt is:

    ToComputer,Physics\Workstations

    My clients tree in SEPM for this branch is:

    My Company -> Physics -> Workstations

    The only entries I have edited in MoveClients.vbs are the database username and password. Given the information above, can anyone tell me why the script will not run?



  • 6.  RE: MoveClient instructions unclear

    Posted Sep 15, 2014 02:54 AM

    As per below Idea Tool available in symantec support for move SEP client user mode to computer mode.

    https://www-secure.symantec.com/connect/idea/changing-clients-usermode-computer-mode-batch-file



  • 7.  RE: MoveClient instructions unclear

    Posted Sep 15, 2014 02:55 AM

    Here is the extract from my MoveClients.log

     

    # Begin MoveClient        15/09/2014 4:47:40 PM
    ########################################################################
    ::Temp Group for this run: Default Group
            ::Success
        ::Root Group Name: 
        ::Domain Name: %
        ::DomainID: 
            ::Success
        ::Get Temp GroupID: 
            ::Success
        ::Get NewUSN: 
            ::Success
    15/09/2014 4:47:40 PM : Start structure metadata Query
        ::Get group structure metadata
            ::Failed: 
    Missing settings file: IPgroups.txt
    Missing settings file: Hostgroups.txt
    Missing settings file: Usergroups.txt
    Missing settings file: OSgroups.txt
        ::Processing SwitchClientGroups.txt
        ::ToComputer -|- % -|- Physics\Workstations
        ::Checking for clients to switch in group \Physics\Workstations
            ::Failed to retrieve client list from database.
    ########################################################################
    # End MoveClient        15/09/2014 4:47:41 PM
    ########################################################################

    There seem to be 2 points of error.

    1) Get group structure metadata:Failed
    2) Failed to retrieve client list form database

    These are the 2 errors I am trying to solve.



  • 8.  RE: MoveClient instructions unclear

    Posted Sep 15, 2014 02:58 AM

    Thank you. I will try this in the morning and report back.



  • 9.  RE: MoveClient instructions unclear

    Posted Sep 15, 2014 05:10 AM

    Try to insert your SEP Domain name in the vbs script (~ line 20, instead of %). Perhaps the script failed to correctly retrieve the Domain ID.



  • 10.  RE: MoveClient instructions unclear

    Posted Sep 15, 2014 08:08 PM

    Hasn't helped. Still get 

    16/09/2014 9:59:00 AM : Start structure metadata Query
        ::Get group structure metadata
            ::Failed: 
    Missing settings file: IPgroups.txt
    Missing settings file: Hostgroups.txt
    Missing settings file: Usergroups.txt
    Missing settings file: OSgroups.txt
        ::Processing SwitchClientGroups.txt
        ::ToComputer -|- university of sydney -|- Physics\workstations
        ::Checking for clients to switch in group \Physics\workstations
            ::Failed to retrieve client list from database.



  • 11.  RE: MoveClient instructions unclear

    Posted Sep 15, 2014 08:09 PM

    Is there anywhere that I need to specify the name of the database?



  • 12.  RE: MoveClient instructions unclear

    Posted Sep 16, 2014 06:10 AM

    Do you use embedded database or SQL Server?

    Here is a discussion that may help you:

    https://www-secure.symantec.com/connect/forums/get-group-structure-metadata-failed-moveclientvbs



  • 13.  RE: MoveClient instructions unclear

    Posted Sep 16, 2014 09:15 PM

    Greg,

    We are using a SQL server and the account I am using is the same account that SEPM uses to log into the database so I assume the user is associated with the database. No we are not using the 'sa' account.

    Still no joy...

     



  • 14.  RE: MoveClient instructions unclear

    Posted Sep 16, 2014 09:34 PM

    The user did not have the sem5 database as its default, but it does now.

     

    I am still getting the error.



  • 15.  RE: MoveClient instructions unclear

    Posted Sep 16, 2014 11:00 PM

    OK, thanks to pointers from Greg, I started to look inthe right direction.

     

    The User we were using, although it had access to the system, it wasn't the user that owned/created the tables. I recovered the original db user password, ran the script with those credentials and it worked!

     

    Thank you all for your help!