Windows – How to Run Elevated Scripts as a Regular User with Task Scheduler -OR- How to Restart Services as a Standard User

Here is a neat workaround you can use in Windows to run a batch script or any other command that would regularly require elevated administrator credentials. Using this method, you can essentially bypass UAC and allow a script to be ran as a standard user without them having to enter in an admin password. In theory, you could probably even use this same approach to install software as a regular user if you wanted to. For my example below, I was able to allow a standard user to kill processes and then restart the services.

The problem that I had to overcome was that one of my VPN users who used Shrewsoft VPN client would occasionally get disconnected and then never be able to fully connect again. Oddly enough, the client would show connected on the user’s end and immediately disconnect but it never made a connection on the server side. The problem was that the “iked” process would get hung up and then the VPN client would subsequently never fully connect all the way. Continue reading “Windows – How to Run Elevated Scripts as a Regular User with Task Scheduler -OR- How to Restart Services as a Standard User”

Cisco VPN Client Won’t Connect on Windows 7 x64 via 3g Modem

It turns out there is no support for WWAN connections on the 64 bit Cisco VPN Client (version 5.0.07.0440-k9) so the client will connect but you can’t ping anything on the remote network and you will only see packets showing a bypassed status on the statistics page. Fortunately for some, you can resolve this issue by doing the following:
Continue reading “Cisco VPN Client Won’t Connect on Windows 7 x64 via 3g Modem”