TCC doesn't run using another user

Jun 2, 2008
21
0
#1
Starting tcc.exe with another user using Run... in Tab-menu starts tcc with same user as logged on interactively.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

I have tested the same feature in tcmd version 10 where it works. I am using the same syntax for passing username which means the following syntax: username'AT-SIGN'domain.

Actually the username and password fields seam to never be checked in version 11.<o:p></o:p>
I can type in NoUser'AT-SIGN'NoDomain as username and WrongPassWord as password and tcmd fires up a stand alone tcc-window with the default user (interactively logged on) instead of giving an error message (logon failure).<o:p></o:p>

Reproducible: Yes, always.<o:p></o:p>
<o:p></o:p>
/Berndt Berg<o:p> </o:p>
 

rconn

Administrator
Staff member
May 14, 2008
10,551
97
#2
> Starting tcc.exe with another user using Run... in Tab-menu starts tcc
> with same user as logged on interactively.
>
> I have tested the same feature in tcmd version 10 where it works. I am
> using the same syntax for passing username which means the following
> syntax: username'AT-SIGN'domain.
>
> Actually the username and password fields seam to never be checked in
> version 11.

> I can type in NoUser'AT-SIGN'NoDomain as username and WrongPassWord as
> password and tcmd fires up a stand alone tcc-window with the default
> user (interactively logged on) instead of giving an error message
> (logon failure).
Not reproducible here (with 11.0.44). Entering a valid name starts a new
tab with the app running under the specified user, and entering an invalid
name pops up an error.

Does it work if you use START /runas? Does it work if you enter a (local)
username without the domain?

What version of Windows and what TCC (32-bit or 64-bit) are you running?

Rex Conn
JP Software
 
Jun 2, 2008
21
0
#3
Sorry for missing information. Here it comes.

What version of Windows and what TCC (32-bit or 64-bit) are you running?
Windows and TCC are 32-bit versions.
TCC 11,00,44 Windows XP [Version 5,1,2600]
TCC Build 44 Windows XP Build 2600 Service Pack 3

Does it work if you use START /runas? Yes, syntax used:
start /runas [email protected] password /pgm tcc.exe
Run as... (right click on tcc.exe in Explorer) works.

Does it work if you enter a (local) username without the domain?
No, syntax used:
start /runas localName password /pgm tcc.exe
TCC: (Sys) Logon failure: unknown user name or bad password.
Run as... (right click on tcc.exe in Explorer) works.

I want to be more specific about the error I referred to in my first post.
In TCMD I selected the Tabs menu, where I picked the Run...-alternative which displayed the run dialog box.

Test1: The following data was used in the dialog box:
Command line: "C:\Program Files\JPSoft\TCMD11\tcc.exe"
Directory: "C:\Program Files\JPSoft\TCMD11"
Run As: [email protected] (not same username as interactively logged on)
Password: The password associated with [email protected]
Normal button selected

With the above data a stand alone tcc window is displayed using the interactively logged on user (wrong!). Should be the user specified in the run dialog box.

Test2: The following data was used in the dialog box:
Command line: "C:\Program Files\JPSoft\TCMD11\tcc.exe"
Directory: "C:\Program Files\JPSoft\TCMD11"
Run As: username (local user, not same username as interactively logged on)
Password: The password associated with username
Normal button selected

With the above data a stand alone tcc window is displayed using the interactively logged on user (wrong!). Should be the local user specified in the run dialog box.

/Berndt Berg