Page 2 of 2 <12
Topic Options
#76668 - 2003-09-27 01:04 AM Re: ADMIN install using Runas like SU... Scripted without console!!!
Paul_Berquam Offline
Hey THIS is FUN

Registered: 2000-08-02
Posts: 310
Loc: Sacramento, CA USA
I ran into a couple problems when I tried it initially. Are you getting any sort of message at all?

Try running the MAKEEXE_SANUR.cmd with console version to make sure it's processing correctly.

Is the CWTCPH06 a server name? If so you may want to prefix it with a \\ instead of a single.

You may also want to rename your 'administrator' user to something else so it can't be brute-forced so easily [Smile]
_________________________
He was a good little monkey and always very curious...

Top
#76669 - 2003-09-29 10:54 AM Re: ADMIN install using Runas like SU... Scripted without console!!!
ulro Offline
Fresh Scripter

Registered: 2003-09-25
Posts: 9
Loc: Denmark
Thank you for amwsering Paul_Berquam !

I ran into a couple problems when I tried it initially. Are you getting any sort of message at all?

But how due i run the MAKEEXE_SANUR.cmd with console version ??

i've prefix the server CWTCPH06 with a \\ in my .bat

Top
#76670 - 2003-09-29 10:59 AM Re: ADMIN install using Runas like SU... Scripted without console!!!
Paul_Berquam Offline
Hey THIS is FUN

Registered: 2000-08-02
Posts: 310
Loc: Sacramento, CA USA
To test it with the console you can just replace the wkixcrpt.exe with kixcrypt.exe in the .cmd file.

No errors after I sorted out my initial syntax issues (Due to the long file path since I was running it on my desktop).
_________________________
He was a good little monkey and always very curious...

Top
#76671 - 2003-09-29 11:22 AM Re: ADMIN install using Runas like SU... Scripted without console!!!
ulro Offline
Fresh Scripter

Registered: 2003-09-25
Posts: 9
Loc: Denmark
Hi agin

it seems to de running ok:

C:\kix>kixcrypt -f ".\WKIX32.EXE" -f ".\SANUR.EXE" -m "" -e """"%%KIXCRYPTDIR%%\
wkix32.exe""" """%%KIXCRYPTFILE%%""" $SANUR_PASSWORD=123456" ".\KASAI_SANUR.ki
x"
Crypting with KiXcrypt version 003.00b
KiXcrypt author: Richard Howarth (rhowarth@sgb.co.uk)

Encrypted file is ".\KASAI_SANUR.exe"

or ?

how come that i don't get the window showing admin-user and privilege.

@echo off
REM echo run MM6_11_d.exe

\\CWTCPH06\multimark\KIX_install\Wkix32.exe \\CWTCPH06\multimark\KIX_install\KASAI_SANUR_STARTER.kix

What am I doing wrong??

[ 29. September 2003, 15:05: Message edited by: ulro ]

Top
#76672 - 2003-09-29 02:19 PM Re: ADMIN install using Runas like SU... Scripted without console!!!
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Patrick,

Added to - Installing an Application as an Admin under the RunAS section.

One thing of notice in your original post, you list links like the following:

Sanur.exe (http://www.commandline.co.uk/sanur)

If you add a space after each parenthesis, you should get an active url -
Sanur.exe ( http://www.commandline.co.uk/sanur ), or you can type in the URL code by hand. [Wink]

Thanks,

Kent

[ 29. September 2003, 14:23: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#76673 - 2003-09-29 09:04 PM Re: ADMIN install using Runas like SU... Scripted without console!!!
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Kent,

thanks for the tip... I modified the post.
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#76674 - 2003-10-24 03:40 PM Re: ADMIN install using Runas like SU... Scripted without console!!!
Trish Offline
Fresh Scripter

Registered: 2002-07-09
Posts: 23
With the superstars on the forum:
>I have created the kasai_sanur.exe
>I run a batch file that runs the kasai_sanur_starter.kix
>I noted I required sanur.exe on the local PC.

If I log in as a Domain Admin and run the batch it works well.
>I receive my window Administrator (ADMIN)
>I receive my window from a locally created script and from the network script.

If I log in as a Domain User I don't receive my Admin window. Locally or from the network.
Note: Domain user has full rights to the local script.

Any thoughts to what I'm missing? Should I post my code? It's nearly the same as what you have posted under all other FAQ's.

My PC's are XP and I unfortunately still have a NT server base. No active directory.

Thanks.

Top
#76675 - 2003-10-25 02:27 PM Re: ADMIN install using Runas like SU... Scripted without console!!!
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
NEVER use a script that puts admin passwords in plain text into it! See the FAQ Forum for alternate options to install applications under an admin account.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 2 of 2 <12


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

Who's Online
1 registered (mole) and 598 anonymous users online.
Newest Members
Raoul, Timothy, Jojo67, MaikSimon, kvn317
17875 Registered Users

Generated in 0.058 seconds in which 0.024 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