I've run into this issue when helping other offices get into zen the 1st
time, or after e-dir merges, etc...
The big problem with running it from a novell login script is dealing with
local admin rights on the workstation.
zwsreg.exe requires admin equiv rights to do its thing, and hopefully your
users arn't local admins.
Few suggestions:
Autoit is great.. Here's a bit simpler of a tool you can use for what you
are trying to do:
http://www.ntwind.com/software/utilities/hstart.html
But this won't solve the admin rights issue you may have.
or
You can use this tool to 'wrap' your batch file command and give it admin
rights, and have the admin password
relatively secure (you can encrypt it,but it may not be the latest and
greatest encryption, but it does the job):
http://www.joeware.net/freetools/tools/cpau/index.htm
And finally.. This is what I used in the past to accomplish what your
trying to do..
Use the sysinternals "PsEXEC' tool to remotely run your batch file/tool.
You'll need to know the local admin password for the workstations (if it is
the same across your machiens, this makes it very easy).
You can get this tool here:
http://technet.microsoft.com/en-us/s.../bb897553.aspx
Wake up all your machines (WOL is wonderful!).
Let them boot up
Run PSexec on your workstation, and feed it a list of IP addresses for all
your machines, with the login and password, and the ZWSREG -unreg command
then do it again for registerign (probably a good idea to give it the server
ip address so you are sure it finds the correct import policy your using).
While you *can* put this in one batch file, you'll need to find a way to get
the batch file on to each machine. Won't work right if its on a server.
>>> On 10/15/2009 at 11:18 AM, in message
<DHJBm.18922$7G7.7689@kovat.provo.novell.com>, Craig
Wilson<craig_d_wilson@yahoo.com> wrote:
> I would just put all of the commands into one batch file.
> It should not be hard to find a "Sleep" or "Delay" shareware tool out
> there
> that pauses things.
>
> You may also want to look at AutoIt at http://hiddensoft.com
>
> Not much harder than batch files and you could set it up so its all
> hidden.
> The forums are great for showing ppl how to do stuff.
>
> Mind you, they will have no idea what ZENworks is, but you can just say
> I
> want to
>
> Run App1
> Wait X Seconds
> Run App2
> And I want it to be all hidden so users dont close anything.
>
> They should be able to hook you up.