Link to home
Start Free TrialLog in
Avatar of IT Guy
IT GuyFlag for United States of America

asked on

Need to make Cisco VPN client version 5.0.06.0160 launch before I logon to Windows so that I will be able to logon to my company's domain remotely

Need to make Cisco VPN client version 5.0.06.0160 launch before I logon to Windows 7 so that I will be able to logon to my company's domain remotely.

I haved already added runatlogon=1 line to the vpnclient.ini file. However, even with this line added, the Cisco VPN client still doesn't launch before I logon to Windows.

What can be done to make it so that the Cisco VPN client will launch before I logon to Windows 7 (by pressing CTRL ALT DEL)?

Here are the contents of the vpnclient.ini file:

[main]
ClientLanguage=
runatlogon=1
[GUI]
runatlogon=1
WindowWidth=600
WindowHeight=330
WindowX=483
WindowY=176
VisibleTab=0
ConnectionAttribute=0
AdvancedView=1
LogWindowWidth=0
LogWindowHeight=0
LogWindowX=0
LogWindowY=0
DefaultConnectionEntry=NetxVPNASA
Cisco-VPN.png
ASKER CERTIFIED SOLUTION
Avatar of BitsBytesandMore
BitsBytesandMore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IT Guy

ASKER

Does anyone know of any sort of work around that will make it so that the Cisco VPN client can be set to launch before the Windows logon screen appears?
Are you running Windows 7 Enterprise and Windows Server 2008 R2?  If so, you may wish to look into DirectAccess, a new feature in Windows 7.  

Unfortunately, outside of that, there seem to be no current solutions for connecting to a VPN before the log on in Windows 7.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of greg ward
if you want to log onto a windows machine that you have not logged onto befor and you have access to another account on the laptp (ie administrator) run this while connected to the vpn
in a dos box type
runas /user:domain\username "explorer /separate"
put in your password and it will cache a copy of your profile (can take a while if you have a large profile and slow link...)
when the explorer window opens you can log off and log on as yourself.
Also this will not work if your domain policy does not allow cached profiles.

Greg
Discovered today that the "Start Before Login" is not necessary when joining a remote Windows 7 system to a domain through a Cisco VPN client 5.0.7 connection.

1.  Logon to the Windows 7 system with a local administrator account.
2.  Open the Cisco VPN client, and connect to the VPN.
3.  Join the system to the domain, making sure to enter the domain name's FQDN, not netBIOS name--i.e., "mydomain.local", not "mydomain".
4.  Restart the system, and logon with local administrator account.
5.  Open the Cisco VPN client, and connect to the VPN.  You should then automatically be prompted to "Continue" or cancel the VPN connection.  Clicking "Continue" will automatically log you out without closing the VPN tunnel.
6.  Login with your domain account.

This worked flawlessly on two Windows 7 systems, fresh installs, whose only connection to the Windows 2008 R2 domain was through the Cisco VPN tunnel.
Avatar of gweeeep
gweeeep

if you want to log onto a windows machine that you have not logged onto befor and you have access to another account on the laptp (ie administrator) run this while connected to the vpn
in a dos box type
runas /user:domain\username "explorer /separate"
put in your password and it will cache a copy of your profile (can take a while if you have a large profile and slow link...)
when the explorer window opens you can log off and log on as yourself.
Also this will not work if your domain policy does not allow cached profiles.


totally worked for me, thanks man.  Main office in Perth, remote user in Melbourne - OMG what a save.  Mind you, I never had the explorer window pop up, even after 4 minutes of waiting.  It executed the command successfully after a moment and then returned to the dos prompt.  I ran it twice to be sure to be sure, logged off and back on as the remote user and all was well.