group policy

40 pts.
Tags:
Active Directory Users and Computers
Login scripts
Windows Server 2003
Windows Server Login Scripts
How can I define group policy to block port 25 in windows 2003 server when ever user is log in? I have heard it can be done using login script.
ASKED: June 1, 2010  5:25 AM
UPDATED: June 1, 2010  8:09 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You will need to utilize IPSec.

Note IPSeccmd.exe will run on Windows XP and Windows Server 2003 operating systems, but the tool is only available from the Windows XP SP2 Support Tools package.

Via a login script, you can execute the following command as an example:

(NOT TESTED)
IPSeccmd.exe -w REG -p “Block TCP 25 Filter” -r “Block Outbound TCP 25 Rule” -f 0=*:25:TCP -n BLOCK -x

Here’s Microsoft link which should point you in the right direction.

http://support.microsoft.com/kb/813878

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Pjb0222
    You can also set the IPSec policy in a GPO as a system policy. If there is a firewall in use on the server, you can explore using it. That will also be a system setting. The windows firewall is inbound only.
    3,310 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following