cancel
Showing results for 
Search instead for 
Did you mean: 

RunAs mode issue

Highlighted
Occasional Visitor

RunAs mode issue

Hi,

 

Could someone help me with an issue I'm currently experiencing.

 

I'm using the RunAs mode to allow me to launch an application under a user account that is different from the actual logged on account

 

Within the Windows registry our software will add a default database key corresponding to the current user under HKEY_CURRENT_USER so when an application is launched it knows what database to connect to.

 

When I launch an application using a different user, however, it connects to the default database corresponding to this user, which so happens to be a different database

 

I know how to update the registry but when I do this at run time it updates the default database fo the current user. Is there anyway when using RunAs to update the registry key for the specific 'RunAs' user

 

https://4kpornindex.com/

 

 

 

 

 

 

3 REPLIES 3
Highlighted
Staff

Re: RunAs mode issue

Hi,

 

Have you tried running TestComplete as adminsitrator for example. See https://support.smartbear.com/testcomplete/docs/general-info/configuring/testing-under-admin-account... and that may help with your default use in the registry

 

 

Highlighted
Community Leader

Re: RunAs mode issue

Yo!

 

i just did a quick "googling" and found something like this:

 

https://www.itechtics.com/edit-registry-settings-other-users/

 

maybe You can try to change it by cmd?

Highlighted
Community Manager

Re: RunAs mode issue

Thanks Womboo, and DWalsh!

 

@albrechtmyers have you tried any of the suggestions yet? What is the result?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Top Kudoed Authors