TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10passwordresetdb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cli:tmss10passwordresetdb [2019/03/17 03:59] – [Notes] Gerard Nicolcli:tmss10passwordresetdb [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 11: Line 11:
 ===== Options ===== ===== Options =====
  
-  * ''-h'' Database home directory.+  * ''-h'' Database home directory (default location C:\Program Files\TapeTrack\TapeTrack Framework Server\var\db).
   * ''-i'' interactive mode true.   * ''-i'' interactive mode true.
   * ''-p'' New password value.   * ''-p'' New password value.
Line 18: Line 18:
 ===== Notes ===== ===== Notes =====
  
-''TMSS10PasswordResetDB'' can be invoked through the script ''ResetPassword.bat'' which will:+To execute ''TMSS10PasswordResetDB'' automatically in interactive mode, run ResetPassword.bat from the TapeTrack install directory TapeTrack\TapeTrack Framework Server\script. 
 + 
 +{{:cli:cli_reset_password_bat.png}} 
 + 
 +On execution of ResetPassword.bat you will be presented with a Command Prompt window asking you if you wish to proceed, press any key to continue or press Ctrl+C (or close window) to exit script before any changes are made. 
 + 
 +{{cli:cli_resetpassword_batch.png}} 
 + 
 +Continuing the script will open a further Command Prompt and you will be asked to input User (User-ID) to reset the password for.  Entering EXIT instead of a User-ID will exit the script without making any changes. 
 + 
 +Enter Password value for the User and hit Enter on the keyboard.  Entering EXIT instead of a Password will exit the script without making any changes. 
 + 
 +{{cli:cli_reset_password_bat_values.png}} 
 + 
 +<note tip>User name and Password values shown are for illustration only.  Replace with your required values. 
 + 
 +Ensure you enter the User-ID correctly as the script will execute with any values but will not update the database if no matching User-ID is found.</note> 
 + 
 + 
 +If you find that the User's Password is not updating, running the command  
 +<code>TMSS10PasswordResetDB -i -h "%TMSS10DB%</code> 
 + from ResetPassword.bat manually in an Administrative Command Prompt will allow you to view any error messages from the execution of the program without the window automatically closing on completion.
  
-  - call ''TMSS10PaswordResetDB'' in interactive mode, 
-  - set the database home directory and working directory via the variables ''%TMSS10SCRIPTS%'' and ''%TMSS10DB%'' (set at install).   
  
-<note tip>''ResetPassword.bat'' can be found in the **TapeTrack** install directory under ''TapeTrack\TapeTrack Framework Server\scripts''</note> 
  
-{{:cli:cli_reset_password_bat.png}} 
  
 ==== Technical Support ==== ==== Technical Support ====
Line 42: Line 59:
 Running ''TMSS10PasswordReset.bat'' to invoke ''TMSS10PasswordResetDB''. Running ''TMSS10PasswordReset.bat'' to invoke ''TMSS10PasswordResetDB''.
  
-<sxh>+<code>
 ZBT001N-11:05:41 TMSS10PasswordResetDB (c) GazillaByte 1998-2017 ZBT001N-11:05:41 TMSS10PasswordResetDB (c) GazillaByte 1998-2017
 ZBT002N-11:05:41 Compiled Sep  3 2017 at 17:56:27 ZBT002N-11:05:41 Compiled Sep  3 2017 at 17:56:27
Line 72: Line 89:
 ZBT000N-11:05:41      Last Failed Time:   ZBT000N-11:05:41      Last Failed Time:  
 ZBT000N-11:05:41 -------------------------------------------------------------------------------------------- ZBT000N-11:05:41 --------------------------------------------------------------------------------------------
-</sxh>+</code>
  
-===== Changelog =====+--> Changelog 
  
-[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10PasswordResetDB] 
  
 +[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10PasswordResetDB]
 +<--
 <- ^ cli:introduction|Command Line Utilities^ -> <- ^ cli:introduction|Command Line Utilities^ ->
cli/tmss10passwordresetdb.1552795156.txt.gz · Last modified: 2025/01/21 22:07 (external edit)