Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I run the Datasocket server as service on an NT server

I am using Datasockets in a VB application and want to run the datasocket server on a central/server PC. I'd like to run the datasocket server on a NT or Win2k server without having to have a user logged in. Can I run it as service or does it need the GUI interaction?
Before I try to crash our server, has anyone tried the 'srvany' utility on the Microsoft NT Resource kit?
0 Kudos
Message 1 of 4
(6,191 Views)
I have looked at running the data socket server as a service and it looks like it needs the GUI for it to be active.

I added it as different types of services with different users but run into the same problem as you, it wont start until i actually log in.

I havent been able to find if there are any command line parameters i could pass to the server so that it could run silent. Normal parameters like /q -q /quiet -quiet etc seemed to have no effect.

Sorry but it looks like you will have to log in to an account of some description. Perhaps create a user that has no rights (aka guest) to get data socket running, then lock the machine rather than logging out.

Best Regards

Anthony Sims
National Instruments - UK
0 Kudos
Message 2 of 4
(6,191 Views)
Anthony,
Thanks for the response. While it's a solution it's not viable on our server where we may need to logon and perform admin operation which would mean logging off the 'guest' user and killing the datasocket server. I also wouldn't want to leave a user logged in on the server.
I think I'll have to get a low spec PC and configure it just for this datasocket serving application.
Do you know if NI have any plans to produce a service version of the datasocket server?
0 Kudos
Message 3 of 4
(6,191 Views)
I had a real dig about to see if i could find if R&D were planning something like that and turned up a blank. It seems quite a handy server to have as a service.

I will put in a product suggestion to similar effect and see what happens in the up and coming versions!

Anthony
NI-UK
0 Kudos
Message 4 of 4
(6,191 Views)