rayman
(Fresh Scripter)
2009-06-24 04:36 PM
run as rights

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 \:\)


rayman
(Fresh Scripter)
2009-06-25 11:02 AM
Re: run as rights

Think I managed to get it running, testing.

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

Rayman \:\)


Mart
(KiX Supporter)
2009-06-25 11:15 AM
Re: run as rights

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.


rayman
(Fresh Scripter)
2009-06-25 11:33 AM
Re: run as rights

admin script ? is their a UDF written for this ?

Thanks,

Rayman \:\)


Mart
(KiX Supporter)
2009-06-25 11:54 AM
Re: run as rights

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
(KiX Supporter)
2009-06-25 11:55 AM
Re: run as rights

 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.


rayman
(Fresh Scripter)
2009-06-25 12:18 PM
Re: run as rights

Thanks \:\)