Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- connect your-VPN-server-here
- your-username-here
- your-password-here
- for /f "tokens=3 delims= " %%G in ('tasklist /FI "IMAGENAME eq tasklist.exe" /NH') do SET RDP_SESSION=%%G
- Rundll32.exe user32.dll, LockWorkStation
- tscon.exe %RDP_SESSION% /dest:console
- "C:Program Files (x86)CiscoCisco AnyConnect Secure Mobility Clientvpncli.exe" -s <connect.dat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement