access denied problem under Vista

Jun 25, 2008
15
0
Hi. I was unable to copy a file into the take command default directory from my old one unless I ran take command as administrator which I might want to do sometimes, but not all the time! The new directory is the default installation directory and the old one was c:\tc32500. I am an administrator of the system, but for some reason this is not enough. Now, I use other programs which save under Program files without having to run as administrator, so what is going on here?

Thanks.
 
May 31, 2008
26
0
On Thu, 26 Jun 2008 04:12:56 -0500, you wrote:


>Hi. I was unable to copy a file into the take command default directory from my old one unless I ran take command as administrator which I might want to do sometimes, but not all the time! The new directory is the default installation directory and the old one was c:\tc32500. I am an administrator of the system, but for some reason this is not enough. Now, I use other programs which save under Program files without having to run as administrator, so what is going on here?
>
>Thanks.

The other programs you are using must also be running as
Administrator, as that is the only way to copy into the Program Files
directories under Vista unless you turn UAC off (as I have). Only
installers are allowed to write to Program Files (and a number of
other directories). Programs may seem to be writing to Program Files,
but in fact they may have been diverted to a special "VirtualStore"
folder instead. Take a look at:

\Users\<userid>\AppData\Local\VirtualStore

You may not be able to see that directory with normal software unless
you use "Run as Administrator".

This:

http://zone.ni.com/devzone/cda/tut/p/id/5538

has a quick explanation of what is going on (see the "Virtualization
Example" section).
 
Jun 25, 2008
15
0
On Thu, 26 Jun 2008 04:12:56 -0500, you wrote:

Well, I have one program or maybe two which do just that -- write to the program files structure, but in thinking about it, this one -- my accounting package -- uses some sort of database which I think starts as a service, maybe this explains that.

So, should I uninstall and reinstall outside Program files -- like it was previously or is there a better solution -- because I want to put btm files, etc in that directory. Another thing, how do they write to the .ini files?




The other programs you are using must also be running as
Administrator, as that is the only way to copy into the Program Files
directories under Vista unless you turn UAC off (as I have). Only
installers are allowed to write to Program Files (and a number of
other directories). Programs may seem to be writing to Program Files,
but in fact they may have been diverted to a special "VirtualStore"
folder instead. Take a look at:

\Users\<userid>\AppData\Local\VirtualStore

You may not be able to see that directory with normal software unless
you use "Run as Administrator".
 
May 31, 2008
26
0
On Thu, 26 Jun 2008 09:10:19 -0500, you wrote:


>
On Thu, 26 Jun 2008 04:12:56 -0500, you wrote:
>
>Well, I have one program or maybe two which do just that -- write to the program files structure, but in thinking about it, this one -- my accounting package -- uses some sort of database which I think starts as a service, maybe this explains that.
>
>So, should I uninstall and reinstall outside Program files -- like it was previously or is there a better solution -- because I want to put btm files, etc in that directory. Another thing, how do they write to the .ini files?
>

I am not going to be much help if you want to leave UAC on, as I just
turned it off as it gave me far too much trouble, especially with the
GBPVR program I wanted to install. With UAC off, it seems to work
just like XP.
 
On Thu, 26 Jun 2008 04:12:56 -0500, you wrote:

Only installers are allowed to write to Program Files (and a number of other directories). Programs may seem to be writing to Program Files, but in fact they may have been diverted to a special "VirtualStore" folder instead. Take a look at:

\Users\<userid>\AppData\Local\VirtualStore

You may not be able to see that directory with normal software unless you use "Run as Administrator".

This:

http://zone.ni.com/devzone/cda/tut/p/id/5538

has a quick explanation of what is going on (see the "Virtualization Example" section).
Thanks for providing this information. I had a hard time this morning helping a new Take Command user configure his copy of TCSTART.BTM, which I have always stored in the same directory as Take Command or TCC.EXE. We edited the file in three different editors, and each time thought we were saving it in "c:\Program Files\JPSoft\TCMD9", yet when we looked there from a TCC shell prompt or from Windows Explorer, TCSTART.BTM was nowhere to be found.

Arrrgh! This was so frustrating, since I am an experienced 4NT and Windows user, but have very little experience with Windows Vista. Now I know what's going on. (I sort of wish the Vista monkey business had been mentioned in the README file, because it would have saved me time.)

Does Take Command need a special directive in TCMD.INI to locate the TCSTART.BTM file, or does it know to look in the VirtualStore folder?
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Eric Pement wrote:
| Does Take Command need a special directive in TCMD.INI to locate the
| TCSTART.BTM file, or does it know to look in the VirtualStore folder?

Look at help topic "startup2_2.htm", titled "Starting TCC" for various
methods of specifying the location of the TCSTART.BTM file in TCMD.INI or in
the start-up command itself.

If TCC is to start in a TCMD tab automatically, look in the description of
TCMD tabs.
--
HTH, Steve
 
Similar threads
Thread starter Title Forum Replies Date
Jesse Heines Access Denied errors in TCC 27 Support 9
vefatica "Access denied" messages from DO Support 3
P Access denied TakeCommand.19.0.key Support 2
Roedy tccbatch Windows 7 "access is denied" Support 4
Jay Sage Directory Alias Access to FTP Servers Support 2
O TPIPE: Error -Can´t access textpipeengine.dll Support 24
C How to? Setting up SMTP access for Yahoo with TCMD v20 Support 7
dcantor Unable to access help Support 9
D How to? How to access iPhone from tcmd.exe? Support 1
vefatica TPIPE access violations are back Support 2
vefatica TPIPE access violation again Support 1
vefatica TPIPE: Access violation Support 5
S WAD Cannot access mapped drive in 64b Win7 Support 15
C registration proboem if no internet access given Support 0
cgunhouse TPIPE: Error - Can't access textpipeengine.dll Support 14
P Can't access textpipeengine.dll Support 11
Q TCC: (Sys) The process cannot access the file because it is being used by another process. Support 0
C Cannot register v12.10 without Internet access Support 19
vefatica Random access to the characters in a string? Support 4
S How to access array elements? Support 5
S FTP site; IFTP access Support 10
T Access violation upon TC startup Support 2
M Testing my e-mail access Support 1
mscheuner How to access XML *attributes* using XPath Support 3
p.f.moore Broken email access to these forums - finally giving up Support 4
K_Meinhard Email access, again Support 2
K_Meinhard email access Support 6
rconn Email access Support 6
S Version 11 ZIP /V - Permission denied on Network drive Support 2
Dick Johnson Weird Color Problem Support 8
fishman@panix.com Problem with 27.15 Support 2
M Problem with VSDevCmd.bat in VS 16.7.3 Support 0
R Problem with @INT[ value] in V26 Support 9
M Selecting test "off by one" problem in Take command Support 4
Alpengreis UTF-8 problem in TCC related to Python Support 7
K_Meinhard Small problem in german IDE 26 Support 3
B Problem with color in nested shells Support 1
Joe Caverly Problem creating and switching to a DESKTOP Support 9
vefatica Another popup problem Support 10
Alpengreis ffind dialog (/W) problem Support 4
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
A Problem with functions @int @decimal and identifying Powershell as a shell. Support 12
B IF command problem in tcexit.btm Support 9
fishman@panix.com Problem at Startup of TCC Support 3
P Problem with SFTP copies Support 7
P Problem with FTP copies Support 10
Jay Sage Problem with Context Menu Copy+Paste+Run Key Assignment Support 7
R Problem with %_do_loop in nested do loops Support 2
fishman@panix.com New Problem with later Windows 10 Support 10

Similar threads