Ask a Question

RunAs mode issue

albrechtmyers
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
DWalsh
Moderator

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

 

 

Wamboo
Community Hero

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?

sonya_m
SmartBear Alumni (Retired)

Thanks Womboo, and DWalsh!

 

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


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: