Quantcast
Channel: LANDESK User Community : Popular Discussions - Agent Deployment
Viewing all articles
Browse latest Browse all 3279

Restart Remote Control service during agent install

$
0
0

Hi all

 

I am using the method described in article http://community.landesk.com/support/docs/DOC-1072 to force devices to be in Gateway mode. These computers will never be inside a network, they will always be communicating via the Gateway.

 

The agents will be installed on these computers via a self-contained package downloaded from a website.

 

The instructions in the article mentioned above state "After the registry change is complete the LANDesk Remote Control Service will need to be started". Is it possible to add a restart (or a stop and start) command to the agent.ini file so that when the executable is built, this restart is included?

 

I am trying to avoid asking a user to stop and start the service manually.

 

I tried forcing a reboot in the Agent configuration but this does not seem to work with a self-contained executable agent install.

 

I also tried including the following in the agent.ini file but that did not work either:

 

Net Stop "LANDesk Remote Control Service"
ping 1.1.1.1 -n 1 -w 30000 > NUL
Net Start "LANDesk Remote Control Service"

 

Cam


Viewing all articles
Browse latest Browse all 3279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>