Sitemap

Double-click this file and you are logged in to campus VPN without typing your AndrewID

3 min readMar 26, 2024
Press enter or click to view image in full size
Photo by David Lin on Unsplash

Because unlike the usual saved usernames password feature on your internet browser, Cisco AnyConnect Secure Mobility Client use its own browser when you hit the campus VPN and then requires you to manual type your username and password. Doing this frequently can be tedious and I would argue that typing it manually might even be more dangerous than saving on browser (it’s easier to trace people keyboard in the network. I have witness that myself with some old friends as a test)

This method is not originally made by me; I have to give credit to Pavel Eremin who I forked his project from on GitHub. I edited the script to fit the usage of anyone in CMU.

for those who is new to using VPN,

How to use the script?

You just need to download “CiscoVPN_CMU.vbs”, edit your Andrew ID and password. (& of course, have Cisco AnyConnect on your PC, but you probably already have it). You can use Notepad, WordPad, VS Code, or any text editor to edit the code. Save it.

When you double click the script, it should automatically do it all, from starting Cisco AnyConnect, click enter for you, type and tab all information and be done. You just let the code do the work, so don't click anything while that happens. The whole process is very fast.

edit the yellow part.

You do not have to know anything about VBScript, but if you insist, → VBScript — Wikipedia. I think it’s possible to go beyond this and let the Cisco AnyConnect run when your start Windows OS, but I don’t want to go there yet. Also, I should state here that, obviously, your edited script should be in a safe place of your computer. I take no responsibility whatsoever if something bad happens. You are likely to be a CMU student if you are reading this, so I believe in your intelligence.

--

--

Korawich Kavee
Korawich Kavee

Written by Korawich Kavee

{+Youtube} เขียนเกี่ยวกับคมนาคม การพัฒนาเมือง เมืองอัจฉริยะ ระบบขนส่ง โครงสร้างพื้นฐาน การสัญจรด้วยเท้าและจักรยาน GIS โยธา ผังเมือง เรียน/อยู่/เที่ยวต่างประเทศ

No responses yet