TCC doesn't run using another user

Jun 2, 2008
21
0
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
12,344
149
> 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
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 username@domain 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: username@domain (not same username as interactively logged on)
Password: The password associated with username@domain
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
 
Similar threads
Thread starter Title Forum Replies Date
E WAD DESCRIBE under TCC 19 doesn't work with diacritics Support 14
noahcoad WAD cmd.exe under tcc doesn't find apps Support 4
P TCC, and or TC/LE doesn't honor font settings? Support 8
E DESCRIBE under TCC 11 doesn't work with diacritics Support 15
MickeyF TCC crashing when copying multiple files (now resolved) Support 6
C COMSPEC constantly reset to TCC.EXE Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
Alpengreis Fixed Crash after copy dialog with big TCC.exception.log Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
L FTYPE in TCC, less quirky than in cmd.exe Support 3
V Set path permanently from within TCC? Support 3
DrusTheAxe Runaway TCC.exception.log filling drive Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
Joe Caverly tcc.exception.log Support 3
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.20 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.19 Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
vefatica SCRIPT ... TCC disappears Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
Jesse Heines Access Denied errors in TCC 27 Support 9
fpefpe How to? tcc inifile (%_ininame) Support 3
M How to? Black TCC Prompt Support 2
D Differences between TCC and CMD with COPY /b Support 4
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
Jay Sage Extra TCC Tasks Support 6
vefatica Can I turn off the minimize to tray mechanism in TCC? Support 5
N Command execution slows down in TCC Prompt after a while Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
samintz How to? Is this doable in TCC? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.02.41 Uploaded Support 0
D TCC tab detaching & restarting Support 3
Ó Recent git output not shown on TCC Support 1
P Kill all other instances of tcc from a btm batch file Support 2
L Using TCC.exe through an SSH connection Support 3
M TCC color issue in ConEmu Support 4
Alpengreis UTF-8 problem in TCC related to Python Support 7
Alpengreis Python support for 3.8.3 in TCC v26.x? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.01.40 uploaded Support 0
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.37 Uploaded Support 0
vefatica TCC waits for Office apps Support 4
Joe Caverly .BAT works in TCC-RT 25, but not in TCC-RT 26 Support 4
M Strange error messages from TCC in FTP copy Support 7
Kachupp Documentation tcc-rt versions Support 1
V Comments from a first-time user (TCC 26) Support 6

Similar threads