Script to start and stop Microsoft Direct Access when needed
With COVID-19 (Corona) the need to work from home/ remote is needed more then ever. We were lucky to have a decent setup in the company I work for to support over 350 users to work remote without any major issues.
Besides our trusty MAG we have Direct Access (DA) running for our users. Some users need to connect to certain customers their VPNs and it seems that these don't play nicely with DA.
So after some searching on how you can disable DA safely and keep it turned off when you would for example disconnect your network or other VPN I've created the below script.