How to? Windows 7 - run TCC as admin w/o UAC intercept

Feb 14, 2012
5
0
Hi,

I can't find that this has been discussed in the forum in the past.

I'm running TCC v13 under Windows 7 Pro.

I use xxcopy for making backups and large file transfers.

I need to run TCC "as administrator" for xxcopy to work properly.

If I either change the TCC shortcut to run as admin, or I right click on the shortcut and choose run as admin, then I get the UAC intercept ("Do you want to allow... to make changes to your computer?").

I can't turn off UAC per employer policy. Is there something I can do to avoid getting the UAC intercept? Or is it something I need to learn to live with? ...thanks!
 
Feb 14, 2012
5
0
For a couple of Windowed programs, I use a utility called UACPass (http://freeavvarea.r00t.la/UACPass-en).

My understanding is that it creates a scheduled task for whatever program, and the shortcut for the program is changed to a link to the scheduled task. Is that a hole? Or just a workaround? <shrug>

This works for INCTRL5 and ZTreeWin, which otherwise would UAC me every time I try to run them. (Note that UACPass does give me the intercept, but since I don't run it multiple times a day, it's not an annoyance.)

However, UACPass does not seem to work for TCC. The shortcut target is redirected to point to the scheduled task. The scheduled task won't launch from the Task Scheduler, however, even when I click "Run" in the TS. The command line is a simple "C:\Program Files\JPSoft\TCMD13x64\tcc.exe" (quotation marks included, which works just fine from Run... CMD).

Oh. I just ran it again as I was typing this. I discovered the shortcut with the link to the task was set as "Run Minimized," so I set it to "Normal Window." Now, when I click the shortcut, I see a window flash momentarily on the screen, closing immediately. I tried adding /K to the command line, but it doesn't change anything.

Any other thoughts?
 
May 29, 2008
18
2
It's very simple to do and needs no external utility. My elevated TCC shortcut reads:

C:\Windows\System32\schtasks.exe /run /TN "TCCrun"

To set this up, type Task Scheduler in the Run box and run it, click on Create Task, and name the task TCCrun. Be sure to check 'Run with highest privileges' (this is what does the business). Then on the Actions tab, create a New action to run C:\Program Files\JPSoft\TCMD13x64\tcc.exe and choose a starting folder. On the settings page, you should 'allow task to be run on demand' and 'if the task is already running', 'start a new task in parallel' (to allow multiple elevate TCC processes). You need nothing on the triggers page because you only want to start it on demand. If your install locations are different from mine, just adjust as needed. Finally, set the icon for the shortcut use an icon from TCC.

One possible snag: if you change environment variables, you may need to reboot to get them seen in a new TCC instance run from this shortcut.
 
  • Like
Reactions: drwtsn32
Similar threads
Thread starter Title Forum Replies Date
M How to? Run TCC from Windows Install DVD... Support 2
D TCC won't run telnet on Windows 7 RC1 Support 5
A Windows 10 This app can't run on your PC Support 2
thorntonpg windows 11 Support 12
vefatica Windows 10 themes Support 0
J Take command does not start on Windows 10 Support 3
D How to? Windows Key-Left and Windows Key-Right Support 9
Joe Caverly PYTHON from Microsoft Windows Store Support 2
D Open Windows 10 Photos app from command line Support 11
vefatica Windows Terminal ... Pop-up location Support 1
Joe Caverly Windows Terminal and @SELECT Support 13
vefatica Console popup windows don't work correctly Support 0
D Layout debugger windows Support 2
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
nickles ANSI Colors Windows 7 no longer working Support 6
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
D Which is the latest version for Windows XP? Support 2
rconn News Windows 7 Support Support 0
Joe Caverly Windows Size is 80x0 Support 2
rconn Dropping Windows 7 support in Take Command / TCC v26 Support 8
G Taskbar Windows 10 Support 7
T Windows Terminal Support 2
Joe Caverly Windows Sensor Support 5
vefatica Windows 10 and line wrapping selection? Support 6
fishman@panix.com New Problem with later Windows 10 Support 10
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
T Take Command v21 on Windows Server Support 1
Bill de Haan "Sensitive Privilege Use" in Windows security auditing Support 7
Joe Caverly Create Windows Jobs and optionally attach processes to a job Support 17
Joe Caverly What version and Windows OS are you using? Support 3
G 4NT on Windows 10 Support 3
vefatica Undesired scrolling in Windows 10 enhanced console. Support 2
vefatica Windows 10 version number? Support 6
vefatica How do I see Windows 10's ANSI in action? Support 3
A List windows with titles matching given pattern? Support 2
M New "pinned" attribute (since Windows 10 1709) Support 6
Emilio III TCMD Tab titles on Insider Windows Support 2
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
E Cannot paste dollar sign into TCC on Windows 10 1803 Support 7
M TCC incorrect dir output since Windows 1803 Support 6
G Version 20.11 installed on Windows 10 problems Support 9
fishman@panix.com TCC v22 & the Windows 10 Console Support 5
Per TCC/LE 14 64-bit won't start on Windows 10 Insider Preview 17063 (171213) Support 12
I tcmd versus tcc in Windows 10 Support 2
Dick Johnson DrawBox now broken in Windows 10? Support 6
CWBillow Editing in the root directory of windows 10 Support 6
CWBillow Clearing out the Windows Temp folder Support 2
H New command not working well in Windows 7 Support 4
H _winver shows 6.1 on windows 7 Support 7
Joe Caverly Windows x64 Support 4

Similar threads