Reset SAP GUI passwords for number of users one time

Dear,
i need your help in how to Reset SAP GUI passwords for number of users one time, as we have non-SAP users, only ESS users that they are currently using Portal ESS, but we need to reset thier GUI passwords so that they will not be accessing the GUI.
we need to do it one shot, one time for more than 600 users.
is there any way?
thank you

You can also create an ABAP program which can be used to do a mass user password change.
Here are the functions that will do what you need
SUSR_GENERATE_PASSWORD - Generates a Password. Use this function only if you want to do random passwords. Otherwise you can upload your own password.
BAPI_USER_CHANGE - You can use this BAPI to change just the password of a user
Here is an example of some abap code. There may be some syntax errors and possible other issues. I just typed this out and didnt check it. You upload a comma delimited file which is the username,password. If the password field is blank the program will generate its own. Hope this helps
constants: con_comma TYPE c VALUE ','.
data: it_tab TYPE filetable,
gd_subrc TYPE i,
v_filename_string TYPE string,
p_npass like XU400-NEWCODE.
DATA: BEGIN OF itab OCCURS 0,
dLine(40) type c,
END OF itab.
DATA: begin of it_Users occurs 0,
UserID like BAPIBNAME-BAPIBNAME,
Password Like XUBCODE,
end of it_Users.
parameters: p_file like rlgrap-filename default 'c:\users.txt' LOWER CASE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
*& FILE_OPEN_DIALOG METHOD *
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select File'
default_filename = '*.txt'
multiselection = ' '
CHANGING
file_table = it_tab
rc = gd_subrc.
LOOP AT it_tab INTO p_file.
ENDLOOP.
v_filename_string = p_file.
START-OF-SELECTION.
*& GUI_UPLOAD function *
Upload file to internal table
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = v_filename_string
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = ITAB
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Loop through internal table and split the comma delimited file
LOOP AT ITAB.
SPLIT ITAB-dLINE AT con_comma INTO it_Users-UserID
it_Users-Password.
APPEND it_Users.
ENDLOOP.
LOOP AT it_Users.
if it_users-Password is initial.
CALL FUNCTION 'SUSR_GENERATE_PASSWORD'
IMPORTING
PASSWORD = p_npass
else.
p_npass = it_users-Password.
endif.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
USERNAME = it_users-userid
PASSWORD = p_npass
PASSWORDX = 'X'
TABLES
RETURN = it_ret2.
Loop at it_ret2.
if it_ret2-number = 039.
write: / 'password changed'.
else.
write: / it_ret2-message.
endif.
endloop.
Write: / ''.
refresh it_ret2.
ENDLOOP.

