Gregory Orange schrieb:
Tomasz Chmielewski wrote:


actually, I was trying to replace srvany with something easier to start WPKG - so I think I'll use hints by Shenan Stanley.



Hi Tomasz,

Can you tell me what you mean by "something easier [than srvany]"? Also why you want to replace it - srvany seems pretty simple, and the wpkg howtos seem to Just Work. But if you're trying to replace it, I'm curious and wonder if I should consider it also.

currently, I was using srvany with windows 2000.

It has several drawbacks:
- you have to install new files (srvany, instsrv)
- you have to "register" a service, just to execute a script once
- it is hard to change it, once it's registered
- it is not that clear with whose credentials / permissions is that executed (at least for me - I have a rather *NIX background, where the whole administration seems just so much easier than in Windows) - you don't have additional benefits, like starting things other than WPKG easily

As now I'm deploying XP SP2s, I decided not to use srvany; scheduled task job seem to be a tool for it:

- easy install with just one command - I didn't check the syntax yet, but it'll look something like that:

schtasks /add WPKG /exec \\path\to\script.bat /user DOM\admin /pass secret

And then just add "cscript \\path\to\wpkg.js" in this "script.bat", and that's it.

And I can add other things (scripts) to script.bat, too, which wasn't possible with srvany.

--
Tomek


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to