+ Post New Thread
Results 1 to 6 of 6
Network and Classroom Management Thread, Detecting/Disabling ICS in a Startup script in Technical; I was having a look why one of the teachers laptops at a primary school we support couldn't get on ...
  1. #1

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Detecting/Disabling ICS in a Startup script

    I was having a look why one of the teachers laptops at a primary school we support couldn't get on the network correctly. I did the usual checks for secure channel certificate errors, DNS, time etc. However none of these proved to be the problem. Actually the cause was that ICS was enabled!

    Does anyone have a script to detect and/or disable ICS at machine startup/user login? So I can prevent this sort of thing in future.

  2. #2
    greenfieldsupport's Avatar
    Join Date
    Mar 2007
    Location
    Newton Aycliffe, Durham
    Posts
    240
    Thank Post
    14
    Thanked 3 Times in 3 Posts
    Rep Power
    16
    Just stick in the logon script.

    NET STOP "Windows Firewall/Internet Connection Sharing (ICS)"

    crude but it'll work

    This is on a windows XP machine yes??

    It would be differnt if it was server.



    Hope this helps

  3. #3

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,785
    Thank Post
    3,292
    Thanked 1,054 Times in 975 Posts
    Rep Power
    365

    vbscript to disable ICS

    https://my.infotex.com/filemgmt_data/files/ICS.vbs

    Let us know how it goes and what you end up doing.

    Thanks
    Last edited by mac_shinobi; 6th February 2008 at 11:39 AM.

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Thanks everyone. I'll give it a go.

  5. #5

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,156
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    Quote Originally Posted by Geoff View Post
    I was having a look why one of the teachers laptops at a primary school we support couldn't get on the network correctly. I did the usual checks for secure channel certificate errors, DNS, time etc. However none of these proved to be the problem. Actually the cause was that ICS was enabled!

    Does anyone have a script to detect and/or disable ICS at machine startup/user login? So I can prevent this sort of thing in future.
    Is this running AD? If so, you can use a group policy - in the computer section, look for Windows Settings, Security Settings, System services and change the service type to disabled.

    Alternatively, you could use the sc command to disable the service (so you don't have to stop it each time)

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Infact, I found there's an even better way. In group policy go to:

    Computer Configuration\Administrative Templates\Network\Network Connections.

    Change the settings:

    Prohibit use of Internet Connection Sharing on your DNS domain network
    Prohibit installation and configuration of Network Bridge on your DNS domain network

    The beauty of this is that it still allows the teacher to use ICS at home (because the DNS domain network name is different).

SHARE:
+ Post New Thread

Similar Threads

  1. Detecting Mobile Phones for Exams
    By Disease in forum How do you do....it?
    Replies: 23
    Last Post: 13th December 2007, 05:19 AM
  2. HP 2800dtn Not detecting new ink carts
    By Dos_Box in forum Hardware
    Replies: 11
    Last Post: 31st August 2007, 11:10 PM
  3. RM CC3 Startup Script
    By randle in forum Windows
    Replies: 4
    Last Post: 30th July 2007, 02:56 PM
  4. Startup script time-out gotcha aargh!!
    By NetworkGeezer in forum Windows
    Replies: 7
    Last Post: 1st June 2006, 05:13 PM
  5. Loading .reg files in a startup script
    By Ric_ in forum Windows
    Replies: 7
    Last Post: 27th September 2005, 04:23 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •