Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1058
  • Last Modified:

Enabling 'This connection uses the following items' under NIC properties

Hi
I am using logon script to add some windows firewall ports exception settings on my server 2003 ent edition domain like 'Netsh firewall add portopening tcp XXXX name1" to all my windows xp clients.  For some reason my clients play around with the NIC properties and uncheck 'client for microsoft networks' , 'File and printer sharing' etc What is the command to put into the logon script to enable or check these items which comes under the NIC properites 'This connection uses the following items:
Help
0
amanzoor
Asked:
amanzoor
  • 2
1 Solution
 
Rob WilliamsCommented:
You cannot control that ('client for microsoft networks' , 'File and printer sharing' etc) within a basic logon script, unless possibly with VBS, but you can control it to some degree with Group Policy. Also if the users were not admins of their workstations they should not be able to change NIC options.
User Configuration | Administrative templates | Network | Network connections | Prohibit Enabling/Disabling components of a LAN connection
(there are other similar policies in the same 'folder' you may want to look at)

You can also define the port exceptions within group policy if you like:
Computer configuration | administrative templates | network | network connections | domain Profile | Windows firewall: Define port exceptions
The nice thing about group policy is you can define different domain and standard firewall configurations. Standard are applied when the domain is not available, i.e on laptops when out of the office, and you do not want the port exceptions enabled.
0
 
amanzoorNetwork infrastructure AdminAuthor Commented:
Thanks Robwill
I will look into applying the group policy.  Thanks for your time.
0
 
Rob WilliamsCommented:
You are very welcome, thank you amanzoor. Good luck with it.
--Rob
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now