Created
April 30, 2025 03:18
-
-
Save GaryLee/3bd5a7ca47f98d189913f8179fac7a3d to your computer and use it in GitHub Desktop.
How to enable ICS on windows permanently?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM To enable ICS for interface. Set the ICS from following GUI: | |
REM Settings -> Network & Internet -> Open Network & Internet settings -> Change adapter options | |
REM -> Properties -> Sharing | |
REM -> Allow other network users to connect through this computer’s Internet connection. | |
REM After setting above option correctly, run following commands in the terminal with Administrator Privilege. | |
sc config SharedAccess start=auto | |
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\SharedAccess /v EnableRebootPersistConnection /t REG_DWORD /d 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment