loxia01 / PSInternetConnectionSharing

This PowerShell Module provides simple functions to control Windows Internet Connection Sharing (ICS) from command line.
45 stars 8 forks source link

Exception HRESULT: 0x80040201 #2

Closed ilwsm closed 3 years ago

ilwsm commented 3 years ago

image

Cant make ics. What the errors?

loxia01 commented 3 years ago

Hello, could you test if v1.01 works for you? https://github.com/loxia01/PSInternetConnectionSharing/releases/download/v1.01/PSInternetConnectionSharing.psm1

Replace your psm1 file with this.

loxia01 commented 3 years ago

It seems to be a known ICS error: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/e38d467e-5d0b-4338-8627-b960f3f9a847/systemruntimeinteropservicescomexception-0x80040201-when-setting-internet-connection-sharing?forum=windowsgeneraldevelopmentissues