<?xml version="1.0" encoding="UTF-8"?>
  <feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html"><![CDATA[奚瑞 的博客]]></title>
  <subtitle type="html"><![CDATA[好好学习 天天向上！]]></subtitle>
  <id>http://www.5140.net/blog/</id>
  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/" /> 
  <link rel="self" type="application/atom+xml" href="http://www.5140.net/blog/atom.asp" /> 
  <generator uri="http://www.pjhome.net/" version="2.8">PJBlog3</generator> 
  <updated>2012-02-07T11:33:16+08:00</updated>

  <entry>
	  <title type="html"><![CDATA[限制Domain User将机器加入域]]></title>
	  <author>
		 <name>admin</name>
		 <uri>http://www.5140.net/blog/</uri>
		 <email>41949147@qq.com</email>
	  </author>
	  <category term="" scheme="http://www.5140.net/blog/default.asp?cateID=5" label="Windows" /> 
	  <updated>2012-02-07T11:33:16+08:00</updated>
	  <published>2012-02-07T11:33:16+08:00</published>
		  <summary type="html"><![CDATA[限制Domain User将机器加入域<br/><br/>【问答】加入域提示错误拒绝加入先在域控上添加计算机 然后在此计算机上用域成员加入域 提示错误 拒绝加入 用管理员用户就可以加入先添加计算机 只能用域管理员才可将此计算机加入域? <br/><br/>【回答】<br/>默认情况下域内的认证的用户（默认情况下就是域内的成员）都有权限将一台客户端加入到域的，但是默认情况下普通的user只有10次 机会将客户端计算机加入到域，一个帐户超过10次再尝试将客户端计算机加入域时，就会报错（是domain admins不受此限制）。<br/><br/>将客户端计算机加入域的权限设置可以通过组策略，使用默认域控制器[/url]策略－计算机配置－windows设置－安全设置－本地策略－用户权利分配域中添加工作站－选择定义这些组策略后就可以添加您希望那些账户有权利将客户端计算机加入到域<br/><br/>对于加入域账户的使用次数的修改您可以用过下面的步骤：<br/><br/>安装Windows Server 2000/2003 Support Tools. 您可以从下载Support Tools<br/>m<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=96a35011-fd83-419d-939b-9a772ea2df90" target="_blank" rel="external">http://www.microsoft.com/downloads/details.aspx?FamilyID=96a35011-fd83-419d-939b-9a772ea2df90</a>&amp;DisplayLang=en 2. 在开始运行中键入“adsiedit.msc”<br/>展开domain，找到DC＝XXX，DC＝XXX, <br/><br/>4. 右键属性，找到ms-DS-MachineAccountQuota 条目<br/><br/>5. 双击修改值<br/><br/>如果您只希望域中的某些用户有多次添加客户端计算机到域的权限，可以通过下面的步骤：<br/><br/>开始，运行 键入“Adsiedit.msc” 回车<br/><br/>2. 展开domain，找到DC＝domain，cn＝computers<br/><br/>右键属性，找到“安全”选项，“高级”<br/><br/>点击“添加”，然后选择，您希望授权的user或者group! <br/><br/>5. 选中该用户，编辑，在“应用到”选择“计算机对象”<br/><br/>在“computers的权限项目”中将“写入全部属性”“重设密码”勾选，确定退出<br/><br/><br/>这里是一篇与您的问题相关的文档，供您参阅<br/><br/>Domain Users Cannot Join Workstation o&#114; Server to a Domain：<a href="http://support.microsoft.com/kb/251335/en-us" target="_blank" rel="external">http://support.microsoft.com/kb/251335/en-us</a> <br/>使用组策略只是限制谁有权利添加客户端计算机到域，默认的次数还是10次（除非该帐号在domain admins组中不受次数限制），因此，如果您希望尽有某些用户有权利将客户端计算机加入到域，并且不受次数限制，您必须既要修改组策略来修改权限又要修改次数的限制。<br/><br/>例如：您希望出了域管理员之外，只有张三有权利将客户端计算机加入到域，那么需要在策略中将张三这个用户的名字添加进去，此时张三有权利添加客户酸计算机，但他仍只有10次，如果增加该次数的限制，您还需按照我上贴提供的方法来修改限制次数。<br/><br/> <br/><br/>方法：<br/>在DC上面安装Support Tools工具，开始--运行，输入“adsiedit.msc”，在弹出窗口中展开“Domain [xxxxxx]”，定位到“DC= xxxxx”，右键选择“属性”，在弹出的属性窗口中找到“ms-DS-MachineAccountQuota”，双击编辑将默认值“10”更改为“0”（默认情况所有用户都可以将10台计算机加入域），更改之后默认用户就没有权限进行将计算机加入域的操作，不影响域管理员将计算机加入域的操作。把10改成0后，普通的认证用户将不能加客户端入域，但domain admins组不受限制。<br/> <br/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/article.asp?id=208" /> 
	  <id>http://www.5140.net/blog/default.asp?id=208</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[免重启修改计算机名称]]></title>
	  <author>
		 <name>admin</name>
		 <uri>http://www.5140.net/blog/</uri>
		 <email>41949147@qq.com</email>
	  </author>
	  <category term="" scheme="http://www.5140.net/blog/default.asp?cateID=18" label="E语言" /> 
	  <updated>2012-02-06T20:33:49+08:00</updated>
	  <published>2012-02-06T20:33:49+08:00</published>
		  <summary type="html"><![CDATA[<div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code3219);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.5140.net/blog/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code3219><br/><br/>.版本 2<br/><br/>.子程序 _按钮1_被单击<br/><br/>.如果真 (写注册项 (4, “System\CurrentControlSet\Control\ComputerName\ActiveComputerName\ComputerName”, 编辑框1.内容) ＝ 真)<br/>&nbsp;&nbsp;&nbsp;&nbsp;.如果真 (写注册项 (4, “System\CurrentControlSet\Services\Tcpip\Parameters\NV Hostname”, 编辑框1.内容) ＝ 真)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.如果真 (写注册项 (4, “System\CurrentControlSet\Services\Tcpip\Parameters\Hostname”, 编辑框1.内容) ＝ 真)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;信息框 (“修改成功”, 0, )<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.如果真结束<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;.如果真结束<br/><br/><br/><br/>.如果真结束<br/><br/><br/><br/><br/></div></div>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/article.asp?id=207" /> 
	  <id>http://www.5140.net/blog/default.asp?id=207</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[卸载微软拼音输入法]]></title>
	  <author>
		 <name>admin</name>
		 <uri>http://www.5140.net/blog/</uri>
		 <email>41949147@qq.com</email>
	  </author>
	  <category term="" scheme="http://www.5140.net/blog/default.asp?cateID=5" label="Windows" /> 
	  <updated>2012-01-11T21:35:14+08:00</updated>
	  <published>2012-01-11T21:35:14+08:00</published>
		  <summary type="html"><![CDATA[ 开始 〉运行 中输入(或复制) <br/><br/>MsiExec.exe /X{90120000-0028-0804-0000-0000000FF1CE}]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/article.asp?id=206" /> 
	  <id>http://www.5140.net/blog/default.asp?id=206</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[时间格式化]]></title>
	  <author>
		 <name>admin</name>
		 <uri>http://www.5140.net/blog/</uri>
		 <email>41949147@qq.com</email>
	  </author>
	  <category term="" scheme="http://www.5140.net/blog/default.asp?cateID=18" label="E语言" /> 
	  <updated>2012-01-04T23:03:14+08:00</updated>
	  <published>2012-01-04T23:03:14+08:00</published>
		  <summary type="html"><![CDATA[<div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code15259);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.5140.net/blog/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code15259><br/><br/>.版本 2<br/>.支持库 RegEx<br/><br/>.程序集 窗口程序集1<br/><br/>.子程序 _时钟1_周期事件<br/><br/>标签1.标题 ＝ 时间格式化 (到文本 (取现行时间 ()))<br/><br/>.子程序 时间格式化, 文本型, ,mark<br/>.参数 时间文本, 文本型<br/>.局部变量 正则, 正则表达式<br/>.局部变量 文本, 文本型<br/><br/>正则.创建 (“(年)|(月)|(日)|(时)$|(分)$|(秒)|(时)|(分)”, )<br/>文本 ＝ 正则.替换 (时间文本, “(?1-)(?2-)(?3 )(?4\:00\:00)(?5\:00)(?7\:)(?8\:)”, 1, , 真, 真)<br/>正则.创建 (“(?&lt;!\d)\d(?!\d)”, )<br/>文本 ＝ 正则.替换 (文本, “0$&amp;”, 1, , 真, 真)<br/>返回 (文本)<br/><br/><br/></div></div>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/article.asp?id=205" /> 
	  <id>http://www.5140.net/blog/default.asp?id=205</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[IE最大化]]></title>
	  <author>
		 <name>admin</name>
		 <uri>http://www.5140.net/blog/</uri>
		 <email>41949147@qq.com</email>
	  </author>
	  <category term="" scheme="http://www.5140.net/blog/default.asp?cateID=5" label="Windows" /> 
	  <updated>2011-12-29T17:55:59+08:00</updated>
	  <published>2011-12-29T17:55:59+08:00</published>
		  <summary type="html"><![CDATA[<p>[Version]<br />
Signature=&quot;$CHICAGO$&quot;<br />
Provider=Rui</p>
<p>[DefaultInstall]<br />
; DelReg=新建 文本文档_DelReg<br />
AddReg=新建 文本文档_AddReg</p>
<p>[新建 文本文档_DelReg]</p>
<p>[新建 文本文档_AddReg]<br />
hkcu,&quot;Software\Microsoft\Internet Explorer\Main&quot;,&quot;Window_Placement&quot;,0x1,2c,00,00,00,02,00,00,00,03,00,00,00,ff,ff,ff,ff,ff,ff,\<br />
ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,00,00,00,00,00,00,00,00,04,04,00,00,0a,03,00,\<br />
00</p>
<p>hkcu,&quot;Software\Microsoft\Internet Explorer\Desktop\Old WorkAreas&quot;,&quot;OldWorkAreaRects&quot;,0x1,00,00,00,00,00,00,00,00,00,04,00,00,00,03,00,00</p>
<p>hkcu,&quot;Software\Microsoft\Internet Explorer\Document Windows&quot;,&quot;Maximized&quot;,,&quot;yes&quot;</p>
<p>[Strings]<br />
&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>保存为INF格式，安装即可。</p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/article.asp?id=203" /> 
	  <id>http://www.5140.net/blog/default.asp?id=203</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[AD客户端与DC通信端口]]></title>
	  <author>
		 <name>admin</name>
		 <uri>http://www.5140.net/blog/</uri>
		 <email>41949147@qq.com</email>
	  </author>
	  <category term="" scheme="http://www.5140.net/blog/default.asp?cateID=5" label="Windows" /> 
	  <updated>2011-11-26T11:34:13+08:00</updated>
	  <published>2011-11-26T11:34:13+08:00</published>
		  <summary type="html"><![CDATA[<h3 id="tocHeadRef">Windows NT</h3>
<p>
<script type="text/javascri&#112;t">
                loadTOCNode(2, 'moreinformation');
            </script>
In this environment, one side of the trust is a Windows NT 4.0 trust, or the trust was created by using the NetBIOS names.</p>
<div class="kb_nowrapper">
<div class="kb_nowrapper"><span class="kb_collapsetext_close">Collapse this table</span><span class="kb_expandtext">Expand this table</span></div>
<div class="kb_nowrapper">&nbsp;</div>
<table class="table" cellspacing="1">
    <tbody>
        <tr>
            <th>Client Port(s)</th>
            <th>Server Port</th>
            <th>Service</th>
        </tr>
        <tr>
            <td>137/UDP</td>
            <td>137/UDP</td>
            <td>NetBIOS Name</td>
        </tr>
        <tr>
            <td>138/UDP</td>
            <td>138/UDP</td>
            <td>NetBIOS Netlogon and Browsing</td>
        </tr>
        <tr>
            <td>1024-65535/TCP</td>
            <td>139/TCP</td>
            <td>NetBIOS Session</td>
        </tr>
        <tr>
            <td>1024-65535/TCP</td>
            <td>42/TCP</td>
            <td>WINS Replication</td>
        </tr>
    </tbody>
</table>
</div>
<div class="topOfPage"><a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;179442#top"><img alt="" src="http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif" />Back to the top</a></div>
<h3 id="tocHeadRef">Windows Server 2003 and Windows 2000 Server</h3>
<p>
<script type="text/javascri&#112;t">
                loadTOCNode(2, 'moreinformation');
            </script>
For a mixed-mode domain that uses either Windows NT domain controllers or legacy clients, trust relationships between Windows Server 2003-based domain controllers and Windows 2000 Server-based domain controllers may necessitate that all the ports for Windows NT that are listed in the previous table be opened in addition to the following ports.<br />
<br />
<b>Note</b> The two domain controllers are both in the same forest, or the two domain controllers are both in a separate forest. Also, the trusts in the forest are Windows Server 2003 trusts or later version trusts.</p>
<div class="kb_nowrapper">
<div class="kb_nowrapper"><span class="kb_collapsetext_close">Collapse this table</span><span class="kb_expandtext">Expand this table</span></div>
<div class="kb_nowrapper">&nbsp;</div>
<table class="table" cellspacing="1">
    <tbody>
        <tr>
            <th>Client Port(s)</th>
            <th>Server Port</th>
            <th>Service</th>
        </tr>
        <tr>
            <td>1024-65535/TCP</td>
            <td>135/TCP</td>
            <td>RPC</td>
        </tr>
        <tr>
            <td>1024-65535/TCP</td>
            <td>1024-65535/TCP</td>
            <td>LSA RPC Services (*)</td>
        </tr>
        <tr>
            <td>1024-65535/TCP/UDP</td>
            <td>389/TCP/UDP</td>
            <td>LDAP</td>
        </tr>
        <tr>
            <td>1024-65535/TCP</td>
            <td>636/TCP</td>
            <td>LDAP SSL</td>
        </tr>
        <tr>
            <td>1024-65535/TCP</td>
            <td>3268/TCP</td>
            <td>LDAP GC</td>
        </tr>
        <tr>
            <td>1024-65535/TCP</td>
            <td>3269/TCP</td>
            <td>LDAP GC SSL</td>
        </tr>
        <tr>
            <td>53,1024-65535/TCP/UDP</td>
            <td>53/TCP/UDP</td>
            <td>DNS</td>
        </tr>
        <tr>
            <td>1024-65535/TCP/UDP</td>
            <td>88/TCP/UDP</td>
            <td>Kerberos</td>
        </tr>
        <tr>
            <td>1024-65535/TCP</td>
            <td>445/TCP</td>
            <td>SMB</td>
        </tr>
    </tbody>
</table>
</div>
<p>(*) To define RPC server ports that are used by the LSA RPC services, see the &quot;Domain controllers and Active Directory&quot; section in the following Microsoft Knowledge Base article:</p>
<div class="indent"><a class="KBlink" href="http://support.microsoft.com/kb/832017">832017</a>&nbsp; <span class="pLink">(http://support.microsoft.com/kb/832017/ ) </span>Service overview and network port requirements for the Windows Server system</div>
<div class="topOfPage"><a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;179442#top"><img alt="" src="http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif" />Back to the top</a></div>
<h3 id="tocHeadRef">Windows Server 2008/Windows Server 2008 R2</h3>
<p>
<script type="text/javascri&#112;t">
                loadTOCNode(2, 'moreinformation');
            </script>
In a mixed-mode domain that consists of Windows Server 2003 domain controllers, Windows 2000 Server-based domain controllers, or legacy clients, the default dynamic port range is 1025 through 5000. Windows Server 2008 and Windows Server 2008 R2, in compliance with Internet Assigned Numbers Authority (IANA) recommendations, has increased the dynamic client port range for outgoing connections. The new default start port is 49152, and the default end port is 65535. Therefore, you must increase the RPC port range in your firewalls.</p>
<div class="kb_nowrapper">
<div class="kb_nowrapper"><span class="kb_collapsetext_close">Collapse this table</span><span class="kb_expandtext">Expand this table</span></div>
<div class="kb_nowrapper">&nbsp;</div>
<table class="table" cellspacing="1">
    <tbody>
        <tr>
            <th>Client Port(s)</th>
            <th>Server Port</th>
            <th>Service</th>
        </tr>
        <tr>
            <td>49152 -65535/UDP</td>
            <td>123/UDP</td>
            <td>W32Time</td>
        </tr>
        <tr>
            <td>49152 -65535/TCP</td>
            <td>135/TCP</td>
            <td>RPC-EPMAP</td>
        </tr>
        <tr>
            <td>49152 -65535/TCP</td>
            <td>138/UDP</td>
            <td>Netbios</td>
        </tr>
        <tr>
            <td>49152 -65535/TCP</td>
            <td>49152 -65535/TCP</td>
            <td>RPC</td>
        </tr>
        <tr>
            <td>49152 -65535/TCP/UDP</td>
            <td>389/TCP/UDP</td>
            <td>LDAP</td>
        </tr>
        <tr>
            <td>49152 -65535/TCP</td>
            <td>636/TCP</td>
            <td>LDAP SSL</td>
        </tr>
        <tr>
            <td>49152 -65535/TCP</td>
            <td>3268/TCP</td>
            <td>LDAP GC</td>
        </tr>
        <tr>
            <td>49152 -65535/TCP</td>
            <td>3269/TCP</td>
            <td>LDAP GC SSL</td>
        </tr>
        <tr>
            <td>53, 49152 -65535/TCP/UDP</td>
            <td>53/TCP/UDP</td>
            <td>DNS</td>
        </tr>
        <tr>
            <td>49152 -65535/TCP</td>
            <td>135, 49152 -65535/TCP</td>
            <td>RPC DNS</td>
        </tr>
        <tr>
            <td>49152 -65535/TCP/UDP</td>
            <td>88/TCP/UDP</td>
            <td>Kerberos</td>
        </tr>
        <tr>
            <td>49152 -65535/TCP/UDP</td>
            <td>445/NP-TCP/NP-UDP</td>
            <td>SAM/LSA</td>
        </tr>
    </tbody>
</table>
</div>
<p>For more information about the change in the dynamic port range in Windows Server 2008, click the following article number to view the article in the Microsoft Knowledge Base:</p>
<div class="indent"><a class="KBlink" href="http://support.microsoft.com/kb/929851">929851</a>&nbsp; <span class="pLink">(http://support.microsoft.com/kb/929851/ ) </span>The default dynamic port range for TCP/IP has changed in Windows Vista and in Windows Server 2008</div>
<p>For more information about this change, visit the Ask the Directory Services Team blog and read the following article:</p>
<div class="indent"><a href="http://blogs.technet.com/askds/archive/2007/08/24/dynamic-client-ports-in-windows-server-2008-and-windows-vista-or-how-i-learned-to-stop-worrying-and-love-the-iana.aspx">Dynamic Client Ports in Windows Server 2008 and Windows Vista </a><span class="pLink">(http://blogs.technet.com/askds/archive/2007/08/24/dynamic-client-ports-in-windows-server-2008-and-windows-vista-or-how-i-learned-to-stop-worrying-and-love-the-iana.aspx) </span></div>
<div class="topOfPage"><a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;179442#top"><img alt="" src="http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif" />Back to the top</a></div>
<h3 id="tocHeadRef">Active Directory</h3>
<p>
<script type="text/javascri&#112;t">
                loadTOCNode(2, 'moreinformation');
            </script>
For Active Directory to function correctly through a firewall, the Internet Control Message Protocol (ICMP) protocol must be allowed through the firewall from the clients to the domain controllers so that the clients can receive Group Policy information. <br />
<br />
ICMP is used to determine whether the link is a slow link or a fast link. ICMP is a legitimate protocol that Active Directory uses for Group Policy detection and for Maximum Transfer Unit (MTU) detection. The Windows Redirector also uses ICMP to verify that a server IP is resolved by the DNS service before a connection is made.<br />
<br />
If you want to minimize ICMP traffic, you can use the following sample firewall rule:</p>
<div class="indent">
<div class="kb_intextwrapper">
<div class="kb_intextbody">
<pre class="in_text">
&lt;any&gt; ICMP -&gt; DC IP addr = allow</pre>
</div>
</div>
</div>
<p><br />
Unlike the TCP protocol layer and the UDP protocol layer, ICMP does not have a port number. This is because ICMP is directly hosted by the IP layer.<br />
<br />
By default, Windows Server 2003 and Windows 2000 Server DNS servers use ephemeral client-side ports when they query other DNS servers. However, this behavior may be modified with a specific registry setting that is described in the following article in the Microsoft Knowledge Base:</p>
<div class="indent"><a class="KBlink" href="http://support.microsoft.com/kb/260186">260186</a>&nbsp; <span class="pLink">(http://support.microsoft.com/kb/260186/ ) </span>The SendPort DNS registry key does not work as expected</div>
<p><br />
For more information about Active Directory and firewall configuration, view the &quot;Active Directory in Networks Segmented by Firewalls&quot; Microsoft White Paper. To do this, visit the following Web site:</p>
<div class="indent"><span class="ll"><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c2ef3846-43f0-4caf-9767-a9166368434e&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=c2ef3846-43f0-4caf-9767-a9166368434e&amp;displaylang=en</a></span><span class="pLink"> (http://www.microsoft.com/downloads/details.aspx?FamilyID=c2ef3846-43f0-4caf-9767-a9166368434e&amp;displaylang=en) </span></div>
<p>Alternatively, you can establish a trust through the Point-to-Point Tunneling Protocol (PPTP) compulsory tunnel, and this will limit the number of ports that the firewall will need to open. For PPTP, the following ports must be enabled.</p>
<div class="kb_nowrapper">
<div class="kb_nowrapper"><span class="kb_collapsetext_close">Collapse this table</span><span class="kb_expandtext">Expand this table</span></div>
<div class="kb_nowrapper">&nbsp;</div>
<table class="table" cellspacing="1">
    <tbody>
        <tr>
            <th>Client Ports</th>
            <th>Server Port</th>
            <th>Protocol</th>
        </tr>
        <tr>
            <td>1024-65535/TCP</td>
            <td>1723/TCP</td>
            <td>PPTP</td>
        </tr>
    </tbody>
</table>
</div>
<p>In addition, you would have to enable IP PROTOCOL 47 (GRE).<br />
<br />
<b>Note</b> When you add permissions to a resource on a trusting domain for users in a trusted domain, there are some differences between the Windows 2000 and Windows NT 4.0 behavior. If the computer cannotdisplay a list of the remote domain's users:</p>
<ul>
    <li>Windows NT 4.0 tries to resolve manually-typed names by contacting the PDC for the remote user's domain (UDP 138). If that communication fails, a Windows NT 4.0-based computer contacts its own PDC, and then asks for resolution of the name.</li>
    <li>Windows 2000 and Windows Server 2003 also try to contact the remote user's PDC for resolution over UDP 138, but they do not rely on using their own PDC. Make sure that all Windows 2000-based member servers and Windows Server 2003-based member servers that will be granting access to resources have UDP 138 connectivity to the remote PDC.</li>
</ul>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/article.asp?id=202" /> 
	  <id>http://www.5140.net/blog/default.asp?id=202</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[通过注册表关闭Windows防火墙]]></title>
	  <author>
		 <name>admin</name>
		 <uri>http://www.5140.net/blog/</uri>
		 <email>41949147@qq.com</email>
	  </author>
	  <category term="" scheme="http://www.5140.net/blog/default.asp?cateID=5" label="Windows" /> 
	  <updated>2011-11-05T10:12:44+08:00</updated>
	  <published>2011-11-05T10:12:44+08:00</published>
		  <summary type="html"><![CDATA[1. 使用注册表关闭:<br/><br/>HKLM,&#34;System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile&#34;,&#34;EnableFirewall&#34;,0x00010001,1- EnableFirewall = 0 (0表示关闭 , 1表示打开, 缺省是打开的) HKLM,&#34;System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile&#34;,&#34;DoNotAllowExceptions&#34;,0x00010001,0 <br/>-DoNotAllowExceptions = 0(是否允许例外0 = Allow Exceptions (default), 1 = No Exceptions)<br/><br/>2. 使用netsh来设置 <br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;C:&gt;netsh <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;netsh&gt;Firewall<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;netsh firewall&gt; show state (to check the current status of firewall) netsh firewall&gt;set opmode [enable/disable] [enable/disable] Wh&#101;re first parameter is state of the firewall (enable=on, disable=off) and second parameter is whether you want to allow exceptions (enable=allow exceptions, disable=don’t allow exceptions). You can also specify interface and/or profile. Please use netsh shell help for details.netsh firewall&gt;set notifications [enable/disable]enable = notify when program is blocked, disable = do not notify when program is blocked You can also change ICMP settings, cr&#101;ate port openings and authorized application/service using the following netsh commands.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;netsh firewall&gt;set icmpsetting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (to change ICMP Settings)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;netsh firewall&gt;set service&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(to cr&#101;ate authorized applications)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;netsh firewall&gt;set portopening&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (to cr&#101;ate port openings)]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/article.asp?id=200" /> 
	  <id>http://www.5140.net/blog/default.asp?id=200</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[此文件中的某些文本格式可能已经更改，因为它已经超出最多允许的字体数。关闭其他文档再试一次可能有用]]></title>
	  <author>
		 <name>admin</name>
		 <uri>http://www.5140.net/blog/</uri>
		 <email>41949147@qq.com</email>
	  </author>
	  <category term="" scheme="http://www.5140.net/blog/default.asp?cateID=5" label="Windows" /> 
	  <updated>2011-10-01T08:29:29+08:00</updated>
	  <published>2011-10-01T08:29:29+08:00</published>
		  <summary type="html"><![CDATA[司最近总是出现这样两个毛病，都是关于excel表格的，一个是“本工作簿不能再使用其他新字体”，再一个就是：“此文件中的某些文本格式可能已经更改，因为它已经超出最多允许的字体数。关闭其他文档再试一次可能有用“。<br/><br/>分析可能的原因是:文档在中文下编辑,后来又在日语的系统(excel2007)中编辑保存后,再在中文的2003excel打开就这个提示,字面上分析是字体太多了,在excel中无法修改,通过修改注册表解决<br/><br/><span style="color:Red">InstallLanguage修改为409</span><br/><br/>[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\LanguageResources]<br/>&#34;InstallLanguage&#34;=dword:00000409<br/><br/>如果不会修改,下载我的附件,双击导入:<span id="down_350titd7it"></span><script language="javascript" type="text/javascript">doAjax('?action=Antidown&id=38&downurl=download%2Easp%3Fid%3D38&main=%E7%82%B9%E5%87%BB%E4%B8%8B%E8%BD%BD%E6%AD%A4%E6%96%87%E4%BB%B6','down_350titd7it');</script><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/article.asp?id=199" /> 
	  <id>http://www.5140.net/blog/default.asp?id=199</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[隐藏托盘图标]]></title>
	  <author>
		 <name>admin</name>
		 <uri>http://www.5140.net/blog/</uri>
		 <email>41949147@qq.com</email>
	  </author>
	  <category term="" scheme="http://www.5140.net/blog/default.asp?cateID=31" label="AutoIt" /> 
	  <updated>2011-07-13T21:47:14+08:00</updated>
	  <published>2011-07-13T21:47:14+08:00</published>
		  <summary type="html"><![CDATA[Opt(&#34;TrayIconHide&#34;,0) ;是否隐藏托盘 0 不隐藏 1 隐藏 <br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/article.asp?id=198" /> 
	  <id>http://www.5140.net/blog/default.asp?id=198</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[system state备份的是什么]]></title>
	  <author>
		 <name>admin</name>
		 <uri>http://www.5140.net/blog/</uri>
		 <email>41949147@qq.com</email>
	  </author>
	  <category term="" scheme="http://www.5140.net/blog/default.asp?cateID=5" label="Windows" /> 
	  <updated>2011-07-10T05:27:25+08:00</updated>
	  <published>2011-07-10T05:27:25+08:00</published>
		  <summary type="html"><![CDATA[System State<br/><br/>备份主要分为两大类，一个是用户的重要数据，再一个就是系统状态(System State)。Windows给我们提供了一个非常强大的备份工具，该程序在系统工具里，通过它我们就可以把整个系统的状态信息备份下来。系统状态比较大，最少要几百MB。 <br/><br/>u 系统状态信息包括： <br/><br/><br/>Ø 注册表 <br/><br/>Ø 启动文件 <br/><br/>Ø 重要的系统文件 （被应用WFP的系统文件） <br/><br/>Ø 证书服务数据库 （安装证书服务） <br/><br/>Ø 活动目录数据库 （安装活动目录） <br/><br/>Ø SYSVOL目录 （组策略模版，已安装活动目录） <br/><br/>Ø 群集服务信息 （配置群集服务器） <br/><br/>Ø IIS元数据。 （安装IIS） <br/><br/><br/>ü 强烈建议大家经常备份System State，以把灾难带来的损失减到最小。<br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.5140.net/blog/article.asp?id=197" /> 
	  <id>http://www.5140.net/blog/default.asp?id=197</id>
  </entry>	
		
</feed>

