Cisco Systems Need help making a VPN client connection within Windows 2000 Scheduled Task

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Need help making a VPN client connection within Windows 2000 Scheduled Task Richard A. Wells 06-29-05
Posted by Richard A. Wells on June 29, 2005, 12:18 pm
Please log in for more thread options
Hi folks,

I have a batch procedure that invokes a certificate-secured
VPNclient.exe to make a connection, do some work, and then disconnect.
I need to make this work in a scheduled task.

The batch procedure works fine interactively.

It works fine in a scheduled task AS LONG AS I AM LOGGED IN
INTERACTIVELY.

It does NOT work as a scheduled task if I am not logged in.

It seems to me the issue is that the Scheduler process, running as
LocalSystem, does not have access to the appropriate certificate. Even
if I configure the Scheduled Task to RunAs my user account it doesn't
work: it seems this impersonation gets used for (e.g.) network access
but not for certificate store lookup.

I've tried using the Certificate Manager MMC to install the certificate
in different locations such as "Certificates (Local Computer)\Personal"
to no avail.

The client and the certificate setup were issued to me and are not
under my control. VPNclient.exe is version 4.0.3. Using a password
instead of a certificate is not an option.

Is there a way to make this work through configuration?

If not, is there a way to make this work programatically? I can resort
to using C++, C#, or VB(.NET) to program this, if someone can give me
some pointers as to what needs to be done.

Cheers,
Richard

-- Richard A. Wells, raw@raw.com
-- Reality And Wonder, http://www.raw.com/


Similar ThreadsPosted
Need help making a VPN client connection within Windows 2000 Scheduled Task June 29, 2005, 12:18 pm
Cisco VPN client software and Windows 2000 Server May 18, 2006, 1:59 am
Cisco 1603 and scheduled connection July 15, 2005, 1:35 pm
Windows 2000 + PIX + AD - changing passwords? December 7, 2005, 12:36 am
Open for Windows 2000 server VPN (1723) - HOW-TO May 26, 2007, 5:57 am
PIX 506e and Windows 2000 Server Domain Controller - best way to set up VPN May 5, 2006, 10:09 am
Cisco PIX woes with MS Cert Service on Windows 2000 August 25, 2006, 7:09 am
Cisco VPN Client and Widows 2000 server hassles May 20, 2006, 2:39 am
Whats with Cisco developing a Client for the iPhone before it has a Windows Client? July 16, 2008, 1:38 pm
Need help with a task on Cisco.com August 8, 2006, 3:58 pm
[flash Taturial] Cisco Scheduled Command September 2, 2007, 2:24 pm
VPN Client for Windows 5.01 April 16, 2008, 12:23 am
Windows X64 and VPN unity client March 12, 2006, 10:49 pm
VPN Client 5.0 on localized Windows XP August 29, 2007, 11:12 am
Problems with Cisco VPN Client 4.60 on windows XP 4H October 5, 2005, 4:49 pm