Page 1 of 1 1
Topic Options
#194400 - 2009-06-24 04:36 PM run as rights
rayman Offline
Fresh Scripter

Registered: 2009-01-02
Posts: 13
I am trying to the get the following to run so it would unistall a novell client.

Run "\\servername\sys\public\novell\acu.exe /U:\\servername\sys\public\novell\NT-2k-XPuninstall.txt /D:no"

but i require it have run as rights before I can run the above command ? looked as runnas not too sure how the syntax would look ?

could i use a domain account or a local account only ?

Thanks,

Rayman \:\)


Edited by rayman (2009-06-24 04:42 PM)

Top
#194425 - 2009-06-25 11:02 AM Re: run as rights [Re: rayman]
rayman Offline
Fresh Scripter

Registered: 2009-01-02
Posts: 13
Think I managed to get it running, testing.

Can someone please explain what the tokenizing switch does with this command?

Rayman \:\)


Edited by rayman (2009-06-25 11:31 AM)

Top
#194427 - 2009-06-25 11:15 AM Re: run as rights [Re: rayman]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
Runas is tricky because the username and password are in plain text and therefore readable for all users.

Is there a possibility to run it as an admin script?

You can also set a scheduled task from an admin station on each remote computer. Scheduled tasks can run with alternate credentials without the users being bale to read it.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#194428 - 2009-06-25 11:33 AM Re: run as rights [Re: Mart]
rayman Offline
Fresh Scripter

Registered: 2009-01-02
Posts: 13
admin script ? is their a UDF written for this ?

Thanks,

Rayman \:\)

Top
#194429 - 2009-06-25 11:54 AM Re: run as rights [Re: rayman]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
No. An admin script is a script that an admin is running from his computer on one or more remote computers.

There are lots of posts on this board about Runas, Sanur and Runnas (not the double N on the last one) with lost of explanations and examples.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#194430 - 2009-06-25 11:55 AM Re: run as rights [Re: rayman]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4672
Loc: The Netherlands
 Originally Posted By: rayman
Think I managed to get it running, testing.

Can someone please explain what the tokenizing switch does with this command?

Rayman \:\)


Tokenizing encrypts your script so it is no longer readable as plain text. Still runas is not recommended to be used in scripts.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#194431 - 2009-06-25 12:18 PM Re: run as rights [Re: Mart]
rayman Offline
Fresh Scripter

Registered: 2009-01-02
Posts: 13
Thanks \:\)
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
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.055 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