Similar Messages

  • Reset SAP GUI passwords for number of users

    Dear,
    i need your help in how to Reset SAP GUI passwords for number of users one time, as we have non-SAP users, only ESS users that they are currently using Portal ESS, but we need to reset thier GUI passwords so that they will not be accessing the GUI.
    we need to do it one shot, one time for more than 600 users.
    is there any way?
    thank you

    Hi ,
    We can do it through the LSMW.
    <b>Reminder : Points should be given on answers.</b>

  • How to reset password for a web user via GUI?

    Hi,
    How to reset password for a web user ID via GUI? is it possible?
    Thanks.

    Hi,
    You can  reset the pwd for the user through trascn SU01.
    BR,
    Disha.
    *Pls reward points for useful answers.*

  • NAC Guest Server, How to change the password for a single user?

    We have a NAC Guest Server which creates a complex password for all new users created.
    We would like to have normal/simple password for a single user. How can I get this done on a NAC Guest Server.
    Thanks in advance.

    Hi,
    You can setup 3 different flavours of passwords:
    http://www.cisco.com/en/US/docs/security/nac/guestserver/configuration_guide/20/g_guestpol.html#wp1063249.
    a. Username Policy 1 - Email address as username
    Use the guest's email address as the username. If an overlapping account with the same email address exists, a random number is added to the end of the email address to make the username unique. Overlapping accounts are accounts that have the same email address and are valid for an overlapping period of time.
    b. Username Policy 2 - Create username based on first and last names
    Create a username based on combining the first name and last name of the guest. You can set a Minimum username length for this username from 1 to 20 characters (default is 10). User names shorter than the minimum length are padded up to the minimum specified length with a random number.
    c. Username Policy 3 - Create random username
    Create a username based upon a random mixture of Alphabetic, Numeric or Other characters. Type the characters to include to generate the random characters and the number to use from each set of characters.
    Note: The total length of the username is determined by the total number of characters included.
    HTH,
    Tiago
    If  this helps you and/or answers your question please mark the question as  "answered" and/or rate it, so other users can easily find it.

  • Forgot password for client 000 user DDIC

    We forgot password for client 000 user DDIC & SAP*
    please suggest any one how to recover the password
    Thanks in advance

    Hi,
    Pls refer below link explaining step by step details of activating SAP* user login.
    [http://forums.sdn.sap.com/thread.jspa?threadID=1497131]
    [http://www.sap-img.com/basis/changing-the-default-password-for-sap-user.htm]
    Regards,

  • Changing password for standard service users

    Hi,
    Is it advisable to change the password for standard service users (i.e. SAPCPIC, WF-BATCH, SAPJSF, TMSADM) created during SAP Installation?
    Rgds,
    Hapizorr

    Hi,
    As long as you remember and document the changed passwords it should be no issue.
    Regards.
    Ruchit.

  • Ecc6, after i've changed all the passwords for all oracle users, then how

    ECC6, after i've changed all the passwords for all oracle users, now sap can't connect to oracle , then,  How can i config the sap to make sure it can boot normal?
    If our database is sqlserver, i've changed the database password for all database users, then, How can i config the sap?
    Thanks!

    My db is oracle ,                           the oracle host name is dbserver.
    The sap ap server only install the SAP. SAP host name is apserver.
    Just now i've altered all the password of the oracle database db user account, Include the account "sys".
    (I must alter the password.)
    Now the SAP service in the host "apserver" can't boot.
    Could you teach me  how can i config the "apserver" to make the SAP normal boot ?
    Thanks!
    Best regards!

  • How to reset my login password for macbook air

    How can I reset my login password for my laptop? For some weird reason, my login password no longer works. I now have to get on by logging into guest and then clicking on my username.

    Reset Password using Recovery HD
    OS X 10.7 Lion /10.8 Mountain Lion
    Follow the instructions in the first and third boxes.
    http://pondini.org/OSX/Password.html

  • Enter a password for the ADMIN user,Error in installing Oracle Apex,

    hi, everybody,
    Greetings,
    Iam trying to install oracle Apex, By coming this step it shows this error, Could you Please help me to solve this error.
    SQL> @apxchpwd.sql
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    Session altered.
    ...changing password for ADMIN
    l_error_lines wwv_flow_global.vc_arr2;
    ERROR at line 3:
    ORA-06550: line 3, column 28:
    PLS-00201: identifier 'WWV_FLOW_GLOBAL.VC_ARR2' must be declared
    ORA-06550: line 3, column 28:
    PL/SQL: Item ignored
    ORA-06550: line 5, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 6, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
    ORA-06550: line 6, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 7, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 7, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 15, column 31:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.STRONG_PASSWORD_VALIDATION' must be
    declared
    ORA-06550: line 15, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 22, column 35:
    PLS-00201: identifier 'WWV_FLOW_UTILITIES.STRIPHTML' must be declared
    ORA-06550: line 22, column 9:
    PL/SQL: Statement ignored
    ORA-06550: line 25, column 9:
    PLS-00320: the declaration of the type o

    suresh.m2015,
    It's going to be impossible for anyone in this forum to help with your issue if you don't provide any more detail about your environment and Apex installation. However, from your post it looks like the Apex database objects are missing or invalid.
    Did you follow the Apex installation guide step by step? For example, did you run apexins.sql?
    It's important to follow the documentation. The script you are running to change the admin user password should not be run until after the Apex installation is complete.
    --Keith Malay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Setting password for Autologon Default user in registry

    Hi friends
    I don't know is this the right forum to ask this question:
    me along with my colleges are doing some exercises to improve our learnings, so we have setup a test lab which has a test DC & 10 test client computers running windows 8.1 
    as we know, when computers join to domain, the item related to Autologon is removed from netplwiz.
    I know that to be able to use Autlogon feature in joined computers, we can restore the above item by creating the required items via any method like the following:
    $regpath="HKLM:\software\Microsoft\Windows NT \CurrentVersion\Winlogon "
    New-ItemProperty -path $regpath -Name AutoAdminLogon -PropertyType String -Value "1" -Force
    $regpath="HKLM:\software\Microsoft\Windows NT\CurrentVersion\Winlogon"
    New-ItemProperty -path $regpath -Name DefaultDomainName -PropertyType String -Value %USERDOMAIN% -Force
    $regpath="HKLM:\software\Microsoft\Windows NT \CurrentVersion\Winlogon "
    New-ItemProperty -path $regpath -Name DefaultUsername -PropertyType String -Value “administrator” -Force
    the above lines provide required info for Autologon, except the password of the user.because of this we have to sit at every test client & open up netplwiz & manually enter the password for default Autologon user.
    is it possible to define the password for this user as well in the registry?  so that we add it to above lines & save them as a PS script & run that PS script on our test systems so that we don't have to sit at each test client
    & manually set password for default user for Autologon.
    I mean I need when we power on our test clients, they automatically login via domain administrator credentials & be ready to use
    thanks

    The documentation for this might prove helpful:
    http://technet.microsoft.com/en-us/library/cc939702.aspx
    According to the above:
    If you disable automatic logon by setting the value of AutoAdminLogon to 0, delete the value of
    DefaultPassword, which is stored and displayed in the registry editor in plain, unencrypted text.
    (Hint: I found this very quickly by searching for "autoadminlogon" using a search engine.)
    -- Bill Stewart [Bill_Stewart]

  • Changing passwords for 800 + existing users.

    Hi, Hope people reading this list can help with this.
    Start of a new school year here and our local education office has generated new passwords for our existing students. I use Passenger to import new users and their passwords onto the server from the supplied spreadsheet. Can I also use Passenger (or some method within workgroup manager) to import just the new passwords for the existing users? I would prefer not to have to delete the users and then re-import them from new files.
    Thanks
    Anthony O'Brien

    Hi,
    If you are using Passenger to import new users, I presume you are using an LDAP connection to interface with OD. In which case you could just construct a script to do a batch import of the password field. If you are using Rails or Ruby this could be done with a Rake task or independently.
    On the OD side you can import passwords into OD in clear text but it has to be done following the formatting rules provided in the CommandLine_Adminv10.5 document p. 123.
    HTH,
    Harry

  • TS2220 How do you reset the network password for Airport wireless?

    How do you reset the network password for Airport wireless?

    Use AirPort Utility...select the AirPort Express and in the menu select Base Station...Restore Default Settings...

  • Password for the DBSNMP user Keep Changing

    Hi ..
    I see frequent change in the password for the DBSNMP users, as a result facing metric collection error for the target instances. Please advise what could be the reason for it. I have created a separate profile for the this user and changed the failed_login_attempts to Unlimited.
    Thanks.

    user582604 wrote:
    Hi ..
    I see frequent change in the password for the DBSNMP users, as a result facing metric collection error for the target instances. Please advise what could be the reason for it. I have created a separate profile for the this user and changed the failed_login_attempts to Unlimited.
    Thanks.Also set password expiry date to unlimited otherwise password will expire.
    You can check expiry date , account_status from dba_users .
    Regards
    Rajesh

  • Changing the password for OIM Database User

    We need to change the password of the database user that created and user to run the prepare_xl_db.sh. I changed the <password encrypted="true"> to "false" and modified the password in the xlconfig.xml and restarted the app server but I can't log in. I get the below error. - what else is needed?
    ERROR,30 Oct 2008 09:31:56,265,[XELLERATE.SERVER],Class/Method: XLJobStoreCTM/initialize encounter some problems: Error while connecting to Database. Please check if DirectDB settings are correct in Xellerate configuration file.
    FATAL,30 Oct 2008 09:31:56,265,[XELLERATE.SCHEDULER],QuartzSchedulerImpl constructor Exception
    org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'noTXDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    ) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
         at org.quartz.impl.jdbcjobstore.JobStoreSupport.initialize(JobStoreSupport.java:429)
         at org.quartz.impl.jdbcjobstore.JobStoreCMT.initialize(JobStoreCMT.java:131)
         at com.thortech.xl.scheduler.core.quartz.XLJobStoreCTM.initialize(Unknown Source)
         at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:753)
         at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:885)
         at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.initialize(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.<init>(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.getSchedulerInstance(Unknown Source)
         at com.thortech.xl.scheduler.core.SchedulerFactory.getScheduler(Unknown Source)
         at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.startScheduler(Unknown Source)
         at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.init(Unknown Source)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2371)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4824)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
         at com.evermind.server.Application.getHttpApplication(Application.java:570)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    * Nested Exception (Underlying Cause) ---------------
    org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'noTXDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    ) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
    )]

    During oim installation datasources are created to access the database.
    So when you change the password for the database user you have to adjust the password in the datasources.

  • How is the password for RemoteApp RDSAdmin user?

    Hello
    I want to Publishing an application but required a user with administrator rights. how is the password for RemoteApp RDSAdmin user?

    Hi Gilberto,
    If you want to publish a custom application, you need to add it to an image and upload the template. The link below explains how to create the custom template:
    How to create a custom template image for RemoteApp
    http://azure.microsoft.com/en-us/documentation/articles/remoteapp-create-custom-image/
    Thanks,
    -Raul

Maybe you are looking for

  • Problem with save as option in version 10 or above

    Hi, I have created a pdf using pdfbox api which has links to go to a particular page in pdf. When a create a copy of this pdf using Save as option and open that copy pdf the links dont work in adobe reader versions 10 or above while they are working

  • Require help with Adobe Reader

    I cannot open Adobe file attachments. I have uninstalled and reinstalled Adobe Reader. A previous time, my service tech said the program was corrupted. He reinstalled Reader. It has failed again. Any suggestions would be appreciated. frugl

  • Will have nokia belle for nokia 500 the forgotten ...

    Really, I had a little disappointment when I bought my nokia 500. I expected to find impressive transition effects when changing between menus or when I bend the phone (changing view landscape/portrait)... Surely, these effects will not be available

  • How can I retrieve deleted emails from the trash?

    How do I retrieve deleted emails from the trash?  I have not emptied the trash.

  • Server prob

    1)     Error: 1042006: Network Error [10061]: Unable To Connect To [TestServer:1423]. The client timed out waiting to connect to the Essbase Agent using TCP/IP. Check your network connections. Also please make sure that Server and Port values are cor