Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. connect your-VPN-server-here
  2. your-username-here
  3. your-password-here
  4.  
  5. for /f "tokens=3 delims= " %%G in ('tasklist /FI "IMAGENAME eq tasklist.exe" /NH') do SET RDP_SESSION=%%G
  6. Rundll32.exe user32.dll, LockWorkStation
  7. tscon.exe %RDP_SESSION% /dest:console
  8. "C:Program Files (x86)CiscoCisco AnyConnect Secure Mobility Clientvpncli.exe" -s <connect.dat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement