http://wiki.mcneel.com/zoo/zoo4netsh
Windows XP
Important If you are a member of the Administrators group, run the commands from a command prompt. To start a command prompt, find the icon or Start menu entry that you use to start a command prompt session.
rem Open UDP Ports 137 and 138 and TCP Port 139 netsh firewall add portopening UDP 137 "NetBIOS UDP Port 137" netsh firewall add portopening UDP 138 "NetBIOS UDP Port 138" netsh firewall add portopening TCP 139 "NetBIOS TCP Port 139"
http://technet.microsoft.com/en-us/library/99a5b6e9-8654-4802-8c9a-89f1c645faba
***กรณี httpcfg ตอ้งการจะได้ Httpcfg.exe ลองโหลด support tool มาไม่มี ตัวนี้
Httpcfg Examples
httpcfg ssl
This group of examples shows how to add, show, and delete a certificate in the SSL store.
Adding an SSL Certificate to the Store
In the following example, the user types the set ssl command, using the /i, /h, and /g parameters to specify the IP address, Thumbprint hash, and GUID, respectively, for the certificate being added.
httpcfg set ssl /i 10.0.0.1:80 /h 2c8bfddf59a4a51a2a5b6186c22473108295624d /g "{2bb50d9c-7f6a-4d6f-873d-5aee7fb43290}"
After running the command, Httpcfg displays the following text on the screen to confirm the command completed without an error (error code of 0).
HttpSetServiceConfiguration completed with 0.
Viewing Certificates in the SSL Store.
In this example, the user first types the query ssl command with the /i parameter, specifying an IP address in order to view the meta-information for a particular certificate. Following that, the user types query ssl without the /i paremeter, to view all certificates in the store.
httpcfg query ssl
IP : 10.0.0.13:80 Hash : 2c8bfddf59a4a51a2a5b6186c22473108295624d Guid : {2bb50d9c-7f6a-4d6f-873d-5aee7fb43290} CertStoreName : (null) CertCheckMode : 0 RevocationFreshnessTime : 0 UrlRetrievalTimeout : 0 SslCtlIdentifier : (null) SslCtlStoreName : (null) Flags : 0 ------------------------------------------------------------------------------ IP : 10.0.0.1:80 Hash : 2c8bfddf59a4a51a2a5b6186c22473108295624d Guid : {2bb50d9c-7f6a-4d6f-873d-5aee7fb43290} CertStoreName : (null) CertCheckMode : 0 RevocationFreshnessTime : 0 UrlRetrievalTimeout : 0 SslCtlIdentifier : (null) SslCtlStoreName : (null) Flags : 0 ------------------------------------------------------------------------------
Deleting a Certificate from the SSL Store.
In this example, the user types delete ssl with the required /i parameter to delete the associated certificate record from the SSL store.
httpcfg delete ssl /i 10.0.0.1:80
Httpcgf then displays the following text to the screen, verifying that the command completed successfully (error code of 0).
HttpDeleteServiceConfiguration completed with 0.
httpcfg urlacl
This group of examples show how to add, remove, and view URL ACL combinations in the urlacl store.
Adding a URL ACL combination to the urlacl store
httpcfg set urlacl /u http://woodgrovebank.com:443/ /a "O:DAG:DAD:(A;;GRGX;;;DA)(A;;GA;;;BA)"
HttpSetServiceConfiguration completed with 0.
Viewing all of the URLs that have been assigned an ACL.
httpcfg query urlacl
ไม่มีความคิดเห็น:
แสดงความคิดเห็น