IBM Support

How to use cleanstartcenters.bat function

Technote (FAQ)


Question

What is the cleanstartcenters tool and how can we use this tool?

Answer

Cleanstartcenters.bat is a tool that deletes Start Center configuration data by specific user or for all users as specified in the sccleanup.xml file. Be aware that this is only available from 7.1.1.8 or above.
Without an input file, the tools deletes Start Center configuration data for all users. When users log in to Maximo afterwards, their Start Center data will get re-populated to the latest settings.
With an input file, you can delete Start Centers for all users in a certain Security Group or use a list of users to delete Start Centers or both can be used i.e. group and user.

The sample sccleanup.xml is as follows:

<?xml version="1.0" ?>

<document docid="SCCleanup">

<!-- The line below is an example of specifying an userid for removing all start center setup for the user.
This will not remove the SC template, only removes the sc configuration for the user and related data.

<startcenters>

-->
<startcenters>
<startcenter id="93"/>
<startcenterbygroup groupname="SRMSELFSERVICE"/>
<startcenterbygroup groupname="ITADMIN"/>
<startcenterbyuser userid="MMTEST"/>
<startcenterbyuser userid="TESTUSER"/>
</startcenters>
</document>

After modifying or creating the sccleanup.xml file, you will have to add an option to make it applied when running the cleanstartcenters.bat.

For example :
- To delete start center configuration for specific users or usergroups

- To delete all just run "cleanstartcenters.bat"

Note1) If you run this while user is logged in, the personal setting for start center will be remained until the user re-login. And if user logs in, the default start center will appears.

Note2) The option for startcenterbyuser and startcenterbygroup are available on 7.1.x only. From 7.5, you can delete SC Configuration for all or selected start center.

Document information

More support for: Maximo Asset Management
System Related

Software version: 7.1.1, 7.5

Operating system(s): Windows

Reference #: 1584731

Modified date: 03 August 2015


Translate this page: