Tuesday, April 05, 2005

NirCmd

A while back, I wrote about MyWebExPC. It's worked real well for me. I use it primarily to remotely access my parents' PC.

But (isn't there always a "but?"), now and then my parents' DSL connection drops. Even thought the DSL connection comes back up, the MyWebExPC connection won't reconnect. I entered a ticket to WebEx. Their response was:

I understand your concern and apologize for your inconvenience.

This issue is due to interruption in Internet connection on the remote computer. For MyWebEx PC Agent to run continuously, there should be an uninterrupted Internet connection on the remote computer.

If the Internet connection drops then you need to reconnect the MyWebEx PC Agent to MyWebEx PC server again on the remote computer by following these steps:

1. Click the remote access icon on your remote computer (located in on the bottom right hand of your screen down by the clock - the icon looks like two little balls connected by two lines).

2. Right click it, which will give you the option to "log in." Enter your user name and password and click Ok. If you then refresh the "my computers page" the machine will appear available and you should then be able to take control.

This will solve the issue.

If you need further assistance, please get back to us at your convenience.

Well, duh!

So off I went for my own solution. And I found one. NirSoft has a freeware program, nircmd.exe, that will let you stop and start a service with one command line. I used the following command to create a scheduled task:
at 04:00 /every:monday,tuesday,wednesday,thursday,friday,saturday,sunday nircmd.exe service restart atnthost
What this does is create a scheduled task that runs as the Administrator. It runs every day at 4:00 AM and stops and restarts the MyWebExPC service.

While the DSL connection hasn't failed since I set this up, this should fix it.

No comments: