Page 1 of 1 1
Topic Options
#34598 - 2002-12-22 07:52 AM Couldn't located my script using su.
knsk80 Offline
Fresh Scripter

Registered: 2002-07-17
Posts: 45
Loc: KL
I'm experimenting on SU.exe but when i execute the below line using batch file... my kixtart will prompt me script error: failed to Open/Find Script!!! how come?

set SU_PASSWORD=MYpassword
set SU_DOMAIN=MYDomain

%0\..\su.exe administrator "%0\..\kix32.exe Kixtart.kix -f"

Top
#34599 - 2002-12-22 04:14 PM Re: Couldn't located my script using su.
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
What does %0 resolve to? Does it contain spaces?

Try
code:
"%0\..\su.exe" administrator "%0\..\kix32.exe" "%0\..\Kixtart.kix" -f

Adn please read the FAQ Forum under Installing an Application as an Admin
_________________________
There are two types of vessels, submarines and targets.

Top
#34600 - 2002-12-23 06:02 AM Re: Couldn't located my script using su.
knsk80 Offline
Fresh Scripter

Registered: 2002-07-17
Posts: 45
Loc: KL
anyone knows what does

SetDesktopSecurity error! (RC=1816)
Not enough quota is available to process this command
CreateProcessAsUser error! (rc=2)
the system cannot find the file specified.

when i run
shell '%comspec% /e:6144 /c c:\test\su.exe $userid "$code" -w'
the message above will prompt up....
hmmm any SU champion here...

ohh fyi... i need to get this running cuz i'm using office scan, and it will require admin priv to install into PCs. so everytime it logins in it will prompt to update it...
i've also check out on that neat JT... interesting.. but not now, cuz with SU.exe i can do much more in sense of reg configuration and suchs...

thanks

Top
#34601 - 2002-12-23 02:19 PM Re: Couldn't located my script using su.
Jose Offline
Seasoned Scripter
*****

Registered: 2001-04-04
Posts: 693
Loc: Buenos Aires - Argentina
You can get different weird errors using deam SU [Mad]
sealeopard is a champion!!! [Cool] ....have you tried his advice?
May be you can do it the classic way.
code:
SetL "$code"
SetL "SU_DOMAIN=$Domain"
SetL "SU_PASSWORD=$password"
Shell "%comspec% /c su $user"
Shell "%comspec% /c su $user -w"

Assuming you have installed SU in System32. Check Suss.exe service running. If not try.
code:
 suss.exe -install 

Good Luck!
_________________________
Life is fine.

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 1636 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.055 seconds in which 0.027 seconds were spent on a total of 12 queries. Zlib compression enabled.

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