Key Not Valid for Use in Specified State error installing Anyconnect

If you get this error upon trying to install Cisco Anyconnect:
Key Not Valid for Use in Specified State

Danish translation:
Nøglen er ikke gyldig for anvendelse i den angivne tilstand.

Do the following:

Move the folder RSA from

C:\Users\AppData\Roaming\Microsoft\Crypto\RSA to say C:\RSA (just in case there should be a need to restore it) then try installing again.
This folder appears to act as a cache and should be rebuilt automatically as required.

Source https://discussions.apple.com/thread/6514053

Windows 7: Windows update error

Windows update reports error 80071a91 in the Event log (system log)

1. Run (in an elevated cmd) “fsutil resource setautoreset true C:\ ” (change c: if your Windows is installed on another drive)

2.
a)      Press Windows Key + X, select control panel
b)      Change the ‘view by’ option on the top right to ‘Larger icons’
c)      Select the Troubleshooting option and click ‘view all’ on the left pane
d)      Run the ‘Windows update ‘troubleshooter.

3. Reboot PC

A request to allocate an ephemeral port number from the global UDP port space has failed due to all such ports being in use.

Problem:
Event 4266
A request to allocate an ephemeral port number from the global UDP port space has failed due to all such ports being in use.

Workaround:
Use netstat -anob
Look for several dnscache entries

Find PID number for the dnscache service:
tasklist /SVC|find /i “dns”

Kill the pid:
TASKKILL /PID <PID process number> /F

Remember to start the other serviecs used by that pid (as it is controlled by svchost.exe)

Allow PPTP traffic through ASA

Insert the following in the configuration:

class-map inspection_default
match default-inspection-traffic
!
policy-map global_policy
class inspection_default
inspect pptp
!
service-policy global_policy global