Page 1 of 1 1
Topic Options
#187000 - 2008-04-17 03:46 AM Vista and Elevated
jspin2992 Offline
Just in Town

Registered: 2006-10-13
Posts: 1
Loc: Colorado, USA
I am running a Kixtart application on Windows Vista Business. My application runs a simple "MOVE" command within a KIX script as follows:

MOVE C:\SuppAsstTest\kixforms.dll C:\Windows\System32 /H /R

I was getting the "Access Denied" error. Different sources indicated trying the Elevated command, as follows:

Shell Elevated $CMD

where I assign the MOVE command to the $CMD variable

I get past the Access Denied and receive "System cannot find file specified"

However, the file definitely resides in the source directory and has no special attributes that would make it invisible or unavailable.

Any ideas?

Top
#187008 - 2008-04-17 10:18 AM Re: Vista and Elevated [Re: jspin2992]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Confirm that the target file is ok (test by MOVEing the file from a command prompt) and if that works try one of the following:
 Code:
MOVE "C:\SuppAsstTest\kixforms.dll" "C:\Windows\System32\" /H /R

or
 Code:
MOVE "C:\SuppAsstTest\kixforms.dll" "C:\Windows\System32\kixforms.dll" /H /R


There is no "Elevated" parameter for the vanilla KiXtart SHELL command, and this is what is causing the "file cannot be found" error.

Top
#187030 - 2008-04-17 06:15 PM Re: Vista and Elevated [Re: Richard H.]
Spinner Offline
Just in Town

Registered: 2007-10-26
Posts: 3
Richard,

Thanks much for the reply, especially the truth on "Elevated". The MOVE (or COPY) will not work from the command prompt. I receive the "Access Denied" error. Apparently, Vista has a problem with this, because I have seen various posts across the web. Have you encountered Vista problems?

Top
#187073 - 2008-04-18 09:41 AM Re: Vista and Elevated [Re: Spinner]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
I'm one of the fortunate many who has not been forced into Vista, so I'm afraid I cannot help much.

I've googled Vista & Elevated, and I can see why you might have been directed to look at it from a Vista pespective (wow! sneaky tautology).

If you explain how you intend to use the script then other board members may be better able to help.

Especially useful would be to know if the script is part of a deployment package run as a user with admin privilege, or if it is intended to be run as a normal user with none-admin privilege.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 661 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.052 seconds in which 0.022 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org