General discussion

Locked

Run a program as a service on W2K server

By stuart_at_oz ·
Hi all

I am trying to find out if it is possible to run a program as a service under W2K server....

more specifically I am trying to run the Privoxy ad blocking proxy as a service - currently I have to log onto the server to get Privoxy to run (not a major point I know, but it annoys me enough to ask the question. Besides, I have plenty of points, so I might as well use 'em!)

Alternatively, I folk know a way to get W2K server to log on automatically that would be an acceptable method too

(the server is a standalone machine at home that acts as my firewall)

Thanks!

Stu

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by p.j.hutchison In reply to Run a program as a servic ...

There is a utility called srvany.exe to create a service.
See http://www.winnetmag.com/Article/ArticleID/7959/7959.html

Use Tweakui and select an account to auto. logon to Windows 2000. Avail from MS Downloads.

Collapse -

by stuart_at_oz In reply to

SVRVANY did the trick a treat!

I will also keep tweakui in mind for future use...

Thanks!

Stu

Collapse -

Stu,
If creating the service doesn't work out then here's how to do your second question.
Edit the registry and go to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon. If it is not already there, you will need to create a string value called AutoAdminLogon and give it a value of 1 (enabled). Then enter your login information for the sting values of DefaultUserName, DefaultDomainName and DefaultPassword. I also put the same information in AltDefaultUserName, AltDefaultDomainName and AltDefaultPassword. Hope this helps.
Thanks
Pete

Collapse -

by stuart_at_oz In reply to

Didn't end up using this method, but I'm sure as heck gonna write it down for future use!!

Thanks!

Stu

Collapse -

by stuart_at_oz In reply to Run a program as a servic ...

Wow, two good answers within hours of posting!

I had heard of SRVANY, but I didn't have the instructions correct by the looks. That will be my prefered option I think.

I should have thought of Tweak UI - I have used that under W98 once before.

I also like the 'AutoAdminLogon' keys in the registry - definately one to remember!

I will have a play this evening if I can (Australian time) and put some ratings up shortly!

Thanks!

Collapse -

by stuart_at_oz In reply to Run a program as a servic ...

Point value changed by question poster.

Collapse -

by stuart_at_oz In reply to Run a program as a servic ...

This question was closed by the author

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums