DisableSharing gives me an access violation on Windows 10. I can manually disable ICS, and then restart the application to enable sharing. Just disabling gives me a memory error. If you need any further information please do let me know.