Forum Discussion

collinsj's avatar
Regular Visitor
2 years ago

How does TestComplete show the saved domain name, user name and password in the registry on restart?

Under Working With TestComplete Under User Accounts,

"Registry Access

  • - Users may have no permissions to access some registry keys. For example, by default, the members of the Users group cannot write to the HKEY_LOCAL_MACHINE registry key.

          For example, the HKEY_LOCAL_MACHINE node is used to register COM objects. If your tests do this, you need to run TestComplete as Administrator.


  • If you reboot the computer as part of your test, TestComplete saves the domain name, user name and password for logging on in the following registry key: HKEY_USERS\{USER_SID}\Software\Microsoft\Windows\CurrentVersion\RunOnce


TestComplete removes this data from the registry once it is launched after the restart. However, if the specified user account does not have permissions for the above-mentioned registry key, the logon parameters will remain in the registry and will be used at the next Windows startup."


Does the registry save this data (domain name, user name and password for logging on) in the clear or is it encrypted?


No RepliesBe the first to reply