"Failed to update the system registry. Please try using REGEDIT"

Jan 24, 2018
We have a scheduled task (Windows Server 2012 R2) that calls a tcc.exe window and passes it a .bat file. This task has been running successfully for a while now as a domain admin account. When we changed the task to run as a non-domain admin (still a local admin) account, the task no longer runs. When we call tcc.exe and pass it the .bat file from command prompt we are presented with the following error message: "Failed to update the system registry. Please try using REGEDIT". I'm sure this is a permissions issue, and I have checked the following Reg permissions with no success:
  1. HKEY_LOCAL_MACHINE\Software\Oracle
  2. HKEY_LOCAL_MACHINE\Software\Classes
  3. HKEY_LOCAL_MACHINE\Software\Classes\.DIS
  4. HKEY_LOCAL_MACHINE\Software\Classes\Dis.Document
  5. HKEY_LOCAL_MACHINE\Software\Classes\Discoverer.Application
  6. HKEY_LOCAL_MACHINE\Software\Classes\DIS
  7. HKEY_LOCAL_MACHINE\Software\Classes\CLSID
  8. HKEY_LOCAL_MACHINE\Software\Classes\CLSID{470A152C-5FC1-11D1-A434-0000F8AE4944}
  9. HKEY_LOCAL_MACHINE\Software\Classes\CLSID{AD7CE4E0-C391-11CE-9C10-08002BE52B53
Please help!

TCC 14.03.59 x64
May 20, 2008
Syracuse, NY, USA
Two things to check:

1. that the task has "run with highest privileges" checked.

2. that the domain admin had not restricted the local admin my means of a group policy object.
Jan 24, 2018
Thanks for the replies! The issue was simple - I was still logged in as domain admin when I changed the task to run as the new user, and "Run only when user is logged in" was checked. I also had to check "Run with highest privileges".

TL;DR - Make sure you're logged in as the user you need the task to run as.
Similar threads
Thread starter Title Forum Replies Date
B Take Command x64 15.01.55 Error: Update installation failed Support 7
H Takecommand.pdf failed not a pdf file Support 6
Chen Touboul Failed to ZIP Support 9
thorntonpg 21.00.15 x64 to .16 failed Support 4
Roedy missing English.dll, failed install Support 2
Alpengreis [TC 17.x] Install with "option /u" failed Support 5
vefatica IsLicense50.dll failed to register Support 14
vefatica Failed upgrade to build 39 Support 6
Steve Pitts Failed REXX invocation not closing file Support 3
samintz 27.0.21 Did not update ES Support 2
D ParentDirectory does not update directory history Support 6
vefatica Off topic: 10/3 cumulative update? Support 10
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
Joe Caverly CMDebug v23 Help: /FEEDBACK /UPDATE Support 0
rconn News Update: Code Signing Certificate Status Support 16
Joe Caverly Update ENDLOCAL to include LIBRARY Support 0
A Reinstalling TCC-RT 21.01.57 triggers a new install instead of update/reinstall Support 3
Charles Dye Ctrl-Shift-Up doesn't update directory history Support 1
vefatica File system update after DEL? Support 4
F Update 21.00.34 -> 37, key no longer recognised Support 2
vefatica Will this survive an update? Support 3
K_Meinhard Theme not remembered by update Support 1
Seven Update / install issue with take command Support 7
M Can't update TCC/TCMD to 20.00.25 Support 4
vefatica 21-22 Update problems Support 8
Alpengreis [v2problems0.x] After Update always "" with Everything Support 4
Alpengreis [TC 19.0 Beta 22/23] Install/Update-"Problems" Support 4
J Fixed Update to 18.00.25 not ok Support 7
Jay Sage Toolbar Update to INI File Not Working Support 10
vefatica Update to current install dir? Support 8
tmaynard Error on Take Command Start after recent update Support 2
vefatica Update to 54 Support 4
rconn News JP Software Forums Update Support 3
rconn News Web site update Support 0
vefatica Update removes pinned shortcut? Support 17
S How to? Download TCMD only once to update several computers Support 4
fpefpe How to? update error? Support 3
H Update to 15.01.40 freezes on cleanup... Support 3
samintz Fixed Update from 39 to 40 Support 0
rconn News Forum software update Support 5
vefatica Must update remove my taskbar-pinned shortcut? Support 20
vefatica Update removes taskbar-pinned shortcut Support 7
greyfairer Very slow startup since last Windows 7 Update (14.03.59 x64) Support 9
B Virus in latest update? Support 4
C Update Title Support 7
fishman@panix.com What does each update do? Support 1
R wishlist: in update keep previous settings Support 9
Peter Bratton Update the ftp site Support 1
T 12.11.70 update problem Support 3
P Help > Update triggers invalid configuration Support 3

Similar threads